POST v6/api_1897/CancelOrder
Gönderilen siparişi mikroda kapatma işlemi yapar.
Request Information
URI Parameters
None.
Body Parameters
MikroOrderCancellationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | globally unique identifier |
None. |
|
| ClosingReason | string |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": "fd653aed-62a6-498a-9576-1a98e360096d",
"ClosingReason": "sample string 2",
"Comment": "sample string 3"
}
application/xml, text/xml
Sample:
<MikroOrderCancellationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.MIKRO.Models"> <ClosingReason>sample string 2</ClosingReason> <Comment>sample string 3</Comment> <OrderId>fd653aed-62a6-498a-9576-1a98e360096d</OrderId> </MikroOrderCancellationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessfull | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| StatusCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessfull": true,
"ErrorMessage": "sample string 2",
"StatusCode": 3
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.CommonModels"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessfull>true</IsSuccessfull> <StatusCode>3</StatusCode> </ResultModel>