GET product/locker?branchId={branchId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| masterId | globally unique identifier |
None. |
|
| branchId | globally unique identifier |
None. |
|
| branchName | string |
None. |
|
| code | string |
None. |
|
| name | string |
None. |
|
| imageBase64 | string |
None. |
|
| imageId | globally unique identifier |
None. |
|
| imageUrl | string |
None. |
|
| subTitle | string |
None. |
|
| type | integer |
None. |
|
| allBranch | boolean |
None. |
|
| groupId | globally unique identifier |
None. |
|
| groupName | string |
None. |
|
| price | decimal number |
None. |
|
| order | integer |
None. |
|
| note | string |
None. |
|
| prices | Collection of ProductPrice |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "5a6a6546-bb04-4aac-b7f6-1d4de8836244",
"masterId": "c5d57473-7e1b-4481-85af-6158df223e00",
"branchId": "cab624a0-6ad4-4798-8cf6-6fbe14b6b583",
"branchName": "sample string 1",
"code": "sample string 2",
"name": "sample string 3",
"imageBase64": "sample string 4",
"imageId": "ce7fd637-d81b-43a8-9025-c23f155a5a78",
"imageUrl": "sample string 5",
"subTitle": "sample string 6",
"type": 7,
"allBranch": true,
"groupId": "65ef8de3-aed8-4188-9ea3-046113c9481b",
"groupName": "sample string 9",
"price": 10.1,
"order": 11,
"note": "sample string 12",
"prices": [
{
"id": "fe8b3b96-3b6a-4cae-a226-fdb5069fe65c",
"productId": "d3e4f209-8505-45d0-a798-7f857578df3c",
"isStudent": true,
"name": "sample string 2",
"type": 3,
"month": 4,
"day": 5,
"price": 6.1,
"limitPrice": 7.1,
"note": "sample string 8",
"appVisible": true
},
{
"id": "fe8b3b96-3b6a-4cae-a226-fdb5069fe65c",
"productId": "d3e4f209-8505-45d0-a798-7f857578df3c",
"isStudent": true,
"name": "sample string 2",
"type": 3,
"month": 4,
"day": 5,
"price": 6.1,
"limitPrice": 7.1,
"note": "sample string 8",
"appVisible": true
}
]
}
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Careby.Api.Models">
<allBranch>true</allBranch>
<branchId>cab624a0-6ad4-4798-8cf6-6fbe14b6b583</branchId>
<branchName>sample string 1</branchName>
<code>sample string 2</code>
<groupId>65ef8de3-aed8-4188-9ea3-046113c9481b</groupId>
<groupName>sample string 9</groupName>
<id>5a6a6546-bb04-4aac-b7f6-1d4de8836244</id>
<imageBase64>sample string 4</imageBase64>
<imageId>ce7fd637-d81b-43a8-9025-c23f155a5a78</imageId>
<imageUrl>sample string 5</imageUrl>
<masterId>c5d57473-7e1b-4481-85af-6158df223e00</masterId>
<name>sample string 3</name>
<note>sample string 12</note>
<order>11</order>
<price>10.1</price>
<prices>
<ProductPrice>
<appVisible>true</appVisible>
<day>5</day>
<id>fe8b3b96-3b6a-4cae-a226-fdb5069fe65c</id>
<isStudent>true</isStudent>
<limitPrice>7.1</limitPrice>
<month>4</month>
<name>sample string 2</name>
<note>sample string 8</note>
<price>6.1</price>
<productId>d3e4f209-8505-45d0-a798-7f857578df3c</productId>
<type>3</type>
</ProductPrice>
<ProductPrice>
<appVisible>true</appVisible>
<day>5</day>
<id>fe8b3b96-3b6a-4cae-a226-fdb5069fe65c</id>
<isStudent>true</isStudent>
<limitPrice>7.1</limitPrice>
<month>4</month>
<name>sample string 2</name>
<note>sample string 8</note>
<price>6.1</price>
<productId>d3e4f209-8505-45d0-a798-7f857578df3c</productId>
<type>3</type>
</ProductPrice>
</prices>
<subTitle>sample string 6</subTitle>
<type>7</type>
</Product>