POST api/GIT/AddSingleTransit
Request Information
URI Parameters
None.
Body Parameters
SingleTransitRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InsuredName | string |
None. |
|
| CoverType | string |
None. |
|
| StartDate | date |
None. |
|
| DOB | date |
None. |
|
| State | string |
None. |
|
| Address | string |
None. |
|
| duration | decimal number |
None. |
|
| DescriptionOfProperty | string |
None. |
|
| VehicleReg | string |
None. |
|
| VoyageTo | string |
None. |
|
| VoyageFrom | string |
None. |
|
| SumInsured | decimal number |
None. |
|
| GeographicalLocation | string |
None. |
|
| SubmittedBy | string |
None. |
|
| UserID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InsuredName": "sample string 1",
"CoverType": "sample string 2",
"StartDate": "2026-09-01T05:40:11.5426378+01:00",
"DOB": "2026-09-01T05:40:11.5426378+01:00",
"State": "sample string 5",
"Address": "sample string 6",
"duration": 7.1,
"DescriptionOfProperty": "sample string 8",
"VehicleReg": "sample string 9",
"VoyageTo": "sample string 10",
"VoyageFrom": "sample string 11",
"SumInsured": 12.0,
"GeographicalLocation": "sample string 13",
"SubmittedBy": "sample string 14",
"UserID": "sample string 15"
}
application/xml, text/xml
Sample:
<SingleTransitRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.Models.GIT"> <Address>sample string 6</Address> <CoverType>sample string 2</CoverType> <DOB>2026-09-01T05:40:11.5426378+01:00</DOB> <DescriptionOfProperty>sample string 8</DescriptionOfProperty> <GeographicalLocation>sample string 13</GeographicalLocation> <InsuredName>sample string 1</InsuredName> <StartDate>2026-09-01T05:40:11.5426378+01:00</StartDate> <State>sample string 5</State> <SubmittedBy>sample string 14</SubmittedBy> <SumInsured>12</SumInsured> <UserID>sample string 15</UserID> <VehicleReg>sample string 9</VehicleReg> <VoyageFrom>sample string 11</VoyageFrom> <VoyageTo>sample string 10</VoyageTo> <duration>7.1</duration> </SingleTransitRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GITResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| QouteNo | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"QouteNo": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<GITResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.Models.GIT"> <IsSuccessful>true</IsSuccessful> <Message>sample string 3</Message> <QouteNo>sample string 2</QouteNo> </GITResponse>