POST v1/quotationAndPurchase/convertQuotationToPolicyGB
Request Information
URI Parameters
None.
Body Parameters
convertQuotationToPolicyGenRequestName | Description | Type | Additional information |
---|---|---|---|
quoteNo | string |
None. |
|
paymentMode | paymentModeData |
None. |
|
creditNote | creditNoteData |
None. |
|
paymentReference | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "quoteNo": "sample string 1", "paymentMode": 0, "creditNote": { "creditNote": "sample string 1", "useCreditNote": true }, "paymentReference": "sample string 2" }
application/xml, text/xml
Sample:
<convertQuotationToPolicyGenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.quotationAndPurchase"> <creditNote> <creditNote>sample string 1</creditNote> <useCreditNote>true</useCreditNote> </creditNote> <paymentMode>creditNote</paymentMode> <paymentReference>sample string 2</paymentReference> <quoteNo>sample string 1</quoteNo> </convertQuotationToPolicyGenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"quoteNo":"sample string 1","paymentMode":0,"creditNote":{"creditNote":"sample string 1","useCreditNote":true},"paymentReference":"sample string 2"}
Response Information
Resource Description
convertQuotationToPolicyResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
message | string |
None. |
|
policyNo | string |
None. |
|
inspectionLink_video | string |
None. |
|
inspectionLink_image | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "errorMsg": "sample string 2", "message": "sample string 3", "policyNo": "sample string 4", "inspectionLink_video": "sample string 5", "inspectionLink_image": "sample string 6" }
application/xml, text/xml
Sample:
<convertQuotationToPolicyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.quotationAndPurchase"> <errorMsg>sample string 2</errorMsg> <inspectionLink_image>sample string 6</inspectionLink_image> <inspectionLink_video>sample string 5</inspectionLink_video> <message>sample string 3</message> <policyNo>sample string 4</policyNo> <success>true</success> </convertQuotationToPolicyResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2","message":"sample string 3","policyNo":"sample string 4","inspectionLink_video":"sample string 5","inspectionLink_image":"sample string 6"}