POST v1/NexusTax/NexusTaxInsert

Allows user to add one or more nexus tax to the nexus tax record

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Collection of NexusTaxInsertRequest
NameDescriptionTypeAdditional information
OrderNumber

Required. Must be a valid OrderNumber

string

Required

Quantity

Required.

integer

Required

TaxCode

string

None.

TaxRate

Required.

decimal number

Required

AttnLine

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

City

string

None.

StateCode

string

None.

ZipCode

string

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OrderNumber": "sample string 3",
    "Quantity": 4,
    "TaxCode": "sample string 5",
    "TaxRate": 6.0,
    "AttnLine": "sample string 7",
    "AddressLine1": "sample string 8",
    "AddressLine2": "sample string 9",
    "AddressLine3": "sample string 10",
    "City": "sample string 11",
    "StateCode": "sample string 12",
    "ZipCode": "sample string 13",
    "CountryCode": "sample string 14"
  },
  {
    "OrderNumber": "sample string 3",
    "Quantity": 4,
    "TaxCode": "sample string 5",
    "TaxRate": 6.0,
    "AttnLine": "sample string 7",
    "AddressLine1": "sample string 8",
    "AddressLine2": "sample string 9",
    "AddressLine3": "sample string 10",
    "City": "sample string 11",
    "StateCode": "sample string 12",
    "ZipCode": "sample string 13",
    "CountryCode": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNexusTaxInsertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <NexusTaxInsertRequest>
    <OrderNumber>sample string 3</OrderNumber>
    <Quantity>4</Quantity>
    <TaxCode>sample string 5</TaxCode>
    <TaxRate>6</TaxRate>
    <AttnLine>sample string 7</AttnLine>
    <AddressLine1>sample string 8</AddressLine1>
    <AddressLine2>sample string 9</AddressLine2>
    <AddressLine3>sample string 10</AddressLine3>
    <City>sample string 11</City>
    <StateCode>sample string 12</StateCode>
    <ZipCode>sample string 13</ZipCode>
    <CountryCode>sample string 14</CountryCode>
  </NexusTaxInsertRequest>
  <NexusTaxInsertRequest>
    <OrderNumber>sample string 3</OrderNumber>
    <Quantity>4</Quantity>
    <TaxCode>sample string 5</TaxCode>
    <TaxRate>6</TaxRate>
    <AttnLine>sample string 7</AttnLine>
    <AddressLine1>sample string 8</AddressLine1>
    <AddressLine2>sample string 9</AddressLine2>
    <AddressLine3>sample string 10</AddressLine3>
    <City>sample string 11</City>
    <StateCode>sample string 12</StateCode>
    <ZipCode>sample string 13</ZipCode>
    <CountryCode>sample string 14</CountryCode>
  </NexusTaxInsertRequest>
</ArrayOfNexusTaxInsertRequest>

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 'IList`1'.

Response Information

Response Formats

application/json, text/json

Sample:
{
  "NexusTaxBatchID": 1
}

application/xml, text/xml

Sample:
<NexusTaxInsertResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <NexusTaxBatchID>1</NexusTaxBatchID>
</NexusTaxInsertResponse>