POST api/BusinessProduct?TYPE={TYPE}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TYPE | string |
Required |
Body Parameters
RegNewProductNEw| Name | Description | Type | Additional information |
|---|---|---|---|
| PRODUCT_ID | string |
None. |
|
| PRODUCT_NAME | string |
None. |
|
| DISCOUNT | string |
None. |
|
| CAT_ID | string |
None. |
|
| PRODUCT_DESC | string |
None. |
|
| PRODUCT_DESC_E | string |
None. |
|
| SHOP_ID | string |
None. |
|
| PRODUCT_NAME_E | string |
None. |
|
| TASK | string |
None. |
|
| PRICE | string |
None. |
|
| SUBCAT_ID | string |
None. |
|
| PRODUCT_IMG | Collection of byte |
None. |
|
| PRODUCT_IMG1 | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"PRODUCT_ID": "sample string 1",
"PRODUCT_NAME": "sample string 2",
"DISCOUNT": "sample string 3",
"CAT_ID": "sample string 4",
"PRODUCT_DESC": "sample string 5",
"PRODUCT_DESC_E": "sample string 6",
"SHOP_ID": "sample string 7",
"PRODUCT_NAME_E": "sample string 8",
"TASK": "sample string 9",
"PRICE": "sample string 10",
"SUBCAT_ID": "sample string 11",
"PRODUCT_IMG": "QEA=",
"PRODUCT_IMG1": "QEA="
}
application/xml, text/xml
Sample:
<RegNewProductNEw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOnionFarming.Models"> <CAT_ID>sample string 4</CAT_ID> <DISCOUNT>sample string 3</DISCOUNT> <PRICE>sample string 10</PRICE> <PRODUCT_DESC>sample string 5</PRODUCT_DESC> <PRODUCT_DESC_E>sample string 6</PRODUCT_DESC_E> <PRODUCT_ID>sample string 1</PRODUCT_ID> <PRODUCT_IMG>QEA=</PRODUCT_IMG> <PRODUCT_IMG1>QEA=</PRODUCT_IMG1> <PRODUCT_NAME>sample string 2</PRODUCT_NAME> <PRODUCT_NAME_E>sample string 8</PRODUCT_NAME_E> <SHOP_ID>sample string 7</SHOP_ID> <SUBCAT_ID>sample string 11</SUBCAT_ID> <TASK>sample string 9</TASK> </RegNewProductNEw>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |