POST api/TravelForm/TravelSectionThree

Request Information

URI Parameters

None.

Body Parameters

TravelSectionIII
NameDescriptionTypeAdditional information
TravelSectionIII1

integer

None.

DateTime

date

None.

TravelID

integer

None.

EmployeeCode

string

None.

fromDateTime

date

None.

toDateTime

date

None.

isOfficeAccoumadation

boolean

None.

isPersonalAccoumadation

boolean

None.

isDepositSlip

boolean

None.

slipAmount

decimal number

None.

NoOfDays

decimal number

None.

NoOfNights

decimal number

None.

TotalHours

decimal number

None.

DailyAllowance

decimal number

None.

TotalAccoumadations

decimal number

None.

EnterdByEmployee

string

None.

LastModifyByEmployee

string

None.

LastModifyDateTime

date

None.

IsActive

boolean

None.

PerDiemEntitlement

decimal number

None.

AccoumadationAllowancePerNight

decimal number

None.

TotalAmount

decimal number

None.

isDeleted

boolean

None.

FullName

string

None.

Designation

string

None.

Grade

string

None.

ContactNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TravelSectionIII1": 1,
  "DateTime": "2025-12-17T11:13:23.8163423-08:00",
  "TravelID": 1,
  "EmployeeCode": "sample string 2",
  "fromDateTime": "2025-12-17T11:13:23.8163423-08:00",
  "toDateTime": "2025-12-17T11:13:23.8163423-08:00",
  "isOfficeAccoumadation": true,
  "isPersonalAccoumadation": true,
  "isDepositSlip": true,
  "slipAmount": 1.1,
  "NoOfDays": 1.1,
  "NoOfNights": 1.1,
  "TotalHours": 1.1,
  "DailyAllowance": 1.1,
  "TotalAccoumadations": 1.1,
  "EnterdByEmployee": "sample string 3",
  "LastModifyByEmployee": "sample string 4",
  "LastModifyDateTime": "2025-12-17T11:13:23.8163423-08:00",
  "IsActive": true,
  "PerDiemEntitlement": 1.1,
  "AccoumadationAllowancePerNight": 1.1,
  "TotalAmount": 1.1,
  "isDeleted": true,
  "FullName": "sample string 5",
  "Designation": "sample string 6",
  "Grade": "sample string 7",
  "ContactNumber": "sample string 8"
}

text/plain

Sample:
{"TravelSectionIII1":1,"DateTime":"2025-12-17T11:13:23.8163423-08:00","TravelID":1,"EmployeeCode":"sample string 2","fromDateTime":"2025-12-17T11:13:23.8163423-08:00","toDateTime":"2025-12-17T11:13:23.8163423-08:00","isOfficeAccoumadation":true,"isPersonalAccoumadation":true,"isDepositSlip":true,"slipAmount":1.1,"NoOfDays":1.1,"NoOfNights":1.1,"TotalHours":1.1,"DailyAllowance":1.1,"TotalAccoumadations":1.1,"EnterdByEmployee":"sample string 3","LastModifyByEmployee":"sample string 4","LastModifyDateTime":"2025-12-17T11:13:23.8163423-08:00","IsActive":true,"PerDiemEntitlement":1.1,"AccoumadationAllowancePerNight":1.1,"TotalAmount":1.1,"isDeleted":true,"FullName":"sample string 5","Designation":"sample string 6","Grade":"sample string 7","ContactNumber":"sample string 8"}

application/xml, text/xml

Sample:
<TravelSectionIII xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><AccoumadationAllowancePerNight>1.1</AccoumadationAllowancePerNight><ContactNumber>sample string 8</ContactNumber><DailyAllowance>1.1</DailyAllowance><DateTime>2025-12-17T11:13:23.8163423-08:00</DateTime><Designation>sample string 6</Designation><EmployeeCode>sample string 2</EmployeeCode><EnterdByEmployee>sample string 3</EnterdByEmployee><FullName>sample string 5</FullName><Grade>sample string 7</Grade><IsActive>true</IsActive><LastModifyByEmployee>sample string 4</LastModifyByEmployee><LastModifyDateTime>2025-12-17T11:13:23.8163423-08:00</LastModifyDateTime><NoOfDays>1.1</NoOfDays><NoOfNights>1.1</NoOfNights><PerDiemEntitlement>1.1</PerDiemEntitlement><TotalAccoumadations>1.1</TotalAccoumadations><TotalAmount>1.1</TotalAmount><TotalHours>1.1</TotalHours><TravelID>1</TravelID><TravelSectionIII1>1</TravelSectionIII1><fromDateTime>2025-12-17T11:13:23.8163423-08:00</fromDateTime><isDeleted>true</isDeleted><isDepositSlip>true</isDepositSlip><isOfficeAccoumadation>true</isOfficeAccoumadation><isPersonalAccoumadation>true</isPersonalAccoumadation><slipAmount>1.1</slipAmount><toDateTime>2025-12-17T11:13:23.8163423-08:00</toDateTime></TravelSectionIII>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TravelSectionIII'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/xml, text/xml

Sample:

Sample not available.