GET product/branches?productId={productId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId | 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": "36bd7a41-0726-4227-8776-8c5fe5cd822e",
"branchName": "sample string 1",
"matched": true,
"productId": "6c294ffc-ad96-47ab-98a6-ec1c15f11135",
"isActive": true,
"price": 3.1
},
{
"branchId": "36bd7a41-0726-4227-8776-8c5fe5cd822e",
"branchName": "sample string 1",
"matched": true,
"productId": "6c294ffc-ad96-47ab-98a6-ec1c15f11135",
"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>36bd7a41-0726-4227-8776-8c5fe5cd822e</branchId>
<branchName>sample string 1</branchName>
<isActive>true</isActive>
<price>3.1</price>
<productId>6c294ffc-ad96-47ab-98a6-ec1c15f11135</productId>
</BranchProduct>
<BranchProduct>
<branchId>36bd7a41-0726-4227-8776-8c5fe5cd822e</branchId>
<branchName>sample string 1</branchName>
<isActive>true</isActive>
<price>3.1</price>
<productId>6c294ffc-ad96-47ab-98a6-ec1c15f11135</productId>
</BranchProduct>
</ArrayOfBranchProduct>