POST api/TravelForm/TravelSectionTwo
Request Information
URI Parameters
None.
Body Parameters
TravelsSectionTwo| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionII_ID | integer |
None. |
|
| TravelID | integer |
None. |
|
| DateTime | date |
None. |
|
| SecII_FuelExpense | decimal number |
None. |
|
| SecII_TollExpense | decimal number |
None. |
|
| SecII_BusOtherFair | decimal number |
None. |
|
| SecII_Accommodation | decimal number |
None. |
|
| SecII_RentalDriverDA | decimal number |
None. |
|
| SecII_InterCityTravel | decimal number |
None. |
|
| SecII_OtherExpenses | decimal number |
None. |
|
| SecII_Total | decimal number |
None. |
|
| SecII_Remarks | string |
None. |
|
| IsCompleted | boolean |
None. |
|
| EnterdByEmployeeCode | string |
None. |
|
| IsModified | boolean |
None. |
|
| ModifyDateTime | date |
None. |
|
| ModifyByEmployeeCode | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SectionII_ID": 1,
"TravelID": 1,
"DateTime": "2025-12-17T11:13:13.0983003-08:00",
"SecII_FuelExpense": 1.1,
"SecII_TollExpense": 1.1,
"SecII_BusOtherFair": 1.1,
"SecII_Accommodation": 1.1,
"SecII_RentalDriverDA": 1.1,
"SecII_InterCityTravel": 1.1,
"SecII_OtherExpenses": 1.1,
"SecII_Total": 1.1,
"SecII_Remarks": "sample string 2",
"IsCompleted": true,
"EnterdByEmployeeCode": "sample string 3",
"IsModified": true,
"ModifyDateTime": "2025-12-17T11:13:13.0983003-08:00",
"ModifyByEmployeeCode": "sample string 4",
"IsActive": true
}
text/plain
Sample:
{"SectionII_ID":1,"TravelID":1,"DateTime":"2025-12-17T11:13:13.0983003-08:00","SecII_FuelExpense":1.1,"SecII_TollExpense":1.1,"SecII_BusOtherFair":1.1,"SecII_Accommodation":1.1,"SecII_RentalDriverDA":1.1,"SecII_InterCityTravel":1.1,"SecII_OtherExpenses":1.1,"SecII_Total":1.1,"SecII_Remarks":"sample string 2","IsCompleted":true,"EnterdByEmployeeCode":"sample string 3","IsModified":true,"ModifyDateTime":"2025-12-17T11:13:13.0983003-08:00","ModifyByEmployeeCode":"sample string 4","IsActive":true}
application/xml, text/xml
Sample:
<TravelsSectionTwo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><DateTime>2025-12-17T11:13:13.0983003-08:00</DateTime><EnterdByEmployeeCode>sample string 3</EnterdByEmployeeCode><IsActive>true</IsActive><IsCompleted>true</IsCompleted><IsModified>true</IsModified><ModifyByEmployeeCode>sample string 4</ModifyByEmployeeCode><ModifyDateTime>2025-12-17T11:13:13.0983003-08:00</ModifyDateTime><SecII_Accommodation>1.1</SecII_Accommodation><SecII_BusOtherFair>1.1</SecII_BusOtherFair><SecII_FuelExpense>1.1</SecII_FuelExpense><SecII_InterCityTravel>1.1</SecII_InterCityTravel><SecII_OtherExpenses>1.1</SecII_OtherExpenses><SecII_Remarks>sample string 2</SecII_Remarks><SecII_RentalDriverDA>1.1</SecII_RentalDriverDA><SecII_TollExpense>1.1</SecII_TollExpense><SecII_Total>1.1</SecII_Total><SectionII_ID>1</SectionII_ID><TravelID>1</TravelID></TravelsSectionTwo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/plain, application/xml, text/xml
Sample:
Sample not available.