POST api/Software/NewOrder
Request Information
URI Parameters
None.
Body Parameters
NewOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| IdSoftwareLock | integer |
None. |
|
| IdProduct | integer |
None. |
|
| IdResultState | byte |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"IdSoftwareLock": 2,
"IdProduct": 3,
"IdResultState": 64,
"Quantity": 5.0,
"UnitPrice": 6.0,
"Comment": "sample string 7"
}
text/xml
Sample:
<NewOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZhaniyaClub.Models"> <Comment>sample string 7</Comment> <IdProduct>3</IdProduct> <IdResultState>64</IdResultState> <IdSoftwareLock>2</IdSoftwareLock> <Quantity>5</Quantity> <UnitPrice>6</UnitPrice> <UserId>1</UserId> </NewOrderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>