POST v6/api_1897/ConvertOrderToInvoice

Gönderilen siparişi faturaya çevirir. Fatura için gereken seri numaraları sipGuid ile eşleştirilerek gönderilmelidir. Bu versiyonda parti lot desteklenmemektedir.

Request Information

URI Parameters

None.

Body Parameters

MikroConvertOrderToInvoiceCommand
NameDescriptionTypeAdditional information
EvrakSeri

string

None.

EvrakSira

integer

None.

create_user

byte

None.

SatirSeriler

Dictionary of globally unique identifier [key] and Collection of string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "EvrakSeri": "sample string 1",
  "EvrakSira": 2,
  "create_user": 64,
  "SatirSeriler": {
    "10867ce0-9913-4eb0-8144-85ca55612516": [
      "sample string 1",
      "sample string 2"
    ],
    "9ed5c6e5-689c-4d07-bfb5-56c56515db89": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<MikroConvertOrderToInvoiceCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.MIKRO.Models">
  <EvrakSeri>sample string 1</EvrakSeri>
  <EvrakSira>2</EvrakSira>
  <SatirSeriler xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfguidArrayOfstringox8ieOcg>
      <d2p1:Key>10867ce0-9913-4eb0-8144-85ca55612516</d2p1:Key>
      <d2p1:Value>
        <d2p1:string>sample string 1</d2p1:string>
        <d2p1:string>sample string 2</d2p1:string>
      </d2p1:Value>
    </d2p1:KeyValueOfguidArrayOfstringox8ieOcg>
    <d2p1:KeyValueOfguidArrayOfstringox8ieOcg>
      <d2p1:Key>9ed5c6e5-689c-4d07-bfb5-56c56515db89</d2p1:Key>
      <d2p1:Value>
        <d2p1:string>sample string 1</d2p1:string>
        <d2p1:string>sample string 2</d2p1:string>
      </d2p1:Value>
    </d2p1:KeyValueOfguidArrayOfstringox8ieOcg>
  </SatirSeriler>
  <create_user>64</create_user>
</MikroConvertOrderToInvoiceCommand>

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

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>