POST api/admin/ProductsApi/CreateNewProduct
Request Information
URI Parameters
None.
Body Parameters
CreateNewProductModelName | Description | Type | Additional information |
---|---|---|---|
VendorID | integer |
None. |
|
VendorName | string |
None. |
|
BrandID | integer |
None. |
|
BrandName | string |
None. |
|
StyleID | string |
None. |
|
StyleName | string |
None. |
|
ProcessStatus | boolean |
None. |
|
DuplicateConfirmed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "VendorID": 1, "VendorName": "sample string 2", "BrandID": 3, "BrandName": "sample string 4", "StyleID": "sample string 5", "StyleName": "sample string 6", "ProcessStatus": true, "DuplicateConfirmed": true }
application/xml, text/xml
Sample:
<CreateNewProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <BrandID>3</BrandID> <BrandName>sample string 4</BrandName> <DuplicateConfirmed>true</DuplicateConfirmed> <ProcessStatus>true</ProcessStatus> <StyleID>sample string 5</StyleID> <StyleName>sample string 6</StyleName> <VendorID>1</VendorID> <VendorName>sample string 2</VendorName> </CreateNewProductModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.