{ "uuid": "096a83a8-7b73-4120-8605-06e43399162e", "lastMigration": 29, "name": "Account API", "endpointPrefix": "t/vbc.prod/provisioning", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "0e59913e-8049-4fda-a957-5e94e39ccece", "documentation": "Get account data by ID", "method": "get", "endpoint": "api/accounts/:account_id", "responses": [ { "uuid": "84b0070f-7333-411c-b7e7-f04922da652c", "body": "{\n \"_embedded\": {\n \"data\": {\n \"address\": {\n \"address_1\": \"123 Example Street\",\n \"address_2\": \"Apt. 456\",\n \"city\": \"Holmdel\",\n \"country\": \"US\",\n \"postal_code\": \"07733\",\n \"state\": \"NJ\"\n },\n \"id\": 571700,\n \"name\": \"Vonage\",\n \"status\": \"ACTIVE\"\n }\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"last\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 100,\n \"total_items\": 100,\n \"total_pages\": 10\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "60bd9420-a9f6-4192-b222-c2f0f111bf38", "body": "", "latency": 0, "statusCode": 404, "label": "Account not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0b086fdc-ec60-40ab-a5ae-f9827f565852", "documentation": "Get account locations data by account ID", "method": "get", "endpoint": "api/accounts/:account_id/locations", "responses": [ { "uuid": "61004f98-d343-49a6-974a-e9da97bfc00b", "body": "{\n \"_embedded\": {\n \"data\": [\n {\n \"address\": {\n \"address_1\": \"123 Example Street\",\n \"address_2\": \"Apt. 456\",\n \"city\": \"Holmdel\",\n \"country\": \"US\",\n \"postal_code\": \"07733\",\n \"state\": \"NJ\",\n \"time_zone\": \"America/New York\"\n },\n \"id\": 327910,\n \"name\": \"Headquarters\"\n }\n ]\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"last\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 100,\n \"total_items\": 100,\n \"total_pages\": 10\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "ebf96176-38d8-48d8-be41-fa50782ff679", "documentation": "Get location data by account ID and location ID", "method": "get", "endpoint": "api/accounts/:account_id/locations/:location_id", "responses": [ { "uuid": "c6856ce7-a516-49cb-9646-7f426fc7b32e", "body": "{\n \"_embedded\": {\n \"data\": {\n \"address\": {\n \"address_1\": \"123 Example Street\",\n \"address_2\": \"Apt. 456\",\n \"city\": \"Holmdel\",\n \"country\": \"US\",\n \"postal_code\": \"07733\",\n \"state\": \"NJ\",\n \"time_zone\": \"America/New York\"\n },\n \"id\": 327910,\n \"name\": \"Headquarters\"\n }\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"last\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 100,\n \"total_items\": 100,\n \"total_pages\": 10\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e38717a-df3e-4f32-8420-42bbb890f598", "body": "", "latency": 0, "statusCode": 404, "label": "Location not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "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": "0e59913e-8049-4fda-a957-5e94e39ccece" }, { "type": "route", "uuid": "0b086fdc-ec60-40ab-a5ae-f9827f565852" }, { "type": "route", "uuid": "ebf96176-38d8-48d8-be41-fa50782ff679" } ] }