POST api/Invoice/UpdateKOTMaster

Request Information

URI Parameters

None.

Body Parameters

KOTMasterEntity
NameDescriptionTypeAdditional information
Items

Collection of KOTtem

None.

Request Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Flag": "sample string 1",
      "InvoiceId": 2,
      "OrderId": 3,
      "ItemCategoryId": 4,
      "ItemId": 5,
      "Quantity": 6,
      "ProfileId": 7,
      "IsActive": true,
      "PlateType": "sample string 9"
    },
    {
      "Flag": "sample string 1",
      "InvoiceId": 2,
      "OrderId": 3,
      "ItemCategoryId": 4,
      "ItemId": 5,
      "Quantity": 6,
      "ProfileId": 7,
      "IsActive": true,
      "PlateType": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<KOTMasterEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VCINT_API.Models">
  <Items>
    <KOTtem>
      <Flag>sample string 1</Flag>
      <InvoiceId>2</InvoiceId>
      <IsActive>true</IsActive>
      <ItemCategoryId>4</ItemCategoryId>
      <ItemId>5</ItemId>
      <OrderId>3</OrderId>
      <PlateType>sample string 9</PlateType>
      <ProfileId>7</ProfileId>
      <Quantity>6</Quantity>
    </KOTtem>
    <KOTtem>
      <Flag>sample string 1</Flag>
      <InvoiceId>2</InvoiceId>
      <IsActive>true</IsActive>
      <ItemCategoryId>4</ItemCategoryId>
      <ItemId>5</ItemId>
      <OrderId>3</OrderId>
      <PlateType>sample string 9</PlateType>
      <ProfileId>7</ProfileId>
      <Quantity>6</Quantity>
    </KOTtem>
  </Items>
</KOTMasterEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.