POST api/TripAdmin/AddTrips
Request Information
URI Parameters
None.
Body Parameters
TripDetailsAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| trip | JsonTripDetails |
None. |
|
| repeat | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"trip": {
"a": 1,
"b": "sample string 2",
"c": "sample string 3",
"d": 64,
"e": 1,
"f": 1,
"g": 1,
"h": 1,
"i": 1,
"j": 1,
"k": true,
"l": 64,
"m": true,
"n": 1,
"o": "2025-12-11T22:46:23.0656246-08:00",
"p": 1,
"q": 1,
"r": 1
},
"repeat": 1
}
application/xml, text/xml
Sample:
<TripDetailsAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ttadmin.Common.Request">
<repeat>1</repeat>
<trip>
<a>1</a>
<b>sample string 2</b>
<c>sample string 3</c>
<d>64</d>
<e>1</e>
<f>1</f>
<g>1</g>
<h>1</h>
<i>1</i>
<j>1</j>
<k>true</k>
<l>64</l>
<m>true</m>
<n>1</n>
<o>2025-12-11T22:46:23.0656246-08:00</o>
<p>1</p>
<q>1</q>
<r>1</r>
</trip>
</TripDetailsAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TripDetailsAddResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| a | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"a": 1
}
application/xml, text/xml
Sample:
<TripDetailsAddResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ttadmin.Common.Request"> <a>1</a> </TripDetailsAddResponse>