curl --location -g --request GET 'https://.daftra.com/api2/branches' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"result": "string",
"code": 0,
"data": [
{
"Branch": {
"id": "string",
"code": "string",
"name": "string",
"phone1": "string",
"phone2": "string",
"working_hours": "string",
"description": "string",
"address1": "string",
"address2": "string",
"city": "string",
"state": "string",
"country_code": "string",
"admin_staff_id": "string",
"staff_id": "string",
"smtp_account_id": "string",
"status": "string",
"map_location": null,
"created": "string",
"modified": "string"
}
}
],
"pagination": {
"prev": null,
"next": null,
"page": 0,
"page_count": 0,
"total_results": 0
}
}