POST Task/CheckOut

Request Information

URI Parameters

None.

Body Parameters

TaskCheckInAndCheckOut
NameDescriptionTypeAdditional information
Id

integer

None.

TaskId

integer

None.

RouteId

integer

None.

UserId

integer

None.

CheckinDate

date

None.

CheckOutDate

date

None.

FolderPath

string

None.

IsActive

boolean

None.

Date

date

None.

ObjectState

ObjectState

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TaskId": 2,
  "RouteId": 3,
  "UserId": 4,
  "CheckinDate": "2025-12-14T06:33:21.1948403+05:30",
  "CheckOutDate": "2025-12-14T06:33:21.1948403+05:30",
  "FolderPath": "sample string 5",
  "IsActive": true,
  "Date": "2025-12-14T06:33:21.1948403+05:30",
  "ObjectState": 0
}

text/html

Sample:
{"Id":1,"TaskId":2,"RouteId":3,"UserId":4,"CheckinDate":"2025-12-14T06:33:21.1948403+05:30","CheckOutDate":"2025-12-14T06:33:21.1948403+05:30","FolderPath":"sample string 5","IsActive":true,"Date":"2025-12-14T06:33:21.1948403+05:30","ObjectState":0}

application/xml, text/xml

Sample:
<TaskCheckInAndCheckOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Data">
  <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Repository.Pattern.Ef6">Unchanged</ObjectState>
  <CheckOutDate>2025-12-14T06:33:21.1948403+05:30</CheckOutDate>
  <CheckinDate>2025-12-14T06:33:21.1948403+05:30</CheckinDate>
  <Date>2025-12-14T06:33:21.1948403+05:30</Date>
  <FolderPath>sample string 5</FolderPath>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <RouteId>3</RouteId>
  <TaskId>2</TaskId>
  <UserId>4</UserId>
</TaskCheckInAndCheckOut>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.