ReferencesControllerV2
This endpoint retrieves a list of state options from the database based on the specified country code else retrieves all state options. The response includes a collection of states based on predefined configurations and criteria.
CountryCode used to filter states.
Correlation Id for the request
GET /api/demographics/v2/References/StateOptions HTTP/1.1
Host: localhost:5000
Accept: */*
{
"content": [
{
"stateCode": "AL",
"stateName": "Alabama",
"isDisplayed": true,
"countryCode": "US"
}
]
}
This endpoint retrieves a list of company types from the database based on the specified country code else retrieves all company types, which are filtered by a specific country code "US" (Default).
CountryCode used to filter states.
Correlation Id for the request
GET /api/demographics/v2/References/CompanyTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
"content": [
{
"id": 4,
"type": "NP",
"legalIdentifiersRequired": true,
"description": "Non profit/tax exempt",
"countryCode": "US"
}
]
}
This endpoint retrieves a list of legal identifier types, optionally filtered by a given country code. If no country code is provided, it returns all available identifier types.
CountryCode used to filter legal identifier types.
Correlation Id for the request
GET /api/demographics/v2/References/LegalIdentifierTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
"content": [
{
"type": "TIN",
"description": "TaxIDNumber/EIN",
"isVatIdentifier": true,
"countryCode": "US"
}
]
}
Was this helpful?