POST api/ASN/UploadASN

Request Information

URI Parameters

None.

Body Parameters

Collection of ASNData
NameDescriptionTypeAdditional information
InvoiceNo

string

None.

InvoiceDate

string

None.

TotalInvoiceValue

decimal number

None.

HSNASC

string

None.

TaxableValue

decimal number

None.

IGSTRate

decimal number

None.

IGSTAmount

decimal number

None.

CGSTRate

decimal number

None.

CGSTAmount

decimal number

None.

SGSTRate

decimal number

None.

SGSTAmount

decimal number

None.

TCSRate

decimal number

None.

TCSAmount

decimal number

None.

DeliveryNote

string

None.

BIPartNo

string

None.

ScheduleAgreementNo

string

None.

LineItemNo

string

None.

Quantity

decimal number

None.

ModeOfTransport

string

None.

Transporter

string

None.

NoOfPackages

decimal number

None.

Weight

decimal number

None.

VehicleNo

string

None.

LRNo

string

None.

LRDate

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "InvoiceNo": "sample string 1",
    "InvoiceDate": "sample string 2",
    "TotalInvoiceValue": 3.1,
    "HSNASC": "sample string 4",
    "TaxableValue": 5.1,
    "IGSTRate": 6.1,
    "IGSTAmount": 7.1,
    "CGSTRate": 8.1,
    "CGSTAmount": 9.1,
    "SGSTRate": 10.1,
    "SGSTAmount": 11.1,
    "TCSRate": 12.1,
    "TCSAmount": 13.1,
    "DeliveryNote": "sample string 14",
    "BIPartNo": "sample string 15",
    "ScheduleAgreementNo": "sample string 16",
    "LineItemNo": "sample string 17",
    "Quantity": 18.1,
    "ModeOfTransport": "sample string 19",
    "Transporter": "sample string 20",
    "NoOfPackages": 21.1,
    "Weight": 22.1,
    "VehicleNo": "sample string 23",
    "LRNo": "sample string 24",
    "LRDate": "sample string 25"
  },
  {
    "InvoiceNo": "sample string 1",
    "InvoiceDate": "sample string 2",
    "TotalInvoiceValue": 3.1,
    "HSNASC": "sample string 4",
    "TaxableValue": 5.1,
    "IGSTRate": 6.1,
    "IGSTAmount": 7.1,
    "CGSTRate": 8.1,
    "CGSTAmount": 9.1,
    "SGSTRate": 10.1,
    "SGSTAmount": 11.1,
    "TCSRate": 12.1,
    "TCSAmount": 13.1,
    "DeliveryNote": "sample string 14",
    "BIPartNo": "sample string 15",
    "ScheduleAgreementNo": "sample string 16",
    "LineItemNo": "sample string 17",
    "Quantity": 18.1,
    "ModeOfTransport": "sample string 19",
    "Transporter": "sample string 20",
    "NoOfPackages": 21.1,
    "Weight": 22.1,
    "VehicleNo": "sample string 23",
    "LRNo": "sample string 24",
    "LRDate": "sample string 25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfASNData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BIDataExchangeAPI.Models">
  <ASNData>
    <BIPartNo>sample string 15</BIPartNo>
    <CGSTAmount>9.1</CGSTAmount>
    <CGSTRate>8.1</CGSTRate>
    <DeliveryNote>sample string 14</DeliveryNote>
    <HSNASC>sample string 4</HSNASC>
    <IGSTAmount>7.1</IGSTAmount>
    <IGSTRate>6.1</IGSTRate>
    <InvoiceDate>sample string 2</InvoiceDate>
    <InvoiceNo>sample string 1</InvoiceNo>
    <LRDate>sample string 25</LRDate>
    <LRNo>sample string 24</LRNo>
    <LineItemNo>sample string 17</LineItemNo>
    <ModeOfTransport>sample string 19</ModeOfTransport>
    <NoOfPackages>21.1</NoOfPackages>
    <Quantity>18.1</Quantity>
    <SGSTAmount>11.1</SGSTAmount>
    <SGSTRate>10.1</SGSTRate>
    <ScheduleAgreementNo>sample string 16</ScheduleAgreementNo>
    <TCSAmount>13.1</TCSAmount>
    <TCSRate>12.1</TCSRate>
    <TaxableValue>5.1</TaxableValue>
    <TotalInvoiceValue>3.1</TotalInvoiceValue>
    <Transporter>sample string 20</Transporter>
    <VehicleNo>sample string 23</VehicleNo>
    <Weight>22.1</Weight>
  </ASNData>
  <ASNData>
    <BIPartNo>sample string 15</BIPartNo>
    <CGSTAmount>9.1</CGSTAmount>
    <CGSTRate>8.1</CGSTRate>
    <DeliveryNote>sample string 14</DeliveryNote>
    <HSNASC>sample string 4</HSNASC>
    <IGSTAmount>7.1</IGSTAmount>
    <IGSTRate>6.1</IGSTRate>
    <InvoiceDate>sample string 2</InvoiceDate>
    <InvoiceNo>sample string 1</InvoiceNo>
    <LRDate>sample string 25</LRDate>
    <LRNo>sample string 24</LRNo>
    <LineItemNo>sample string 17</LineItemNo>
    <ModeOfTransport>sample string 19</ModeOfTransport>
    <NoOfPackages>21.1</NoOfPackages>
    <Quantity>18.1</Quantity>
    <SGSTAmount>11.1</SGSTAmount>
    <SGSTRate>10.1</SGSTRate>
    <ScheduleAgreementNo>sample string 16</ScheduleAgreementNo>
    <TCSAmount>13.1</TCSAmount>
    <TCSRate>12.1</TCSRate>
    <TaxableValue>5.1</TaxableValue>
    <TotalInvoiceValue>3.1</TotalInvoiceValue>
    <Transporter>sample string 20</Transporter>
    <VehicleNo>sample string 23</VehicleNo>
    <Weight>22.1</Weight>
  </ASNData>
</ArrayOfASNData>

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.