POST api/v7/TaxLocations
Add a new tax destination.
Request Information
URI Parameters
None.
Body Parameters
the tax destination record
TaxLocationDtoName | Description | Type | Required? | Additional information |
---|---|---|---|---|
name * |
The location record name |
string |
Yes |
String length: between 1 and 128, inclusive |
type * |
Any geographic classification |
string |
Yes |
String length: between 1 and 128, inclusive |
value |
Actual location name that can be searched later |
string |
No |
None. |
parentName |
To distinguish a location from another record |
string |
No |
None. |
customerAuditDate |
Audit information |
date |
No |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "Z30308", "type": "ZipCode", "value": "30308", "parentName": "AT" }
application/xml, text/xml
Sample:
<TaxLocationDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <name>Z30308</name> <type>ZipCode</type> <value>30308</value> <parentName>AT</parentName> <customerAuditDate xsi:nil="true" /> </TaxLocationDto>
Response Information
Resource Description
Returns a HTTPResponse Message stating the success/failure of API Action
HttpResponseMessageName | Description | Type |
---|---|---|
Version | Version | |
Content | HttpContent | |
StatusCode | HttpStatusCode | |
ReasonPhrase | string | |
Headers | Collection of Object | |
RequestMessage | HttpRequestMessage | |
IsSuccessStatusCode | boolean |