Home / API Documentation

Get List Of All Branches by Postal Code

Method: GET api/v1/Setup/GetBranchesByPostlCode?companyId={companyId}&postalCode={postalCode}

Response Format:

application/json

Required Parameters Description Additional information
companyId

Define this parameter in the request URI.

postalCode

Define this parameter in the request URI.

application/json, text/json

Sample Response:
                        [
  {
    "BranchId": 1,
    "CompanyId": 2,
    "BranchName": "sample string 3",
    "CompanyName": "sample string 4",
    "DistrictName": "sample string 5",
    "RegionName": "sample string 6",
    "ContactId": 7,
    "StreetAddressId": 8
  },
  {
    "BranchId": 1,
    "CompanyId": 2,
    "BranchName": "sample string 3",
    "CompanyName": "sample string 4",
    "DistrictName": "sample string 5",
    "RegionName": "sample string 6",
    "ContactId": 7,
    "StreetAddressId": 8
  }
];