PUT api/Accounting/TransOrder/UpdateDataNoTransOrder/{taxInvoiceDeliveryNoteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taxInvoiceDeliveryNoteId

integer

Required

Body Parameters

m_GetVATNoPurchaseOrder
NameDescriptionTypeAdditional information
cust_id

integer

None.

company_name

string

None.

vatTypeName

string

None.

lists

Collection of m_CreateNoVATNoPurchaseOrder_List

None.

totalPrice

decimal number

None.

totalAmount

decimal number

None.

discount

string

None.

discountAmount

decimal number

None.

remark

string

String length: inclusive between 0 and 4000

Request Formats

application/json, text/json

Sample:
{
  "cust_id": 1,
  "company_name": "sample string 1",
  "vatTypeName": "sample string 2",
  "lists": [
    {
      "taxInvoiceDeliveryNoteListId": 1,
      "listName": "sample string 1",
      "quantity": 1,
      "price": 2.0
    },
    {
      "taxInvoiceDeliveryNoteListId": 1,
      "listName": "sample string 1",
      "quantity": 1,
      "price": 2.0
    }
  ],
  "totalPrice": 3.0,
  "totalAmount": 1.0,
  "discount": "sample string 4",
  "discountAmount": 1.0,
  "remark": "sample string 5"
}

application/xml, text/xml

Sample:
<m_GetVATNoPurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
  <company_name>sample string 1</company_name>
  <cust_id>1</cust_id>
  <discount>sample string 4</discount>
  <discountAmount>1</discountAmount>
  <lists>
    <m_CreateNoVATNoPurchaseOrder_List>
      <listName>sample string 1</listName>
      <price>2</price>
      <quantity>1</quantity>
      <taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
    </m_CreateNoVATNoPurchaseOrder_List>
    <m_CreateNoVATNoPurchaseOrder_List>
      <listName>sample string 1</listName>
      <price>2</price>
      <quantity>1</quantity>
      <taxInvoiceDeliveryNoteListId>1</taxInvoiceDeliveryNoteListId>
    </m_CreateNoVATNoPurchaseOrder_List>
  </lists>
  <remark>sample string 5</remark>
  <totalAmount>1</totalAmount>
  <totalPrice>3</totalPrice>
  <vatTypeName>sample string 2</vatTypeName>
</m_GetVATNoPurchaseOrder>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.