POST Api/Resource/TimeRegistration/Submit

Mark the week as submitted

Request Information

URI Parameters

None.

Body Parameters

TimeRequestSubmitModel
NameDescriptionTypeAdditional information
ForUserID

integer

Required

Date

date

Required

Request Formats

application/json, text/json

Sample:
{
  "ForUserID": 1,
  "Date": "2024-12-22T08:31:00.5433048+01:00"
}

application/xml, text/xml

Sample:
<TimeRequestSubmitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models">
  <Date>2024-12-22T08:31:00.5433048+01:00</Date>
  <ForUserID>1</ForUserID>
</TimeRequestSubmitModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.