List Branches
Use this API to fetch branch names and collector codes configured for the institute.
Endpoint
Section titled “Endpoint”GET /api/v1/integrations/erp/branchesRequest
Section titled “Request”curl -X GET 'https://[base_url]/api/v1/integrations/erp/branches' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <token>'Response
Section titled “Response”HTTP 200
{ "status": "success", "data": [ { "collector_code": "ed3ef2db524f", "name": "Institute Name, Branch 1" }, { "collector_code": "556f73287581", "name": "Institute Name, Branch 2" } ]}Response Data
Section titled “Response Data”| Attribute | Type | Description |
|---|---|---|
data[].collector_code | string | Branch code used in branch-specific API requests. |
data[].name | string | Branch display name. |