GET Api/Resource/TimeRegistration/V2/Get?startDate={startDate}&endDate={endDate}&forUserID={forUserID}&getHistory={getHistory}

Get the overview with registration to update and submit.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

date

Required

endDate

date

Required

forUserID

integer

Required

getHistory

boolean

Required

Body Parameters

None.

Response Information

Resource Description

RegistrationComponents
NameDescriptionTypeAdditional information
Employee

RegistrationCode

None.

StartPeriod

date

None.

EndPeriod

date

None.

RegistrationCodePerCodeType

Dictionary of CodeType [key] and Collection of RegistrationCode [value]

None.

PlannedSchedulings

Collection of RegistrationScheduling

None.

RegisterdSchedulings

Collection of RegistrationScheduling

None.

Response Formats

application/json, text/json

Sample:
{
  "Employee": {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "Details1": "sample string 3",
    "Details2": "sample string 4",
    "Color": 5,
    "ActivityInfo": {
      "Location": "sample string 1",
      "Customer": "sample string 2"
    }
  },
  "StartPeriod": "2024-12-22T07:49:46.0057979+01:00",
  "EndPeriod": "2024-12-22T07:49:46.0057979+01:00",
  "RegistrationCodePerCodeType": {
    "Activity": [
      {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Details1": "sample string 3",
        "Details2": "sample string 4",
        "Color": 5,
        "ActivityInfo": {
          "Location": "sample string 1",
          "Customer": "sample string 2"
        }
      },
      {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Details1": "sample string 3",
        "Details2": "sample string 4",
        "Color": 5,
        "ActivityInfo": {
          "Location": "sample string 1",
          "Customer": "sample string 2"
        }
      }
    ]
  },
  "PlannedSchedulings": [
    {
      "RegistrationId": 1,
      "UniqueIdentifier": "sample string 2",
      "Date": "2024-12-22T07:49:46.0057979+01:00",
      "StartTime": "2024-12-22T07:49:46.0057979+01:00",
      "EndTime": "2024-12-22T07:49:46.0057979+01:00",
      "ScheduledCodeId": "sample string 6",
      "ExtraRequiredCode": "sample string 7",
      "CodeType": 1,
      "Status": [
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        },
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        }
      ],
      "IsDeleted": true,
      "IsValidRegistration": true,
      "RegistrationType": 0
    },
    {
      "RegistrationId": 1,
      "UniqueIdentifier": "sample string 2",
      "Date": "2024-12-22T07:49:46.0057979+01:00",
      "StartTime": "2024-12-22T07:49:46.0057979+01:00",
      "EndTime": "2024-12-22T07:49:46.0057979+01:00",
      "ScheduledCodeId": "sample string 6",
      "ExtraRequiredCode": "sample string 7",
      "CodeType": 1,
      "Status": [
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        },
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        }
      ],
      "IsDeleted": true,
      "IsValidRegistration": true,
      "RegistrationType": 0
    }
  ],
  "RegisterdSchedulings": [
    {
      "RegistrationId": 1,
      "UniqueIdentifier": "sample string 2",
      "Date": "2024-12-22T07:49:46.0057979+01:00",
      "StartTime": "2024-12-22T07:49:46.0057979+01:00",
      "EndTime": "2024-12-22T07:49:46.0057979+01:00",
      "ScheduledCodeId": "sample string 6",
      "ExtraRequiredCode": "sample string 7",
      "CodeType": 1,
      "Status": [
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        },
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        }
      ],
      "IsDeleted": true,
      "IsValidRegistration": true,
      "RegistrationType": 0
    },
    {
      "RegistrationId": 1,
      "UniqueIdentifier": "sample string 2",
      "Date": "2024-12-22T07:49:46.0057979+01:00",
      "StartTime": "2024-12-22T07:49:46.0057979+01:00",
      "EndTime": "2024-12-22T07:49:46.0057979+01:00",
      "ScheduledCodeId": "sample string 6",
      "ExtraRequiredCode": "sample string 7",
      "CodeType": 1,
      "Status": [
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        },
        {
          "StatusId": 1,
          "CreateDate": "2024-12-22T07:49:46.0057979+01:00",
          "CreatedById": 3,
          "Date": "2024-12-22T07:49:46.0057979+01:00",
          "StartTime": "2024-12-22T07:49:46.0057979+01:00",
          "EndTime": "2024-12-22T07:49:46.0057979+01:00",
          "ScheduledCodeId": "sample string 7",
          "Status": 0,
          "Remark": "sample string 8",
          "Reason": 0,
          "Result": 0
        }
      ],
      "IsDeleted": true,
      "IsValidRegistration": true,
      "RegistrationType": 0
    }
  ]
}

application/xml, text/xml

