POST Api/Resource/TimeRegistration/V2/Post

Add a new registration.

Request Information

URI Parameters

None.

Body Parameters

UpdateRegistrationScheduling
NameDescriptionTypeAdditional information
RegistrationId

integer

None.

UniqueIdentifier

string

None.

UserId

integer

None.

ForEmployeeId

string

None.

Date

date

None.

StartTime

date

None.

EndTime

date

None.

CodeType

integer

None.

CodeId

string

None.

Remark

string

None.

Submit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RegistrationId": 1,
  "UniqueIdentifier": "sample string 2",
  "UserId": 3,
  "ForEmployeeId": "sample string 4",
  "Date": "2024-12-22T07:53:50.8430053+01:00",
  "StartTime": "2024-12-22T07:53:50.8430053+01:00",
  "EndTime": "2024-12-22T07:53:50.8430053+01:00",
  "CodeType": 8,
  "CodeId": "sample string 9",
  "Remark": "sample string 10",
  "Submit": true
}

application/xml, text/xml

Sample:
<UpdateRegistrationScheduling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.TimeRegistrationObjects.TimeRegistration">
  <RegistrationId>1</RegistrationId>
  <UniqueIdentifier>sample string 2</UniqueIdentifier>
  <UserId>3</UserId>
  <ForEmployeeId>sample string 4</ForEmployeeId>
  <Date>2024-12-22T07:53:50.8430053+01:00</Date>
  <StartTime>2024-12-22T07:53:50.8430053+01:00</StartTime>
  <EndTime>2024-12-22T07:53:50.8430053+01:00</EndTime>
  <CodeType>8</CodeType>
  <CodeId>sample string 9</CodeId>
  <Remark>sample string 10</Remark>
  <Submit>true</Submit>
</UpdateRegistrationScheduling>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateRegistrationScheduling
NameDescriptionTypeAdditional information
RegistrationId

integer

None.

UniqueIdentifier

string

None.

UserId

integer

None.

ForEmployeeId

string

None.

Date

date

None.

StartTime

date

None.

EndTime

date

None.

CodeType

integer

None.

CodeId

string

None.

Remark

string

None.

Submit

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "RegistrationId": 1,
  "UniqueIdentifier": "sample string 2",
  "UserId": 3,
  "ForEmployeeId": "sample string 4",
  "Date": "2024-12-22T07:53:50.8430053+01:00",
  "StartTime": "2024-12-22T07:53:50.8430053+01:00",
  "EndTime": "2024-12-22T07:53:50.8430053+01:00",
  "CodeType": 8,
  "CodeId": "sample string 9",
  "Remark": "sample string 10",
  "Submit": true
}

application/xml, text/xml

Sample:
<UpdateRegistrationScheduling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.TimeRegistrationObjects.TimeRegistration">
  <RegistrationId>1</RegistrationId>
  <UniqueIdentifier>sample string 2</UniqueIdentifier>
  <UserId>3</UserId>
  <ForEmployeeId>sample string 4</ForEmployeeId>
  <Date>2024-12-22T07:53:50.8430053+01:00</Date>
  <StartTime>2024-12-22T07:53:50.8430053+01:00</StartTime>
  <EndTime>2024-12-22T07:53:50.8430053+01:00</EndTime>
  <CodeType>8</CodeType>
  <CodeId>sample string 9</CodeId>
  <Remark>sample string 10</Remark>
  <Submit>true</Submit>
</UpdateRegistrationScheduling>