POST api/TravelForm/FinalSubmission

Request Information

URI Parameters

None.

Body Parameters

NextSection
NameDescriptionTypeAdditional information
TravelSectionTwoVm

TravelsSectionTwo

None.

TravelSectionIIIVm

Collection of TravelSectionIII

None.

ReceivedAdvanceAmount

decimal number

None.

GrandExpenditure

decimal number

None.

GrandDailyAllowance

decimal number

None.

GrandAccoumadations

decimal number

None.

DeductionByAudit

decimal number

None.

AuditRemarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TravelSectionTwoVm": {
    "SectionII_ID": 1,
    "TravelID": 1,
    "DateTime": "2025-12-17T11:13:22.3164541-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:22.3164541-08:00",
    "ModifyByEmployeeCode": "sample string 4",
    "IsActive": true
  },
  "TravelSectionIIIVm": [
    {
      "TravelSectionIII1": 1,
      "DateTime": "2025-12-17T11:13:22.3164541-08:00",
      "TravelID": 1,
      "EmployeeCode": "sample string 2",
      "fromDateTime": "2025-12-17T11:13:22.3164541-08:00",
      "toDateTime": "2025-12-17T11:13:22.3164541-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:22.3164541-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"
    },
    {
      "TravelSectionIII1": 1,
      "DateTime": "2025-12-17T11:13:22.3164541-08:00",
      "TravelID": 1,
      "EmployeeCode": "sample string 2",
      "fromDateTime": "2025-12-17T11:13:22.3164541-08:00",
      "toDateTime": "2025-12-17T11:13:22.3164541-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:22.3164541-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"
    }
  ],
  "ReceivedAdvanceAmount": 1.1,
  "GrandExpenditure": 1.1,
  "GrandDailyAllowance": 1.1,
  "GrandAccoumadations": 1.1,
  "DeductionByAudit": 1.1,
  "AuditRemarks": "sample string 1"
}

text/plain

Sample:
{"TravelSectionTwoVm":{"SectionII_ID":1,"TravelID":1,"DateTime":"2025-12-17T11:13:22.3164541-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:22.3164541-08:00","ModifyByEmployeeCode":"sample string 4","IsActive":true},"TravelSectionIIIVm":[{"TravelSectionIII1":1,"DateTime":"2025-12-17T11:13:22.3164541-08:00","TravelID":1,"EmployeeCode":"sample string 2","fromDateTime":"2025-12-17T11:13:22.3164541-08:00","toDateTime":"2025-12-17T11:13:22.3164541-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:22.3164541-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"},{"TravelSectionIII1":1,"DateTime":"2025-12-17T11:13:22.3164541-08:00","TravelID":1,"EmployeeCode":"sample string 2","fromDateTime":"2025-12-17T11:13:22.3164541-08:00","toDateTime":"2025-12-17T11:13:22.3164541-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:22.3164541-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"}],"ReceivedAdvanceAmount":1.1,"GrandExpenditure":1.1,"GrandDailyAllowance":1.1,"GrandAccoumadations":1.1,"DeductionByAudit":1.1,"AuditRemarks":"sample string 1"}

application/xml, text/xml

