POST v1/NexusTax/NexusTaxList

Returns Nexus Tax List

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Nexus Tax Input Request

NexusTaxListRequest
NameDescriptionTypeAdditional information
NexusTaxID

Nexus Tax ID

integer

None.

NexusTaxBatchID

Nexus Tax Batch ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NexusTaxID": 1,
  "NexusTaxBatchID": 1
}

application/xml, text/xml

Sample:
<NexusTaxListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MidnightEntity">
  <NexusTaxBatchID>1</NexusTaxBatchID>
  <NexusTaxID>1</NexusTaxID>
</NexusTaxListRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "NexusTaxID": 1,
    "NexusTaxBatchID": 2,
    "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"
  },
  {
    "NexusTaxID": 1,
    "NexusTaxBatchID": 2,
    "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:
<ArrayOfNexusTaxListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MidnightEntity">
  <NexusTaxListResponse>
    <AddressLine1>sample string 8</AddressLine1>
    <AddressLine2>sample string 9</AddressLine2>
    <AddressLine3>sample string 10</AddressLine3>
    <AttnLine>sample string 7</AttnLine>
    <City>sample string 11</City>
    <CountryCode>sample string 14</CountryCode>
    <NexusTaxBatchID>2</NexusTaxBatchID>
    <NexusTaxID>1</NexusTaxID>
    <OrderNumber>sample string 3</OrderNumber>
    <Quantity>4</Quantity>
    <StateCode>sample string 12</StateCode>
    <TaxCode>sample string 5</TaxCode>
    <TaxRate>6</TaxRate>
    <ZipCode>sample string 13</ZipCode>
  </NexusTaxListResponse>
  <NexusTaxListResponse>
    <AddressLine1>sample string 8</AddressLine1>
    <AddressLine2>sample string 9</AddressLine2>
    <AddressLine3>sample string 10</AddressLine3>
    <AttnLine>sample string 7</AttnLine>
    <City>sample string 11</City>
    <CountryCode>sample string 14</CountryCode>
    <NexusTaxBatchID>2</NexusTaxBatchID>
    <NexusTaxID>1</NexusTaxID>
    <OrderNumber>sample string 3</OrderNumber>
    <Quantity>4</Quantity>
    <StateCode>sample string 12</StateCode>
    <TaxCode>sample string 5</TaxCode>
    <TaxRate>6</TaxRate>
    <ZipCode>sample string 13</ZipCode>
  </NexusTaxListResponse>
</ArrayOfNexusTaxListResponse>