Sample:
<RegistrationComponents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.TimeRegistrationObjects.TimeRegistration">
  <Employee>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
    <Details1>sample string 3</Details1>
    <Details2>sample string 4</Details2>
    <Color>5</Color>
    <ActivityInfo>
      <Location>sample string 1</Location>
      <Customer>sample string 2</Customer>
    </ActivityInfo>
  </Employee>
  <StartPeriod>2024-12-22T07:49:46.0057979+01:00</StartPeriod>
  <EndPeriod>2024-12-22T07:49:46.0057979+01:00</EndPeriod>
  <RegistrationCodePerCodeType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfCodeTypeArrayOfRegistrationCodesxcaOXaY>
      <d2p1:Key>Activity</d2p1:Key>
      <d2p1:Value>
        <RegistrationCode>
          <Id>sample string 1</Id>
          <Name>sample string 2</Name>
          <Details1>sample string 3</Details1>
          <Details2>sample string 4</Details2>
          <Color>5</Color>
          <ActivityInfo>
            <Location>sample string 1</Location>
            <Customer>sample string 2</Customer>
          </ActivityInfo>
        </RegistrationCode>
        <RegistrationCode>
          <Id>sample string 1</Id>
          <Name>sample string 2</Name>
          <Details1>sample string 3</Details1>
          <Details2>sample string 4</Details2>
          <Color>5</Color>
          <ActivityInfo>
            <Location>sample string 1</Location>
            <Customer>sample string 2</Customer>
          </ActivityInfo>
        </RegistrationCode>
      </d2p1:Value>
    </d2p1:KeyValueOfCodeTypeArrayOfRegistrationCodesxcaOXaY>
  </RegistrationCodePerCodeType>
  <PlannedSchedulings>
    <RegistrationScheduling>
      <RegistrationId>1</RegistrationId>
      <UniqueIdentifier>sample string 2</UniqueIdentifier>
      <Date>2024-12-22T07:49:46.0057979+01:00</Date>
      <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
      <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
      <ScheduledCodeId>sample string 6</ScheduledCodeId>
      <ExtraRequiredCode>sample string 7</ExtraRequiredCode>
      <CodeType>Activity</CodeType>
      <Status>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
      </Status>
      <IsDeleted>true</IsDeleted>
      <IsValidRegistration>true</IsValidRegistration>
      <RegistrationType>Unknown</RegistrationType>
    </RegistrationScheduling>
    <RegistrationScheduling>
      <RegistrationId>1</RegistrationId>
      <UniqueIdentifier>sample string 2</UniqueIdentifier>
      <Date>2024-12-22T07:49:46.0057979+01:00</Date>
      <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
      <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
      <ScheduledCodeId>sample string 6</ScheduledCodeId>
      <ExtraRequiredCode>sample string 7</ExtraRequiredCode>
      <CodeType>Activity</CodeType>
      <Status>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
      </Status>
      <IsDeleted>true</IsDeleted>
      <IsValidRegistration>true</IsValidRegistration>
      <RegistrationType>Unknown</RegistrationType>
    </RegistrationScheduling>
  </PlannedSchedulings>
  <RegisterdSchedulings>
    <RegistrationScheduling>
      <RegistrationId>1</RegistrationId>
      <UniqueIdentifier>sample string 2</UniqueIdentifier>
      <Date>2024-12-22T07:49:46.0057979+01:00</Date>
      <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
      <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
      <ScheduledCodeId>sample string 6</ScheduledCodeId>
      <ExtraRequiredCode>sample string 7</ExtraRequiredCode>
      <CodeType>Activity</CodeType>
      <Status>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
      </Status>
      <IsDeleted>true</IsDeleted>
      <IsValidRegistration>true</IsValidRegistration>
      <RegistrationType>Unknown</RegistrationType>
    </RegistrationScheduling>
    <RegistrationScheduling>
      <RegistrationId>1</RegistrationId>
      <UniqueIdentifier>sample string 2</UniqueIdentifier>
      <Date>2024-12-22T07:49:46.0057979+01:00</Date>
      <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
      <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
      <ScheduledCodeId>sample string 6</ScheduledCodeId>
      <ExtraRequiredCode>sample string 7</ExtraRequiredCode>
      <CodeType>Activity</CodeType>
      <Status>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
        <RegistrationSchedulingStatus>
          <StatusId>1</StatusId>
          <CreateDate>2024-12-22T07:49:46.0057979+01:00</CreateDate>
          <CreatedById>3</CreatedById>
          <Date>2024-12-22T07:49:46.0057979+01:00</Date>
          <StartTime>2024-12-22T07:49:46.0057979+01:00</StartTime>
          <EndTime>2024-12-22T07:49:46.0057979+01:00</EndTime>
          <ScheduledCodeId>sample string 7</ScheduledCodeId>
          <Status>New</Status>
          <Remark>sample string 8</Remark>
          <Reason>None</Reason>
          <Result>None</Result>
        </RegistrationSchedulingStatus>
      </Status>
      <IsDeleted>true</IsDeleted>
      <IsValidRegistration>true</IsValidRegistration>
      <RegistrationType>Unknown</RegistrationType>
    </RegistrationScheduling>
  </RegisterdSchedulings>
</RegistrationComponents>