{ "uuid": "6f69033f-9b4f-4eca-9e52-8530b6f651a4", "lastMigration": 29, "name": "Local Services API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "b6af1358-a4c3-4eef-a398-92b7d17bd493", "documentation": "Get account reports containing aggregate account data of all linked GLS accounts. Caller needs to provide their manager customer id and the associated auth credential that allows them read permissions on their linked accounts.", "method": "get", "endpoint": "v1/accountReports:search", "responses": [ { "uuid": "d049051d-d025-4ef3-b2d3-6b76cca6e360", "body": "{\n \"accountReports\": [\n {\n \"accountId\": \"\",\n \"aggregatorInfo\": {\n \"aggregatorProviderId\": \"\"\n },\n \"averageFiveStarRating\": {{faker 'number.float'}},\n \"averageWeeklyBudget\": {{faker 'number.float'}},\n \"businessName\": \"\",\n \"currencyCode\": \"\",\n \"currentPeriodChargedLeads\": \"\",\n \"currentPeriodConnectedPhoneCalls\": \"\",\n \"currentPeriodPhoneCalls\": \"\",\n \"currentPeriodTotalCost\": {{faker 'number.float'}},\n \"impressionsLastTwoDays\": \"\",\n \"phoneLeadResponsiveness\": {{faker 'number.float'}},\n \"previousPeriodChargedLeads\": \"\",\n \"previousPeriodConnectedPhoneCalls\": \"\",\n \"previousPeriodPhoneCalls\": \"\",\n \"previousPeriodTotalCost\": {{faker 'number.float'}},\n \"totalReview\": {{faker 'number.int' max=99999}}\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a006ad0a-d040-4f26-8bf6-93edad45fcc7", "documentation": "Get detailed lead reports containing leads that have been received by all linked GLS accounts. Caller needs to provide their manager customer id and the associated auth credential that allows them read permissions on their linked accounts.", "method": "get", "endpoint": "v1/detailedLeadReports:search", "responses": [ { "uuid": "938b9fda-1bbd-471e-b462-220f8e01ddc5", "body": "{\n \"detailedLeadReports\": [\n {\n \"accountId\": \"\",\n \"aggregatorInfo\": {\n \"aggregatorProviderId\": \"\"\n },\n \"bookingLead\": {\n \"bookingAppointmentTimestamp\": \"\",\n \"consumerEmail\": \"\",\n \"consumerPhoneNumber\": \"\",\n \"customerName\": \"\",\n \"jobType\": \"\"\n },\n \"businessName\": \"\",\n \"chargeStatus\": \"{{oneOf (array 'CHARGE_STATUS_UNSPECIFIED' 'CHARGED' 'NOT_CHARGED')}}\",\n \"currencyCode\": \"\",\n \"disputeStatus\": \"\",\n \"geo\": \"\",\n \"leadCategory\": \"\",\n \"leadCreationTimestamp\": \"\",\n \"leadId\": \"\",\n \"leadPrice\": {{faker 'number.float'}},\n \"leadType\": \"{{oneOf (array 'LEAD_TYPE_UNSPECIFIED' 'MESSAGE' 'PHONE_CALL' 'BOOKING')}}\",\n \"messageLead\": {\n \"consumerPhoneNumber\": \"\",\n \"customerName\": \"\",\n \"jobType\": \"\",\n \"postalCode\": \"\"\n },\n \"phoneLead\": {\n \"chargedCallTimestamp\": \"\",\n \"chargedConnectedCallDurationSeconds\": \"\",\n \"consumerPhoneNumber\": \"\"\n },\n \"timezone\": {\n \"id\": \"\",\n \"version\": \"\"\n }\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "b6af1358-a4c3-4eef-a398-92b7d17bd493" }, { "type": "route", "uuid": "a006ad0a-d040-4f26-8bf6-93edad45fcc7" } ] }