POST api/PriceListsController/ADUInvoiceCredit?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

InvoiceCredit
NameDescriptionTypeAdditional information
line_code

integer

None.

date_actual

date

Required

cust_num

integer

Required

insur_code

integer

Required

oper_code

integer

Required

business_branch_code

integer

None.

district_code

integer

None.

insur_branch_code

integer

None.

invoice_num

integer

None.

price

decimal number

None.

vat

decimal number

None.

quantity

integer

Range: inclusive between 1 and 999

inv_type

string

String length: inclusive between 0 and 2

debit_invoice_num

integer

None.

interface_code

string

None.

old_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "date_actual": "2024-11-21T11:33:06.9416521+02:00",
  "cust_num": 3,
  "insur_code": 4,
  "oper_code": 5,
  "business_branch_code": 1,
  "district_code": 1,
  "insur_branch_code": 1,
  "invoice_num": 1,
  "price": 1.0,
  "vat": 1.0,
  "quantity": 1,
  "inv_type": "sample string 6",
  "debit_invoice_num": 1,
  "interface_code": "sample string 7",
  "old_code": 1
}

application/xml, text/xml

Sample:
<InvoiceCredit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <business_branch_code>1</business_branch_code>
  <cust_num>3</cust_num>
  <date_actual>2024-11-21T11:33:06.9416521+02:00</date_actual>
  <debit_invoice_num>1</debit_invoice_num>
  <district_code>1</district_code>
  <insur_branch_code>1</insur_branch_code>
  <insur_code>4</insur_code>
  <interface_code>sample string 7</interface_code>
  <inv_type>sample string 6</inv_type>
  <invoice_num>1</invoice_num>
  <line_code>1</line_code>
  <old_code>1</old_code>
  <oper_code>5</oper_code>
  <price>1</price>
  <quantity>1</quantity>
  <vat>1</vat>
</InvoiceCredit>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

InvoiceCredit
NameDescriptionTypeAdditional information
line_code

integer

None.

date_actual

date

Required

cust_num

integer

Required

insur_code

integer

Required

oper_code

integer

Required

business_branch_code

integer

None.

district_code

integer

None.

insur_branch_code

integer

None.

invoice_num

integer

None.

price

decimal number

None.

vat

decimal number

None.

quantity

integer

Range: inclusive between 1 and 999

inv_type

string

String length: inclusive between 0 and 2

debit_invoice_num

integer

None.

interface_code

string

None.

old_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "date_actual": "2024-11-21T11:33:06.9572668+02:00",
  "cust_num": 3,
  "insur_code": 4,
  "oper_code": 5,
  "business_branch_code": 1,
  "district_code": 1,
  "insur_branch_code": 1,
  "invoice_num": 1,
  "price": 1.0,
  "vat": 1.0,
  "quantity": 1,
  "inv_type": "sample string 6",
  "debit_invoice_num": 1,
  "interface_code": "sample string 7",
  "old_code": 1
}

application/xml, text/xml

Sample:
<InvoiceCredit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <business_branch_code>1</business_branch_code>
  <cust_num>3</cust_num>
  <date_actual>2024-11-21T11:33:06.9572668+02:00</date_actual>
  <debit_invoice_num>1</debit_invoice_num>
  <district_code>1</district_code>
  <insur_branch_code>1</insur_branch_code>
  <insur_code>4</insur_code>
  <interface_code>sample string 7</interface_code>
  <inv_type>sample string 6</inv_type>
  <invoice_num>1</invoice_num>
  <line_code>1</line_code>
  <old_code>1</old_code>
  <oper_code>5</oper_code>
  <price>1</price>
  <quantity>1</quantity>
  <vat>1</vat>
</InvoiceCredit>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.