PROD

Lists the branches the portal can display. Each one includes its address, phone numbers, zone and the number of published properties it has.

Resource information
AuthenticationRequired
HTTP methodGET
ResponseJSON
Version2

Resource URL

https://mapaprop.app/api/action/portal-v2/branches

Parameters

KeyTypeRequiredDescription
custIdintnoNarrows the list to the branches of one agency
seoUrlstringnoNarrows the list to the branch with that seoUrl
fromintnoOffset for pagination. Defaults to 0
sizeintnoNumber of results to return. Defaults to 50

Example request

GET /api/action/portal-v2/branches?custId=1019&size=2 HTTP/1.1
Host: mapaprop.app
Authorization: Bearer {access_token}

Response

ObjectFieldTypeDescription
ResponsetotalintTotal number of matching branches
ResponsebranchesArrayThe list
BranchbranchIdintBranch identifier
BranchnamestringBranch name
BranchseoUrlstringIts URL identifier — the one used by branches/{seoUrl}/properties
BranchmainbooleanWhether it is the head office
BranchpropertyCountintPublished properties belonging to that branch
Branchaddress · zip · locationstringLocation
Branchphone1 · phone2 · phone3 · mobile · phones · emailstringContact details
Branchzone0…zone2 and their *Descriptionint · stringThe zone, by level
BranchcustId · customerName · customerSeoUrlint · stringThe owning agency

Example response

{
    "total": 1,
    "branches": [
        {
            "branchId": 1,
            "name": "Casa Central",
            "seoUrl": "inmobiliaria-ciocale",
            "main": true,
            "propertyCount": 48,
            "customerSeoUrl": "ciocale-inmobiliaria",
            "zone1Description": "Capital Federal"
        }
    ]
}