POST api/SaleRProducts/SaveRequest
Request Information
URI Parameters
None.
Body Parameters
SaleRProductRequestAddDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
None. |
|
BoxId | integer |
None. |
|
Count | integer |
None. |
|
UserId | integer |
None. |
|
ProductCategoryId | integer |
None. |
|
CompanyId | integer |
None. |
|
ShopId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductId": 2, "BoxId": 3, "Count": 4, "UserId": 5, "ProductCategoryId": 6, "CompanyId": 7, "ShopId": 8 }
application/xml, text/xml
Sample:
<SaleRProductRequestAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <BoxId>3</BoxId> <CompanyId>7</CompanyId> <Count>4</Count> <Id>1</Id> <ProductCategoryId>6</ProductCategoryId> <ProductId>2</ProductId> <ShopId>8</ShopId> <UserId>5</UserId> </SaleRProductRequestAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": {} }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <Data /> <Message>sample string 2</Message> <Status>1</Status> </Response>