PUT api/RegulariseTravelRequest/search

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "TRAVEL_REQ_ID": 1,
  "TRAVEL_REQ_DATE": "2025-01-11T12:59:13.6578589+03:00",
  "TRAVEL_REQ_CODE": "sample string 2",
  "COMMENTS": "sample string 3",
  "HR_COMMENTS": "sample string 4",
  "EMP_ID": 1,
  "STATUS_ID": 1,
  "STATUS_NAME": "sample string 5",
  "APPROVER_ID": 1,
  "APPROVER_COMMENTS": "sample string 6",
  "APPROVER_STATUS_ID": 1,
  "WORK_FLOW_ID": 1,
  "APPROVER_TYPE": "sample string 7",
  "APPROVER_IS_SUPER_POWER": true,
  "CITY": "sample string 8",
  "CTRY_ID": 1,
  "PROJ_ID": 1,
  "COMP_TO_VISIT": "sample string 9",
  "CONTACT": "sample string 10",
  "DEP_DATE": "2025-01-11T12:59:13.6578589+03:00",
  "ARR_DATE": "2025-01-11T12:59:13.6578589+03:00",
  "PROJ_NAME": "sample string 11",
  "FIRST_NAME": "sample string 12",
  "FILE_NO": 1,
  "CTRY_NAME": "sample string 13",
  "CREATE_DATE": "2025-01-11T12:59:13.6578589+03:00"
}

application/xml, text/xml

Sample:
<TravelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.MyRequest">
  <APPROVER_COMMENTS>sample string 6</APPROVER_COMMENTS>
  <APPROVER_ID>1</APPROVER_ID>
  <APPROVER_IS_SUPER_POWER>true</APPROVER_IS_SUPER_POWER>
  <APPROVER_STATUS_ID>1</APPROVER_STATUS_ID>
  <APPROVER_TYPE>sample string 7</APPROVER_TYPE>
  <ARR_DATE>2025-01-11T12:59:13.6578589+03:00</ARR_DATE>
  <CITY>sample string 8</CITY>
  <COMMENTS>sample string 3</COMMENTS>
  <COMP_TO_VISIT>sample string 9</COMP_TO_VISIT>
  <CONTACT>sample string 10</CONTACT>
  <CREATE_DATE>2025-01-11T12:59:13.6578589+03:00</CREATE_DATE>
  <CTRY_ID>1</CTRY_ID>
  <CTRY_NAME>sample string 13</CTRY_NAME>
  <DEP_DATE>2025-01-11T12:59:13.6578589+03:00</DEP_DATE>
  <EMP_ID>1</EMP_ID>
  <FILE_NO>1</FILE_NO>
  <FIRST_NAME>sample string 12</FIRST_NAME>
  <HR_COMMENTS>sample string 4</HR_COMMENTS>
  <PROJ_ID>1</PROJ_ID>
  <PROJ_NAME>sample string 11</PROJ_NAME>
  <STATUS_ID>1</STATUS_ID>
  <STATUS_NAME>sample string 5</STATUS_NAME>
  <TRAVEL_REQ_CODE>sample string 2</TRAVEL_REQ_CODE>
  <TRAVEL_REQ_DATE>2025-01-11T12:59:13.6578589+03:00</TRAVEL_REQ_DATE>
  <TRAVEL_REQ_ID>1</TRAVEL_REQ_ID>
  <WORK_FLOW_ID>1</WORK_FLOW_ID>
</TravelRequest>

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