GET v1/Policies/Details/{policyDetailId}/ProfessionalLiability/ProductsServices

Retrieves prof liab product services

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyDetailId

Policy detail Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Action result with prof liab product services for the specified policy detail Id

ActionResultDTOOfProfLiabProductsServicesDTO
NameDescriptionTypeAdditional information
Result

ProfLiabProductsServicesDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "PolicyDetailsID": 1,
    "ProductsServices": [
      {
        "PolicyDetailsProfessionalLiabilityProductsServicesMappingId": 1,
        "PolicyDetailsId": 1,
        "Name": "sample string 2",
        "Manufactured": true,
        "Sales": "sample string 3"
      },
      {
        "PolicyDetailsProfessionalLiabilityProductsServicesMappingId": 1,
        "PolicyDetailsId": 1,
        "Name": "sample string 2",
        "Manufactured": true,
        "Sales": "sample string 3"
      }
    ]
  },
  "CreatedBy": "sample string 1",
  "EntityID": 2,
  "RowSource": "sample string 3",
  "PolicyID": 4,
  "IsSuccess": true,
  "ErrorCode": "sample string 6",
  "ErrorMessage": "sample string 7",
  "InfoMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<ActionResultOfProfLiabProductsServicesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 6</ErrorCode>
  <ErrorMessage>sample string 7</ErrorMessage>
  <InfoMessage>sample string 8</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 1</CreatedBy>
  <EntityID>2</EntityID>
  <PolicyID>4</PolicyID>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.ProfessionalLiability">
    <d2p1:PolicyDetailsID>1</d2p1:PolicyDetailsID>
    <d2p1:ProductsServices>
      <d2p1:ProductServiceDTO>
        <d2p1:Manufactured>true</d2p1:Manufactured>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:PolicyDetailsId>1</d2p1:PolicyDetailsId>
        <d2p1:PolicyDetailsProfessionalLiabilityProductsServicesMappingId>1</d2p1:PolicyDetailsProfessionalLiabilityProductsServicesMappingId>
        <d2p1:Sales>sample string 3</d2p1:Sales>
      </d2p1:ProductServiceDTO>
      <d2p1:ProductServiceDTO>
        <d2p1:Manufactured>true</d2p1:Manufactured>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:PolicyDetailsId>1</d2p1:PolicyDetailsId>
        <d2p1:PolicyDetailsProfessionalLiabilityProductsServicesMappingId>1</d2p1:PolicyDetailsProfessionalLiabilityProductsServicesMappingId>
        <d2p1:Sales>sample string 3</d2p1:Sales>
      </d2p1:ProductServiceDTO>
    </d2p1:ProductsServices>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfProfLiabProductsServicesDTO>