GET v1/Policies/Details/{policyDetailID}/InlandMarine/EquipmentStorage
Get all of the equipment storages for the specified Inland Marine type policies.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
policyDetailID |
Id of the policy detail |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of the equipment storages
PageOfOfPolicyDetailsInlandMarineEquipmentStorageDTOName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of PolicyDetailsInlandMarineEquipmentStorageDTO |
None. |
|
PageNumber | integer |
None. |
|
PagesTotal | integer |
None. |
|
TotalItems | integer |
None. |
|
IsSuccess | boolean |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
DisplayMessage | string |
None. |
|
Links | Collection of PageLink |
None. |
|
Href | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "EquipmentStorageID": 1, "PolicyDetailsID": 2, "MonthsInStorage": 1, "MaxInBuilding": 1, "MaxOutside": 1, "TypeOfSecurity": "sample string 3", "LocationName": "sample string 4", "LocationAddress": "sample string 5", "LocationID": 6 }, { "EquipmentStorageID": 1, "PolicyDetailsID": 2, "MonthsInStorage": 1, "MaxInBuilding": 1, "MaxOutside": 1, "TypeOfSecurity": "sample string 3", "LocationName": "sample string 4", "LocationAddress": "sample string 5", "LocationID": 6 } ], "PageNumber": 1, "PagesTotal": 2, "TotalItems": 3, "IsSuccess": true, "ErrorCode": "sample string 5", "ErrorMessage": "sample string 6", "DisplayMessage": "sample string 7", "Links": [ { "Rel": "sample string 1", "Href": "sample string 2" }, { "Rel": "sample string 1", "Href": "sample string 2" } ], "Href": "sample string 8" }
application/xml, text/xml
Sample:
<PageOfPolicyDetailsInlandMarineEquipmentStorageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <d2p1:PolicyDetailsInlandMarineEquipmentStorageDTO> <d2p1:LocationAddress>sample string 5</d2p1:LocationAddress> <d2p1:LocationID>6</d2p1:LocationID> <d2p1:LocationName>sample string 4</d2p1:LocationName> <d2p1:EquipmentStorageID>1</d2p1:EquipmentStorageID> <d2p1:MaxInBuilding>1</d2p1:MaxInBuilding> <d2p1:MaxOutside>1</d2p1:MaxOutside> <d2p1:MonthsInStorage>1</d2p1:MonthsInStorage> <d2p1:PolicyDetailsID>2</d2p1:PolicyDetailsID> <d2p1:TypeOfSecurity>sample string 3</d2p1:TypeOfSecurity> </d2p1:PolicyDetailsInlandMarineEquipmentStorageDTO> <d2p1:PolicyDetailsInlandMarineEquipmentStorageDTO> <d2p1:LocationAddress>sample string 5</d2p1:LocationAddress> <d2p1:LocationID>6</d2p1:LocationID> <d2p1:LocationName>sample string 4</d2p1:LocationName> <d2p1:EquipmentStorageID>1</d2p1:EquipmentStorageID> <d2p1:MaxInBuilding>1</d2p1:MaxInBuilding> <d2p1:MaxOutside>1</d2p1:MaxOutside> <d2p1:MonthsInStorage>1</d2p1:MonthsInStorage> <d2p1:PolicyDetailsID>2</d2p1:PolicyDetailsID> <d2p1:TypeOfSecurity>sample string 3</d2p1:TypeOfSecurity> </d2p1:PolicyDetailsInlandMarineEquipmentStorageDTO> </Data> <DisplayMessage>sample string 7</DisplayMessage> <ErrorCode>sample string 5</ErrorCode> <ErrorMessage>sample string 6</ErrorMessage> <Href>sample string 8</Href> <IsSuccess>true</IsSuccess> <Links> <PageLink> <Href>sample string 2</Href> <Rel>sample string 1</Rel> </PageLink> <PageLink> <Href>sample string 2</Href> <Rel>sample string 1</Rel> </PageLink> </Links> <PageNumber>1</PageNumber> <PagesTotal>2</PagesTotal> <TotalItems>3</TotalItems> </PageOfPolicyDetailsInlandMarineEquipmentStorageDTO>