POST v6/api_PamukkaleAktarim/CreateInvoice

Request Information

URI Parameters

None.

Body Parameters

Invoice
NameDescriptionTypeAdditional information
warehouse_id

integer

None.

check_id

string

None.

check_date

date

None.

check_status

byte

None.

check_cancel_reason

string

None.

check_update_date

date

None.

customer_name

string

None.

customer_id

string

None.

customer_tck

string

None.

customer_type

integer

None.

customer_vkn

string

None.

customer_vkd

string

None.

table_no

string

None.

check_total

decimal number

None.

check_discount

decimal number

None.

products

Collection of Products

None.

payments

Collection of Payments

None.

Request Formats

application/json, text/json

Sample:
{
  "warehouse_id": 1,
  "check_id": "sample string 2",
  "check_date": "2025-12-06T07:34:24.4646809+03:00",
  "check_status": 64,
  "check_cancel_reason": "sample string 5",
  "check_update_date": "2025-12-06T07:34:24.4646809+03:00",
  "customer_name": "sample string 7",
  "customer_id": "sample string 8",
  "customer_tck": "sample string 9",
  "customer_type": 1,
  "customer_vkn": "sample string 10",
  "customer_vkd": "sample string 11",
  "table_no": "sample string 12",
  "check_total": 13.1,
  "check_discount": 14.1,
  "products": [
    {
      "product_id": "sample string 1",
      "product_barcode": "sample string 2",
      "product_sku": "sample string 3",
      "product_name": "sample string 4",
      "product_category_id": "sample string 5",
      "product_category_name": "sample string 6",
      "product_quantity": "sample string 7",
      "product_unit": 8,
      "product_weight": 9.1,
      "product_order_status": 64,
      "product_order_price": 11.1,
      "product_order_tax": "sample string 12",
      "product_order_discount": 13.1,
      "product_order_date": "2025-12-06T07:34:24.4687057+03:00",
      "product_cancel_reason": "sample string 15",
      "product_cancel_date": "2025-12-06T07:34:24.4687057+03:00"
    },
    {
      "product_id": "sample string 1",
      "product_barcode": "sample string 2",
      "product_sku": "sample string 3",
      "product_name": "sample string 4",
      "product_category_id": "sample string 5",
      "product_category_name": "sample string 6",
      "product_quantity": "sample string 7",
      "product_unit": 8,
      "product_weight": 9.1,
      "product_order_status": 64,
      "product_order_price": 11.1,
      "product_order_tax": "sample string 12",
      "product_order_discount": 13.1,
      "product_order_date": "2025-12-06T07:34:24.4687057+03:00",
      "product_cancel_reason": "sample string 15",
      "product_cancel_date": "2025-12-06T07:34:24.4687057+03:00"
    }
  ],
  "payments": [
    {
      "payment_type": 64,
      "payment_type_ifother": "sample string 1",
      "payment_type_ifother_name": "sample string 2",
      "payment_date": "2025-12-06T07:34:24.4687057+03:00",
      "payment_amount": 1.1
    },
    {
      "payment_type": 64,
      "payment_type_ifother": "sample string 1",
      "payment_type_ifother_name": "sample string 2",
      "payment_date": "2025-12-06T07:34:24.4687057+03:00",
      "payment_amount": 1.1
    }
  ]
}

application/xml, text/xml

