POST v6/api_1188/SiparisIptal

Request Information

URI Parameters

None.

Body Parameters

CommandModelOfDeleteOrders
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

DatabaseCode

string

None.

Items

Collection of DeleteOrders

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "DatabaseCode": "sample string 3",
  "Items": [
    {
      "SipGuid": "51a86d58-268a-4722-8083-129ffa92b893"
    },
    {
      "SipGuid": "51a86d58-268a-4722-8083-129ffa92b893"
    }
  ]
}

application/xml, text/xml

Sample:
<CommandModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.Commands">
  <DatabaseCode>sample string 3</DatabaseCode>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar">
    <d2p1:mdl_1188_Oralgaz_Entegrasyon.DeleteOrders>
      <d2p1:SipGuid>51a86d58-268a-4722-8083-129ffa92b893</d2p1:SipGuid>
    </d2p1:mdl_1188_Oralgaz_Entegrasyon.DeleteOrders>
    <d2p1:mdl_1188_Oralgaz_Entegrasyon.DeleteOrders>
      <d2p1:SipGuid>51a86d58-268a-4722-8083-129ffa92b893</d2p1:SipGuid>
    </d2p1:mdl_1188_Oralgaz_Entegrasyon.DeleteOrders>
  </Items>
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</CommandModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>

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 'CommandModel`1'.

Response Information

Resource Description

ResultModelOfDeleteOrders
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

ItemResults

Collection of ItemResultModelOfDeleteOrders

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "ItemResults": [
    {
      "IsSuccessfull": true,
      "ErrorMessage": "sample string 2",
      "Item": {
        "SipGuid": "78487e4e-96fc-4e0b-b7c1-2458c6aa0d1a"
      }
    },
    {
      "IsSuccessfull": true,
      "ErrorMessage": "sample string 2",
      "Item": {
        "SipGuid": "78487e4e-96fc-4e0b-b7c1-2458c6aa0d1a"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <ItemResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.ResultModels">
    <d2p1:ItemResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>
      <d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
      <d2p1:IsSuccessfull>true</d2p1:IsSuccessfull>
      <d2p1:Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar">
        <d4p1:SipGuid>78487e4e-96fc-4e0b-b7c1-2458c6aa0d1a</d4p1:SipGuid>
      </d2p1:Item>
    </d2p1:ItemResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>
    <d2p1:ItemResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>
      <d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
      <d2p1:IsSuccessfull>true</d2p1:IsSuccessfull>
      <d2p1:Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar">
        <d4p1:SipGuid>78487e4e-96fc-4e0b-b7c1-2458c6aa0d1a</d4p1:SipGuid>
      </d2p1:Item>
    </d2p1:ItemResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>
  </ItemResults>
</ResultModelOfmdl_1188_Oralgaz_Entegrasyon.DeleteOrdersd9aiAa1p>