POST api/Product/ReviseProduct
Request Information
URI Parameters
None.
Body Parameters
Collection of Revision| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| UserId | integer |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ReviseQuantity | integer |
None. |
|
| SourceQuantity | integer |
None. |
|
| TransactionId | globally unique identifier |
None. |
|
| User | User |
None. |
|
| Product | Product |
None. |
|
| Transaction | Transaction |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSucces | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSucces": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRetail.Helpers"> <IsSucces>true</IsSucces> <Message>sample string 2</Message> </ResponseModel>