POST v1/Policies/{PolicyId}/UpdateBinderInfo
Updates/Adds BinderInfo Details for given policy.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PolicyId |
Binder details of Policy |
integer |
Required |
Body Parameters
Data to be updated/Added
PolicyDetailsBinderInfoDTOName | Description | Type | Additional information |
---|---|---|---|
BinderInfoID | integer |
None. |
|
NewBinder | boolean |
None. |
|
NonStandardConditions | boolean |
None. |
|
PolicyQuoteID | integer |
None. |
|
BinderPurposeID | integer |
None. |
|
BinderDocument | string |
None. |
|
BinderNumber | string |
None. |
|
BinderEffectiveTime | time interval |
None. |
|
NumberOfDays | integer |
None. |
|
BinderExpirationDate | date |
None. |
|
BinderEffectiveDate | date |
None. |
|
BinderExpirationTime | time interval |
None. |
|
BinderPurposeLabel | string |
None. |
|
BinderEffectiveTimeString | string |
None. |
|
BinderExpirationTimeString | string |
None. |
|
BinderExpirationDateString | string |
None. |
|
BinderEffectiveDateString | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BinderInfoID": 1, "NewBinder": true, "NonStandardConditions": true, "PolicyQuoteID": 2, "BinderPurposeID": 1, "BinderDocument": "sample string 3", "BinderNumber": "sample string 4", "BinderEffectiveTime": "00:00:00.1234567", "NumberOfDays": 1, "BinderExpirationDate": "2024-09-08T02:05:17.8499096+00:00", "BinderEffectiveDate": "2024-09-08T02:05:17.8499096+00:00", "BinderExpirationTime": "00:00:00.1234567", "BinderPurposeLabel": "sample string 5", "BinderEffectiveTimeString": "sample string 6", "BinderExpirationTimeString": "sample string 7", "BinderExpirationDateString": "sample string 8", "BinderEffectiveDateString": "sample string 9" }
application/xml, text/xml
Sample:
<PolicyDetailsBinderInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <BinderDocument>sample string 3</BinderDocument> <BinderEffectiveDate>2024-09-08T02:05:17.8499096+00:00</BinderEffectiveDate> <BinderEffectiveDateString>sample string 9</BinderEffectiveDateString> <BinderEffectiveTime>PT0.1234567S</BinderEffectiveTime> <BinderEffectiveTimeString>sample string 6</BinderEffectiveTimeString> <BinderExpirationDate>2024-09-08T02:05:17.8499096+00:00</BinderExpirationDate> <BinderExpirationDateString>sample string 8</BinderExpirationDateString> <BinderExpirationTime>PT0.1234567S</BinderExpirationTime> <BinderExpirationTimeString>sample string 7</BinderExpirationTimeString> <BinderInfoID>1</BinderInfoID> <BinderNumber>sample string 4</BinderNumber> <BinderPurposeID>1</BinderPurposeID> <BinderPurposeLabel>sample string 5</BinderPurposeLabel> <NewBinder>true</NewBinder> <NonStandardConditions>true</NonStandardConditions> <NumberOfDays>1</NumberOfDays> <PolicyQuoteID>2</PolicyQuoteID> </PolicyDetailsBinderInfoDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ActionResultDTO
ActionResultDTOName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
InfoMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "ErrorCode": "sample string 2", "ErrorMessage": "sample string 3", "InfoMessage": "sample string 4" }
application/xml, text/xml
Sample:
<ActionResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <InfoMessage>sample string 4</InfoMessage> <IsSuccess>true</IsSuccess> </ActionResultDTO>