POST api/Policy/PolicyLineOfBusiness

Policy line of business endpoint.

Request Information

URI Parameters

None.

Body Parameters

List of policies database Ids.

PolicyDataBaseIds
NameDescriptionTypeAdditional information
PolicyDataBaseId

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "policyDataBaseId": [
    "38ed6376-3ab8-4f28-bb45-026b0e0663cd",
    "42c526b5-fd48-4c47-9c7b-5ec2d6ee1dbe"
  ]
}

application/xml, text/xml

Sample:
<PolicyDataBaseIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData">
  <PolicyDataBaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>38ed6376-3ab8-4f28-bb45-026b0e0663cd</d2p1:guid>
    <d2p1:guid>42c526b5-fd48-4c47-9c7b-5ec2d6ee1dbe</d2p1:guid>
  </PolicyDataBaseId>
</PolicyDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of PolicyLineOfBusiness against given policies database Ids.

PolicyLineOfBusiness
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

LineOfBusinessName

string

None.

PolicyDatabaseId

globally unique identifier

None.

LineOfBusinessId

globally unique identifier

None.

LineOfBusinessClassId

globally unique identifier

None.

LineOfBusinessClassName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "d49fa6d9-a870-4afe-a7b6-bb640cb94c6b",
  "lineOfBusinessName": "sample string 2",
  "policyDatabaseId": "3c11c7d5-3ac7-4e8e-b53d-0385bbeab9c3",
  "lineOfBusinessId": "97511235-d0c6-4600-881a-4a736a95e1f6",
  "lineOfBusinessClassId": "afc8ed35-c033-47aa-bd2a-14b256fc1d29",
  "lineOfBusinessClassName": "sample string 5"
}

application/xml, text/xml

Sample:
<PolicyLineOfBusiness xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <DatabaseId>d49fa6d9-a870-4afe-a7b6-bb640cb94c6b</DatabaseId>
  <LineOfBusinessClassId>afc8ed35-c033-47aa-bd2a-14b256fc1d29</LineOfBusinessClassId>
  <LineOfBusinessClassName>sample string 5</LineOfBusinessClassName>
  <LineOfBusinessId>97511235-d0c6-4600-881a-4a736a95e1f6</LineOfBusinessId>
  <LineOfBusinessName>sample string 2</LineOfBusinessName>
  <PolicyDatabaseId>3c11c7d5-3ac7-4e8e-b53d-0385bbeab9c3</PolicyDatabaseId>
</PolicyLineOfBusiness>