GET api/FleetOnlineNewBusiness/GetPolicyDetails/{customerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PolicySummaryDtoName | Description | Type | Additional information |
---|---|---|---|
PolicyReference | string |
None. |
|
CoverName | string |
None. |
|
Units | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PolicyReference": "sample string 1", "CoverName": "sample string 2", "Units": 3, "StartDate": "2025-01-09T15:35:09.920023+00:00", "EndDate": "2025-01-09T15:35:09.920023+00:00" }, { "PolicyReference": "sample string 1", "CoverName": "sample string 2", "Units": 3, "StartDate": "2025-01-09T15:35:09.920023+00:00", "EndDate": "2025-01-09T15:35:09.920023+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfPolicySummaryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto"> <PolicySummaryDto> <CoverName>sample string 2</CoverName> <EndDate>2025-01-09T15:35:09.920023+00:00</EndDate> <PolicyReference>sample string 1</PolicyReference> <StartDate>2025-01-09T15:35:09.920023+00:00</StartDate> <Units>3</Units> </PolicySummaryDto> <PolicySummaryDto> <CoverName>sample string 2</CoverName> <EndDate>2025-01-09T15:35:09.920023+00:00</EndDate> <PolicyReference>sample string 1</PolicyReference> <StartDate>2025-01-09T15:35:09.920023+00:00</StartDate> <Units>3</Units> </PolicySummaryDto> </ArrayOfPolicySummaryDto>