PRODUCTION

This service will return the list of branch locations of the customer.

Resource information
Authentication Required
HTTP Method GET
Response JSON
Version 1

Resource URL

<https://mapaprop.app/api/action/express-v1/branches>

Sample code

GET /api/action/express-v1/branches HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

A JSON document with the list of branch locations of the customer

Object Field Type Required Description
Response branches Array of Branch yes The list of Branch objects
Branch name string yes The name of the branch
address string yes The address of the branch
zone0Description string yes The country where the branch is located
zone1Description string yes The state / province the branch is located
zone2Description string yes The county the branch is located / neighborhood in some cases
zone3Description string no The city the branch is located
zip string yes The zip code of the branch
phone1 string yes A phone number of the branch
phone2 string no An alternative phone number for the branch
phone3 string no An alternative phone number for the branch
email string yes The email of the branch

Sample response

{
    "branches": [
        {
            "zone0Description": "Argentina",
            "zone1Description": "Capital Federal",
            "zone2Description": "Recoleta",
            "address": "Jonte 3939",
            "zip": "1425",
            "branchId": "1798",
            "main": true,
            "phone1": "+54 11 2344-9239",
            "name": "Sucursal Principal",
            "email": "[email protected]"
        },
        {
            "zone0Description": "Argentina",
            "zone1Description": "Capital Federal",
            "zone2Description": "Palermo",
            "address": "Av Santa Fe 393",
            "zip": "1425",
            "branchId": "2703",
            "main": false,
            "phone1": "+54 11 2323 3343",
            "name": "Sucursal 2",
            "email": "[email protected]"
        },
        {
            "zone0Description": "Argentina",
            "zone1Description": "Buenos Aires",
            "zone2Description": "San Miguel",
            "zone2Description": "Bella Vista",
            "address": "Sourdeaux 393",
            "zip": "1445",
            "branchId": "2703",
            "main": false,
            "phone1": "+54 11 6666 3343",
            "name": "Sucursal 3",
            "email": "[email protected]"
        }
    ]
}