Sample:
<mdl_1415_PamukkaleSiparisAktarim.Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar">
  <check_cancel_reason>sample string 5</check_cancel_reason>
  <check_date>2025-12-06T07:34:24.4646809+03:00</check_date>
  <check_discount>14.1</check_discount>
  <check_id>sample string 2</check_id>
  <check_status>64</check_status>
  <check_total>13.1</check_total>
  <check_update_date>2025-12-06T07:34:24.4646809+03:00</check_update_date>
  <customer_id>sample string 8</customer_id>
  <customer_name>sample string 7</customer_name>
  <customer_tck>sample string 9</customer_tck>
  <customer_type>1</customer_type>
  <customer_vkd>sample string 11</customer_vkd>
  <customer_vkn>sample string 10</customer_vkn>
  <payments>
    <mdl_1415_PamukkaleSiparisAktarim.Payments>
      <payment_amount>1.1</payment_amount>
      <payment_date>2025-12-06T07:34:24.4687057+03:00</payment_date>
      <payment_type>64</payment_type>
      <payment_type_ifother>sample string 1</payment_type_ifother>
      <payment_type_ifother_name>sample string 2</payment_type_ifother_name>
    </mdl_1415_PamukkaleSiparisAktarim.Payments>
    <mdl_1415_PamukkaleSiparisAktarim.Payments>
      <payment_amount>1.1</payment_amount>
      <payment_date>2025-12-06T07:34:24.4687057+03:00</payment_date>
      <payment_type>64</payment_type>
      <payment_type_ifother>sample string 1</payment_type_ifother>
      <payment_type_ifother_name>sample string 2</payment_type_ifother_name>
    </mdl_1415_PamukkaleSiparisAktarim.Payments>
  </payments>
  <products>
    <mdl_1415_PamukkaleSiparisAktarim.Products>
      <product_barcode>sample string 2</product_barcode>
      <product_cancel_date>2025-12-06T07:34:24.4687057+03:00</product_cancel_date>
      <product_cancel_reason>sample string 15</product_cancel_reason>
      <product_category_id>sample string 5</product_category_id>
      <product_category_name>sample string 6</product_category_name>
      <product_id>sample string 1</product_id>
      <product_name>sample string 4</product_name>
      <product_order_date>2025-12-06T07:34:24.4687057+03:00</product_order_date>
      <product_order_discount>13.1</product_order_discount>
      <product_order_price>11.1</product_order_price>
      <product_order_status>64</product_order_status>
      <product_order_tax>sample string 12</product_order_tax>
      <product_quantity>sample string 7</product_quantity>
      <product_sku>sample string 3</product_sku>
      <product_unit>8</product_unit>
      <product_weight>9.1</product_weight>
    </mdl_1415_PamukkaleSiparisAktarim.Products>
    <mdl_1415_PamukkaleSiparisAktarim.Products>
      <product_barcode>sample string 2</product_barcode>
      <product_cancel_date>2025-12-06T07:34:24.4687057+03:00</product_cancel_date>
      <product_cancel_reason>sample string 15</product_cancel_reason>
      <product_category_id>sample string 5</product_category_id>
      <product_category_name>sample string 6</product_category_name>
      <product_id>sample string 1</product_id>
      <product_name>sample string 4</product_name>
      <product_order_date>2025-12-06T07:34:24.4687057+03:00</product_order_date>
      <product_order_discount>13.1</product_order_discount>
      <product_order_price>11.1</product_order_price>
      <product_order_status>64</product_order_status>
      <product_order_tax>sample string 12</product_order_tax>
      <product_quantity>sample string 7</product_quantity>
      <product_sku>sample string 3</product_sku>
      <product_unit>8</product_unit>
      <product_weight>9.1</product_weight>
    </mdl_1415_PamukkaleSiparisAktarim.Products>
  </products>
  <table_no>sample string 12</table_no>
  <warehouse_id>1</warehouse_id>
</mdl_1415_PamukkaleSiparisAktarim.Invoice>

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

Response Information

Resource Description

ResultModelStructOfTupleOfStringAndInt32
NameDescriptionTypeAdditional information
Value

TupleOfStringAndInt32

None.

IsSuccessfull

boolean

None.

ErrorMessage

string

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": {
    "m_Item1": "sample string 1",
    "m_Item2": 2
  },
  "IsSuccessfull": true,
  "ErrorMessage": "sample string 2",
  "StatusCode": 3
}

application/xml, text/xml

Sample:
<ResultModelStructOfTupleOfstringint5F2dSckg 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>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
    <d2p1:m_Item2>2</d2p1:m_Item2>
  </Value>
</ResultModelStructOfTupleOfstringint5F2dSckg>