POST api/Order/CreateOrder
Request Information
URI Parameters
None.
Body Parameters
OrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| UserId | integer |
None. |
|
| LeadId | integer |
None. |
|
| Commission | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"UserId": 2,
"LeadId": 3,
"Commission": 4.0
}
application/xml, text/xml
Sample:
<OrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOS_N_TOW_API.Models"> <Amount>1</Amount> <Commission>4</Commission> <LeadId>3</LeadId> <UserId>2</UserId> </OrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.