POST api/Insurance/BookInsuarnce
Request Information
URI Parameters
None.
Body Parameters
InsuranceDTOName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
None. |
|
VechicleDetails | string |
None. |
|
DeliveryAddress | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "7d7e9b1b-eed2-4f3b-bc52-9809cc47945c", "VechicleDetails": "sample string 2", "DeliveryAddress": "7262c7d9-1156-4fa9-9165-c2eb409d0f34" }
application/xml, text/xml
Sample:
<InsuranceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO"> <DeliveryAddress>7262c7d9-1156-4fa9-9165-c2eb409d0f34</DeliveryAddress> <UserID>7d7e9b1b-eed2-4f3b-bc52-9809cc47945c</UserID> <VechicleDetails>sample string 2</VechicleDetails> </InsuranceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDtoOfObjectName | Description | Type | Additional information |
---|---|---|---|
Status_cd | boolean |
None. |
|
Data | Object |
None. |
|
status_Desc | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status_cd": true, "Data": {}, "status_Desc": "sample string 3" }
application/xml, text/xml
Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO"> <Data /> <Status_cd>true</Status_cd> <status_Desc>sample string 3</status_Desc> </ResponseDtoOfanyType>