POST api/Inventory/InventoryReview/Create
Request Information
URI Parameters
None.
Body Parameters
InventoryReviewPostViewModelName | Description | Type | Additional information |
---|---|---|---|
ProductID | string |
None. |
|
Description | string |
None. |
|
Explanation | string |
None. |
|
Rating | integer |
None. |
Request Formats
application/xml, text/xml
Sample:
<InventoryReviewPostViewModel> <ProductID>sample string 1</ProductID> <Description>sample string 2</Description> <Explanation>sample string 3</Explanation> <Rating>4</Rating> </InventoryReviewPostViewModel>
application/json, text/json
Sample:
{ "ProductID": "sample string 1", "Description": "sample string 2", "Explanation": "sample string 3", "Rating": 4 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IInventoryReviewName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
InventoryID | integer |
None. |
|
RepID | integer |
None. |
|
CustomerID | integer |
None. |
|
Description | string |
None. |
|
Explanation | string |
None. |
|
Rating | integer |
None. |
|
Status | integer |
None. |
|
BackOfficeUserName | string |
None. |
|
SortOrder | integer |
None. |
Response Formats
application/xml, text/xml
Sample:
<InventoryReview> <ID>0</ID> <InventoryID>0</InventoryID> <RepID /> <CustomerID /> <Description /> <Explanation /> <Rating>0</Rating> <Status>0</Status> <BackOfficeUserName /> <SortOrder>0</SortOrder> <CreatedBy /> <DateCreated>01/01/0001 00:00:00</DateCreated> <LastModifiedBy /> <DateLastModified /> </InventoryReview>
application/json, text/json
Sample:
{ "ID": 0, "InventoryID": 0, "Rating": 0, "Status": 0, "SortOrder": 0, "DateCreated": "0001-01-01T00:00:00" }