POST api/Helper/PRODUCT_EDIT
Request Information
URI Parameters
None.
Body Parameters
ZProductEditRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ProductGroupID | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| PricesSell | integer |
None. |
|
| Weight | decimal number |
None. |
|
| Size | string |
None. |
|
| Description | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| ShopID | integer |
None. |
|
| Unit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ProductGroupID": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"PricesSell": 5,
"Weight": 6.1,
"Size": "sample string 7",
"Description": "sample string 8",
"UpdatedBy": 9,
"ShopID": 10,
"Unit": 11
}
application/xml, text/xml
Sample:
<ZProductEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity"> <Code>sample string 3</Code> <Description>sample string 8</Description> <ID>1</ID> <Name>sample string 4</Name> <PricesSell>5</PricesSell> <ProductGroupID>2</ProductGroupID> <ShopID>10</ShopID> <Size>sample string 7</Size> <Unit>11</Unit> <UpdatedBy>9</UpdatedBy> <Weight>6.1</Weight> </ZProductEditRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>