GET branch/products?branchId={branchId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BranchProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| branchId | globally unique identifier |
None. |
|
| branchName | string |
None. |
|
| matched | boolean |
None. |
|
| productId | globally unique identifier |
None. |
|
| isActive | boolean |
None. |
|
| price | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"branchId": "b3e9b07d-4f91-4d26-bbea-d96800057404",
"branchName": "sample string 1",
"matched": true,
"productId": "c5ae069c-8827-4bdb-b223-446f6e6978b1",
"isActive": true,
"price": 3.1
},
{
"branchId": "b3e9b07d-4f91-4d26-bbea-d96800057404",
"branchName": "sample string 1",
"matched": true,
"productId": "c5ae069c-8827-4bdb-b223-446f6e6978b1",
"isActive": true,
"price": 3.1
}
]
application/xml, text/xml
Sample:
<ArrayOfBranchProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Careby.Api.Models">
<BranchProduct>
<branchId>b3e9b07d-4f91-4d26-bbea-d96800057404</branchId>
<branchName>sample string 1</branchName>
<isActive>true</isActive>
<price>3.1</price>
<productId>c5ae069c-8827-4bdb-b223-446f6e6978b1</productId>
</BranchProduct>
<BranchProduct>
<branchId>b3e9b07d-4f91-4d26-bbea-d96800057404</branchId>
<branchName>sample string 1</branchName>
<isActive>true</isActive>
<price>3.1</price>
<productId>c5ae069c-8827-4bdb-b223-446f6e6978b1</productId>
</BranchProduct>
</ArrayOfBranchProduct>