POST api/Helper/PRODUCT_GROUP_LIST
Request Information
URI Parameters
None.
Body Parameters
ZProductGroupListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Name | string |
None. |
|
| ShopID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Name": "sample string 2",
"ShopID": 3
}
application/xml, text/xml
Sample:
<ZProductGroupListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity"> <Code>sample string 1</Code> <Name>sample string 2</Name> <ShopID>3</ShopID> </ZProductGroupListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ZProductGroupListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| CreatedBy | integer |
None. |
|
| EmployeeName | string |
None. |
|
| ShopName | string |
None. |
|
| CreatedDate | string |
None. |
|
| CountProduct | integer |
None. |
|
| TotalPriceProduct | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"CreatedBy": 5,
"EmployeeName": "sample string 6",
"ShopName": "sample string 7",
"CreatedDate": "sample string 8",
"CountProduct": 9,
"TotalPriceProduct": 10.1
},
{
"ID": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"CreatedBy": 5,
"EmployeeName": "sample string 6",
"ShopName": "sample string 7",
"CreatedDate": "sample string 8",
"CountProduct": 9,
"TotalPriceProduct": 10.1
}
]
application/xml, text/xml
Sample:
<ArrayOfZProductGroupListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
<ZProductGroupListResponse>
<Code>sample string 2</Code>
<CountProduct>9</CountProduct>
<CreatedBy>5</CreatedBy>
<CreatedDate>sample string 8</CreatedDate>
<Description>sample string 4</Description>
<EmployeeName>sample string 6</EmployeeName>
<ID>1</ID>
<Name>sample string 3</Name>
<ShopName>sample string 7</ShopName>
<TotalPriceProduct>10.1</TotalPriceProduct>
</ZProductGroupListResponse>
<ZProductGroupListResponse>
<Code>sample string 2</Code>
<CountProduct>9</CountProduct>
<CreatedBy>5</CreatedBy>
<CreatedDate>sample string 8</CreatedDate>
<Description>sample string 4</Description>
<EmployeeName>sample string 6</EmployeeName>
<ID>1</ID>
<Name>sample string 3</Name>
<ShopName>sample string 7</ShopName>
<TotalPriceProduct>10.1</TotalPriceProduct>
</ZProductGroupListResponse>
</ArrayOfZProductGroupListResponse>