POST v1/api/AgencyInquiry?caseId={caseId}
Retrieve a Agency Information getting all agents and states
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
caseId |
(optional - but recommended) a unique identifier to both group calls, and to tie a Case to an Agency. |
string |
None. |
Body Parameters
AgencyInquiryRequestDto
AgencyInquiryRequestDtoName | Description | Type | Additional information |
---|---|---|---|
AgencyId | string |
None. |
|
AgentId | string |
None. |
|
State | StateCodeEnum |
None. |
Request Formats
application/json
Sample:
REQUEST{ "AgencyId": "00901", "AgentId": "00901", }
Response Information
Resource Description
List of AgencyInquiryResponseDto
AgencyInquiryResponseDtoName | Description | Type | Additional information |
---|---|---|---|
FullName | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Address | AddressDto |
None. |
|
WorkPhone | PhoneDto |
None. |
|
HomePhone | PhoneDto |
None. |
|
MobilePhone | PhoneDto |
None. |
|
string |
None. |
||
AgencyFullName | string |
None. |
|
AgencyFirstName | string |
None. |
|
AgencyLastName | string |
None. |
|
AgencyAddress | AddressDto |
None. |
|
AgencyWorkPhone | PhoneDto |
None. |
|
AgencyHomePhone | PhoneDto |
None. |
|
AgencyMobilePhone | PhoneDto |
None. |
|
AgencyEmail | string |
None. |
|
States | Collection of AgencyStateDto |
None. |
Response Formats
application/json
Sample:
RESPONSE { "FullName": "SBLI - WOBURN", "FirstName": "SBLI", "LastName": " - WOBURN", "Address": { "State": null, "Country": "United States of America", "Name": "SBLI - WOBURN", "Address1": "1 Linscott Road", "City": "Woburn", "PostalCode": "01801" }, "WorkPhone": null, "HomePhone": null, "MobilePhone": null, "Email": "noreply_MBORISLOW@SBLI.COM", "AgencyFullName": "SBLI - WOBURN", "AgencyFirstName": null, "AgencyLastName": null, "AgencyAddress": { "State": null, "Country": "United States of America", "Name": "SBLI - WOBURN", "Address1": null, "City": null, "PostalCode": null }, "AgencyWorkPhone": null, "AgencyHomePhone": null, "AgencyMobilePhone": null, "AgencyEmail": null, "States": [ { "Abbr": "FL", "Name": "Florida", "LicenseDescription": "" }, { "Abbr": "GA", "Name": "Georgia", "LicenseDescription": "2008111" }, { "Abbr": "IA", "Name": "Iowa", "LicenseDescription": "UNKNOWN" }, { "Abbr": "ID", "Name": "Idaho", "LicenseDescription": "" }, { "Abbr": "MA", "Name": "Massachusetts", "LicenseDescription": "UNKNOWN" }, { "Abbr": "MD", "Name": "Maryland", "LicenseDescription": "UNKNOWN" }, { "Abbr": "MO", "Name": "Missouri", "LicenseDescription": "" }, { "Abbr": "OK", "Name": "Oklahoma", "LicenseDescription": "" }, { "Abbr": "RI", "Name": "Rhode Island", "LicenseDescription": "UNKNOWN" }, { "Abbr": "TN", "Name": "Tennessee", "LicenseDescription": "UNKNOWN" }, { "Abbr": "VT", "Name": "Vermont", "LicenseDescription": "UNKNOWN" }, { "Abbr": "WV", "Name": "West Virginia", "LicenseDescription": "UNKNOWN" } }