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

CheckDuplicateTaxID
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'CheckDuplicateTaxID'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.