Sample:
<NextSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI.Models.Travelforms"><AuditRemarks>sample string 1</AuditRemarks><DeductionByAudit>1.1</DeductionByAudit><GrandAccoumadations>1.1</GrandAccoumadations><GrandDailyAllowance>1.1</GrandDailyAllowance><GrandExpenditure>1.1</GrandExpenditure><ReceivedAdvanceAmount>1.1</ReceivedAdvanceAmount><TravelSectionIIIVm xmlns:d2p1="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><d2p1:TravelSectionIII><d2p1:AccoumadationAllowancePerNight>1.1</d2p1:AccoumadationAllowancePerNight><d2p1:ContactNumber>sample string 8</d2p1:ContactNumber><d2p1:DailyAllowance>1.1</d2p1:DailyAllowance><d2p1:DateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:DateTime><d2p1:Designation>sample string 6</d2p1:Designation><d2p1:EmployeeCode>sample string 2</d2p1:EmployeeCode><d2p1:EnterdByEmployee>sample string 3</d2p1:EnterdByEmployee><d2p1:FullName>sample string 5</d2p1:FullName><d2p1:Grade>sample string 7</d2p1:Grade><d2p1:IsActive>true</d2p1:IsActive><d2p1:LastModifyByEmployee>sample string 4</d2p1:LastModifyByEmployee><d2p1:LastModifyDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:LastModifyDateTime><d2p1:NoOfDays>1.1</d2p1:NoOfDays><d2p1:NoOfNights>1.1</d2p1:NoOfNights><d2p1:PerDiemEntitlement>1.1</d2p1:PerDiemEntitlement><d2p1:TotalAccoumadations>1.1</d2p1:TotalAccoumadations><d2p1:TotalAmount>1.1</d2p1:TotalAmount><d2p1:TotalHours>1.1</d2p1:TotalHours><d2p1:TravelID>1</d2p1:TravelID><d2p1:TravelSectionIII1>1</d2p1:TravelSectionIII1><d2p1:fromDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:fromDateTime><d2p1:isDeleted>true</d2p1:isDeleted><d2p1:isDepositSlip>true</d2p1:isDepositSlip><d2p1:isOfficeAccoumadation>true</d2p1:isOfficeAccoumadation><d2p1:isPersonalAccoumadation>true</d2p1:isPersonalAccoumadation><d2p1:slipAmount>1.1</d2p1:slipAmount><d2p1:toDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:toDateTime></d2p1:TravelSectionIII><d2p1:TravelSectionIII><d2p1:AccoumadationAllowancePerNight>1.1</d2p1:AccoumadationAllowancePerNight><d2p1:ContactNumber>sample string 8</d2p1:ContactNumber><d2p1:DailyAllowance>1.1</d2p1:DailyAllowance><d2p1:DateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:DateTime><d2p1:Designation>sample string 6</d2p1:Designation><d2p1:EmployeeCode>sample string 2</d2p1:EmployeeCode><d2p1:EnterdByEmployee>sample string 3</d2p1:EnterdByEmployee><d2p1:FullName>sample string 5</d2p1:FullName><d2p1:Grade>sample string 7</d2p1:Grade><d2p1:IsActive>true</d2p1:IsActive><d2p1:LastModifyByEmployee>sample string 4</d2p1:LastModifyByEmployee><d2p1:LastModifyDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:LastModifyDateTime><d2p1:NoOfDays>1.1</d2p1:NoOfDays><d2p1:NoOfNights>1.1</d2p1:NoOfNights><d2p1:PerDiemEntitlement>1.1</d2p1:PerDiemEntitlement><d2p1:TotalAccoumadations>1.1</d2p1:TotalAccoumadations><d2p1:TotalAmount>1.1</d2p1:TotalAmount><d2p1:TotalHours>1.1</d2p1:TotalHours><d2p1:TravelID>1</d2p1:TravelID><d2p1:TravelSectionIII1>1</d2p1:TravelSectionIII1><d2p1:fromDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:fromDateTime><d2p1:isDeleted>true</d2p1:isDeleted><d2p1:isDepositSlip>true</d2p1:isDepositSlip><d2p1:isOfficeAccoumadation>true</d2p1:isOfficeAccoumadation><d2p1:isPersonalAccoumadation>true</d2p1:isPersonalAccoumadation><d2p1:slipAmount>1.1</d2p1:slipAmount><d2p1:toDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:toDateTime></d2p1:TravelSectionIII></TravelSectionIIIVm><TravelSectionTwoVm xmlns:d2p1="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><d2p1:DateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:DateTime><d2p1:EnterdByEmployeeCode>sample string 3</d2p1:EnterdByEmployeeCode><d2p1:IsActive>true</d2p1:IsActive><d2p1:IsCompleted>true</d2p1:IsCompleted><d2p1:IsModified>true</d2p1:IsModified><d2p1:ModifyByEmployeeCode>sample string 4</d2p1:ModifyByEmployeeCode><d2p1:ModifyDateTime>2025-12-17T11:13:22.3164541-08:00</d2p1:ModifyDateTime><d2p1:SecII_Accommodation>1.1</d2p1:SecII_Accommodation><d2p1:SecII_BusOtherFair>1.1</d2p1:SecII_BusOtherFair><d2p1:SecII_FuelExpense>1.1</d2p1:SecII_FuelExpense><d2p1:SecII_InterCityTravel>1.1</d2p1:SecII_InterCityTravel><d2p1:SecII_OtherExpenses>1.1</d2p1:SecII_OtherExpenses><d2p1:SecII_Remarks>sample string 2</d2p1:SecII_Remarks><d2p1:SecII_RentalDriverDA>1.1</d2p1:SecII_RentalDriverDA><d2p1:SecII_TollExpense>1.1</d2p1:SecII_TollExpense><d2p1:SecII_Total>1.1</d2p1:SecII_Total><d2p1:SectionII_ID>1</d2p1:SectionII_ID><d2p1:TravelID>1</d2p1:TravelID></TravelSectionTwoVm></NextSection>

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 'NextSection'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.