POST api/Policy/PolicyDrivers

Policy drivers list 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": [
    "36c899f9-fdac-4621-bd0b-ba1d763bc050",
    "660b92bd-d9ac-4a45-81d1-c13722092179"
  ]
}

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>36c899f9-fdac-4621-bd0b-ba1d763bc050</d2p1:guid>
    <d2p1:guid>660b92bd-d9ac-4a45-81d1-c13722092179</d2p1:guid>
  </PolicyDataBaseId>
</PolicyDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of PolicyDrivers against given policies database Ids.

PolicyDrivers
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

Birthday

date

None.

MaritalStatusCode

MaritalStatusCode

None.

Gender

GenderCode

None.

LicenseNumber

string

None.

LicenseState

string

None.

LicenseYear

integer

None.

PolicyDatabaseId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "e3646d11-4813-4073-97b0-53eedc7fe57e",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "birthday": "2021-08-03T04:46:01.1841282-05:00",
  "maritalStatusCode": 0,
  "gender": 0,
  "licenseNumber": "sample string 4",
  "licenseState": "sample string 5",
  "licenseYear": 1,
  "policyDatabaseId": "953b23e8-9c50-434a-be2f-af29614ef8cb"
}

application/xml, text/xml

Sample:
<PolicyDrivers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Birthday>2021-08-03T04:46:01.1841282-05:00</Birthday>
  <DatabaseId>e3646d11-4813-4073-97b0-53eedc7fe57e</DatabaseId>
  <FirstName>sample string 2</FirstName>
  <Gender>M</Gender>
  <LastName>sample string 3</LastName>
  <LicenseNumber>sample string 4</LicenseNumber>
  <LicenseState>sample string 5</LicenseState>
  <LicenseYear>1</LicenseYear>
  <MaritalStatusCode>S</MaritalStatusCode>
  <PolicyDatabaseId>953b23e8-9c50-434a-be2f-af29614ef8cb</PolicyDatabaseId>
</PolicyDrivers>