ListDBA
GET Business/ListDBA
Request Params
Field | Type | Description |
---|---|---|
BusinessId | Guid | Unique Identifier of the business. |
PayerRef | string | Unique identifier of a Payer. |
TIN | string | Gets the TIN number of the business |
TINType | string | Gets the TIN type of the business |
Page | number | Pulls the records listed in the page selected. |
PageSize | number | Number of records to be listed in each page. Note: PageSize can be maximum of 100. |
Request Params
"Business/ListDBA?BusinessID=203b32af-6a5d-4faa-91f9-adad5753fa5f&PayerRef=67235223sh&TIN=567890543&TINType=EIN&Page=1&PageSize=10"
Response Body
Field | Type | Description |
---|---|---|
StatusCode | number | Returns the status codes like 200, 300 etc. |
StatusName | string | Name of the status code. |
StatusMessage | string | Detailed status message |
BusinessId | Guid | Unique Identifier of a business |
DBADetails | object[] | Pulls DBA detail records with Success and Error statuses. |
DBAName | string | Name of the DBA. |
DBARef | string | Unique identifier for each DBA. This identifier can be used in future references of the DBA in the API. |
DBAId | string | Unique Identifier for the DBA. |
IsForeign | Boolean | When true, identifies the business address with a foreign address. |
USAddress | object | if IsForeign is false, pass US address of the business |
Address1 | string | Employer/Payer's US address (street address or post office box of that locality). Size Range: ..46 |
Address2 | string | Optional Employer/Payer's suite or apartment. Size Range: ..46 |
City | string | Employer/Payer's city. Size Range: ..50 |
State | string | Employer/Payer's state code. Refer Static values. Size Range: 2 Allowed values |
ZipCd | string | Employer/Payer's zip code. Size Range: 5..10 |
ForeignAddress | object | if IsForeign is true, pass foreign address of the business. |
Address1 | string | Address of the Employer/Payer (street address or post office box of that locality) Size Range: ..50 |
Address2 | string | OptionalEmployer/Payer's suite or apartment. Size Range: ..50 |
City | string | Employer/Payer's city. Size Range: ..50 |
ProvinceOrStateNm | string | Employer/Payer's province or state name. Size Range: ..50 |
Country | string | Employer/Payer's country. Size Range: 2 Allowed values |
PostalCd | string | Employer/Payer's postal code. Size Range: ..16 |
TotalRecords | number | Total number of records. |
TotalPages | number | Total number of pages. |
Page | number | Pulls the records listed in the page selected. |
PageSize | number | Number of records to be listed in each page. |
Error | object | Shows detailed error information. |
Name | string | Name of the validation error. |
ID | string | Returns the validation error ID. |
Message | string | Description of the validation error. |
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "OK",
"StatusMessage": "Successful API Call",
"BusinessId": "203b32af-6a5d-4faa-91f9-adad5753fa5f",
"DBADetails": [
{
"DBAName": "Snowdaze LLC",
"DBARef": "db123",
"DBAId": "566e1623-3c07-4d15-9fcc-00cad9a3a5d5",
"IsForeign": false,
"USAddress": {
"Address1": "1751 Kinsey Rd",
"Address2": "Main St",
"City": "Dothan",
"State": "AL",
"ZipCd": "36303"
},
"ForeignAddress": null
},
{
"DBAName": "Snowdaze LLC",
"DBARef": "db123",
"DBAId": "566e1623-3c07-4d15-9fcc-00cad9a3a5d5",
"IsForeign": false,
"USAddress": {
"Address1": "1751 Kinsey Rd",
"Address2": "Main St",
"City": "Dothan",
"State": "AL",
"ZipCd": "36303"
},
"ForeignAddress": null
}
],
"TotalRecords": 2,
"TotalPages": 1,
"Page": 1,
"PageSize": 10,
"Error": null
}