POST api/Helper/PRODUCT_OPTION_ADD
Request Information
URI Parameters
None.
Body Parameters
ZProductOptionAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| Name | string |
None. |
|
| Value | string |
None. |
|
| ShopID | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"Name": "sample string 2",
"Value": "sample string 3",
"ShopID": 4,
"CreatedBy": 5
}
application/xml, text/xml
Sample:
<ZProductOptionAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity"> <CreatedBy>5</CreatedBy> <Name>sample string 2</Name> <ProductID>1</ProductID> <ShopID>4</ShopID> <Value>sample string 3</Value> </ZProductOptionAddRequest>
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>