POST Api/ARInvTCSList

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_TCSLIST
NameDescriptionTypeAdditional information
BPCode

string

None.

Items

Collection of ESPL_MODEL_ITEMS_FOR_TCS

None.

Freigth

Collection of ESPL_MODEL_AR_INV_FREIGHT

None.

Request Formats

application/json, text/json

Sample:
{
  "BPCode": "sample string 1",
  "Items": [
    {
      "ItemCode": "sample string 1",
      "TotalValue": 2.1,
      "TaxAmount": 3.1
    },
    {
      "ItemCode": "sample string 1",
      "TotalValue": 2.1,
      "TaxAmount": 3.1
    }
  ],
  "Freigth": [
    {
      "FreightCode": 1,
      "FreightName": "sample string 2",
      "TaxCode": "sample string 3",
      "Rate": 4.1,
      "Charges": 5.1,
      "GSTAmount": 6.1
    },
    {
      "FreightCode": 1,
      "FreightName": "sample string 2",
      "TaxCode": "sample string 3",
      "Rate": 4.1,
      "Charges": 5.1,
      "GSTAmount": 6.1
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_TCSLIST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <BPCode>sample string 1</BPCode>
  <Freigth>
    <ESPL_MODEL_AR_INV_FREIGHT>
      <Charges>5.1</Charges>
      <FreightCode>1</FreightCode>
      <FreightName>sample string 2</FreightName>
      <GSTAmount>6.1</GSTAmount>
      <Rate>4.1</Rate>
      <TaxCode>sample string 3</TaxCode>
    </ESPL_MODEL_AR_INV_FREIGHT>
    <ESPL_MODEL_AR_INV_FREIGHT>
      <Charges>5.1</Charges>
      <FreightCode>1</FreightCode>
      <FreightName>sample string 2</FreightName>
      <GSTAmount>6.1</GSTAmount>
      <Rate>4.1</Rate>
      <TaxCode>sample string 3</TaxCode>
    </ESPL_MODEL_AR_INV_FREIGHT>
  </Freigth>
  <Items>
    <ESPL_MODEL_ITEMS_FOR_TCS>
      <ItemCode>sample string 1</ItemCode>
      <TaxAmount>3.1</TaxAmount>
      <TotalValue>2.1</TotalValue>
    </ESPL_MODEL_ITEMS_FOR_TCS>
    <ESPL_MODEL_ITEMS_FOR_TCS>
      <ItemCode>sample string 1</ItemCode>
      <TaxAmount>3.1</TaxAmount>
      <TotalValue>2.1</TotalValue>
    </ESPL_MODEL_ITEMS_FOR_TCS>
  </Items>
</ESPL_MODEL_TCSLIST>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.