POST v6/api_1897/OrderCancellationDocument

Gönderilen parametrelere göre siparişi tüm satırlarıyla kapatır.

Request Information

URI Parameters

None.

Body Parameters

MikroOrderCancellationDocumentRequest
NameDescriptionTypeAdditional information
EvrakNoSeri

string

None.

EvrakNoSira

integer

None.

ClosingReason

string

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EvrakNoSeri": "sample string 1",
  "EvrakNoSira": 2,
  "ClosingReason": "sample string 3",
  "Comment": "sample string 4"
}

application/xml, text/xml

Sample:
<MikroOrderCancellationDocumentRequest 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 3</ClosingReason>
  <Comment>sample string 4</Comment>
  <EvrakNoSeri>sample string 1</EvrakNoSeri>
  <EvrakNoSira>2</EvrakNoSira>
</MikroOrderCancellationDocumentRequest>

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 'MikroOrderCancellationDocumentRequest'.

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>