Returns the contact card of a branch so it can be displayed next to a shared property — the case of a property that arrives through a network and is published with the details of the branch sharing it.
| Resource information | |
|---|---|
| Authentication | Required |
| HTTP method | GET |
| Response | JSON |
| Version | 2 |
Resource URL
https://mapaprop.app/api/action/portal-v2/properties/{propertyHash}/share-branch/{branchSeoUrl}
Parameters
| Key | Type | Required | Description |
|---|---|---|---|
| propertyHash | string | yes | In the path. The property hash |
| branchSeoUrl | string | yes | In the path. The branch seoUrl |
Response
Returns the branch card, or 404 when that branch cannot be shown for that property.
The result depends on your token scopes. A client holding the network scope receives only the branches of ITS network; one without that scope receives the first eligible branch. If yours is a brand portal, make sure your token carries the network scope or you will see branches from another.
Example request
GET /api/action/portal-v2/properties/{propertyHash}/share-branch/inmobiliaria-ciocale HTTP/1.1
Host: mapaprop.app
Authorization: Bearer {access_token}