POST v6/api_1897/CancelOrder

Gönderilen siparişi mikroda kapatma işlemi yapar.

Request Information

URI Parameters

None.

Body Parameters

MikroOrderCancellationRequest
NameDescriptionTypeAdditional information
OrderId

globally unique identifier

None.

ClosingReason

string

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": "810f7e8c-ab52-4411-94a5-f756a5e4c685",
  "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>810f7e8c-ab52-4411-94a5-f756a5e4c685</OrderId>
</MikroOrderCancellationRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MikroOrderCancellationRequest'.

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional 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>