POST api/Users/ClockInOut

Documentation for 'ClockInOut'.

Request Information

Parameters

NameDescriptionAdditional information
UserDailyLogModel
Documentation for 'UserDailyLogModel'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "BoothAppUserId": 1,
  "ClockIn": "2024-10-05T02:27:28.5846639-04:00",
  "ClockOut": "2024-10-05T02:27:28.5846639-04:00",
  "BreakHours": 1,
  "BreakMin": 1,
  "FullShots": 3,
  "PartialShots": 4,
  "Comments": "sample string 5",
  "LoggedDate": "2024-10-05T02:27:28.5846639-04:00",
  "Miles": 6
}

application/xml, text/xml

Sample:
<BoothApp_User_ClockInOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoothApp.Common">
  <BoothAppUserId>1</BoothAppUserId>
  <BreakHours>1</BreakHours>
  <BreakMin>1</BreakMin>
  <ClockIn>2024-10-05T02:27:28.5846639-04:00</ClockIn>
  <ClockOut>2024-10-05T02:27:28.5846639-04:00</ClockOut>
  <Comments>sample string 5</Comments>
  <FullShots>3</FullShots>
  <LoggedDate>2024-10-05T02:27:28.5846639-04:00</LoggedDate>
  <Miles>6</Miles>
  <PartialShots>4</PartialShots>
</BoothApp_User_ClockInOut>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>