POST api/rep/checkDuplicateTaxID
To validate that a given Tax ID doesn't already exist in the system.
Request Information
URI Parameters
None.
Body Parameters
CheckDuplicateTaxIDName | Description | Type | Additional information |
---|---|---|---|
TaxID |
Required. The Tax ID to validate without spaces or dashes. |
string |
None. |
Country |
Optional. The country where the validation will be limited to. |
string |
None. |
IdentifierTypeID |
Optional. This defines a specific identifier profile type to search. This is only active if Identifier Profiles are in use in Freedom. |
integer |
None. |
Request Formats
application/xml, text/xml
Sample:
<CheckDuplicateTaxID> <TaxID>sample string 1</TaxID> <Country>sample string 2</Country> <IdentifierTypeID>1</IdentifierTypeID> </CheckDuplicateTaxID>
application/json, text/json
Sample:
{ "TaxID": "sample string 1", "Country": "sample string 2", "IdentifierTypeID": 1 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.