POST api/Order/ApproveOrder
Request Information
URI Parameters
None.
Body Parameters
OrderToApproveViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | string |
Required |
|
| Observations | string |
None. |
|
| IsApproved | boolean |
None. |
|
| UserId | string |
None. |
|
| IsPreviousPayment | boolean |
None. |
|
| Amount | decimal number |
None. |
|
| CurrencyId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": "sample string 1",
"Observations": "sample string 2",
"IsApproved": true,
"UserId": "sample string 4",
"IsPreviousPayment": true,
"Amount": 6.0,
"CurrencyId": "sample string 7"
}
application/xml, text/xml
Sample:
<OrderToApproveViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tempo.Core.WebAPI.ViewModels.Trading.Order"> <Amount>6</Amount> <CurrencyId>sample string 7</CurrencyId> <IsApproved>true</IsApproved> <IsPreviousPayment>true</IsPreviousPayment> <Observations>sample string 2</Observations> <OrderId>sample string 1</OrderId> <UserId>sample string 4</UserId> </OrderToApproveViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.