POST v1/NexusTax/NexusTaxList

Returns Nexus Tax List

This is secure method and requires below attributes in header

Authorization: Midnight 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NexusTaxID>1</NexusTaxID>
  <NexusTaxBatchID>1</NexusTaxBatchID>
</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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NexusTaxListResponse>
    <NexusTaxID>1</NexusTaxID>
    <NexusTaxBatchID>2</NexusTaxBatchID>
    <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>
  </NexusTaxListResponse>
  <NexusTaxListResponse>
    <NexusTaxID>1</NexusTaxID>
    <NexusTaxBatchID>2</NexusTaxBatchID>
    <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>
  </NexusTaxListResponse>
</ArrayOfNexusTaxListResponse>