GET Api/Resource/TimeRegistration/{forUserID}?date={date}

returns the timerequest for a given user and date

Request Information

URI Parameters

NameDescriptionTypeAdditional information
forUserID

integer

Required

date

date

Required

Body Parameters

None.

Response Information

Resource Description

TimeRequest
NameDescriptionTypeAdditional information
Resource

Resource

None.

RequestType

RequestTypes

None.

RequestChannel

RequestChannel

None.

DayRequests

Collection of TimeDayRequest

None.

ActivityIsExclusive

boolean

None.

ExtracodeIsExclusive

boolean

None.

TaskIsExclusive

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Resource": {
    "DefaultAvailable": true,
    "UserID": 14,
    "ID": 16,
    "Name": "sample string 5",
    "Email": "sample string 15",
    "LastName": "sample string 2",
    "BeginDates": [
      "2024-12-22T08:02:39.5901854+01:00",
      "2024-12-22T08:02:39.5901854+01:00"
    ],
    "MiddleName": "sample string 3",
    "EndDates": [
      "2024-12-22T08:02:39.5901854+01:00",
      "2024-12-22T08:02:39.5901854+01:00"
    ],
    "FirstName": "sample string 4",
    "FullName": "sample string 5",
    "EmployeeNumber": "sample string 6",
    "UserGroup": "sample string 7",
    "GroupSchedule1": "sample string 8",
    "GroupSchedule2": "sample string 9",
    "GroupSchedule3": "sample string 10",
    "GroupSchedule4": "sample string 11",
    "GroupSchedule5": "sample string 12",
    "DefaultUserGroup": "sample string 13"
  },
  "RequestType": 0,
  "RequestChannel": 1,
  "DayRequests": [
    {
      "Date": "2024-12-22T08:02:39.5901854+01:00",
      "CreateStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T08:02:39.5901854+01:00",
        "CreatedByUser": {
          "ID": 1,
          "WebUserEntities": {
            "Resource": {
              "ID": 1,
              "UserID": 2,
              "FullName": "sample string 3"
            },
            "Customer": {
              "ID": 1,
              "UserID": 2,
              "Name": "sample string 3"
            }
          }
        },
        "Comment": "sample string 3"
      },
      "CurrentStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T08:02:39.5901854+01:00",
        "CreatedByUser": {
          "ID": 1,
          "WebUserEntities": {
            "Resource": {
              "ID": 1,
              "UserID": 2,
              "FullName": "sample string 3"
            },
            "Customer": {
              "ID": 1,
              "UserID": 2,
              "Name": "sample string 3"
            }
          }
        },
        "Comment": "sample string 3"
      },
      "UserComment": "sample string 2",
      "PlannerComment": "sample string 3",
      "IdenticalToPlanned": true,
      "SubmittedSchedulings": [
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T08:02:39.5901854+01:00",
          "BeginTime": "2024-12-22T08:02:39.5901854+01:00",
          "EndTime": "2024-12-22T08:02:39.5901854+01:00",
          "Task": {
            "Customer": {
              "Details1": "sample string 1",
              "UserID": 3,
              "ID": 5,
              "Details2": "sample string 2",
              "Email": "sample string 4",
              "Name": "sample string 6",
              "BeginDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ],
              "EndDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ]
            },
            "ID": 6,
            "Location": {
              "Details1": "sample string 1",
              "ID": 3,
              "Details2": "sample string 2",
              "Name": "sample string 4"
            },
            "Name": "sample string 7",
            "Color": 1,
            "BeginTime": "sample string 2",
            "EndTime": "sample string 3",
            "Details1": "sample string 4",
            "Details2": "sample string 5"
          },
          "Activity": null,
          "ExtraCode": null,
          "IsReadOnly": true
        },
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T08:02:39.5901854+01:00",
          "BeginTime": "2024-12-22T08:02:39.5901854+01:00",
          "EndTime": "2024-12-22T08:02:39.5901854+01:00",
          "Task": {
            "Customer": {
              "Details1": "sample string 1",
              "UserID": 3,
              "ID": 5,
              "Details2": "sample string 2",
              "Email": "sample string 4",
              "Name": "sample string 6",
              "BeginDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ],
              "EndDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ]
            },
            "ID": 6,
            "Location": {
              "Details1": "sample string 1",
              "ID": 3,
              "Details2": "sample string 2",
              "Name": "sample string 4"
            },
            "Name": "sample string 7",
            "Color": 1,
            "BeginTime": "sample string 2",
            "EndTime": "sample string 3",
            "Details1": "sample string 4",
            "Details2": "sample string 5"
          },
          "Activity": null,
          "ExtraCode": null,
          "IsReadOnly": true
        }
      ]
    },
    {
      "Date": "2024-12-22T08:02:39.5901854+01:00",
      "CreateStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T08:02:39.5901854+01:00",
        "CreatedByUser": {
          "ID": 1,
          "WebUserEntities": {
            "Resource": {
              "ID": 1,
              "UserID": 2,
              "FullName": "sample string 3"
            },
            "Customer": {
              "ID": 1,
              "UserID": 2,
              "Name": "sample string 3"
            }
          }
        },
        "Comment": "sample string 3"
      },
      "CurrentStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T08:02:39.5901854+01:00",
        "CreatedByUser": {
          "ID": 1,
          "WebUserEntities": {
            "Resource": {
              "ID": 1,
              "UserID": 2,
              "FullName": "sample string 3"
            },
            "Customer": {
              "ID": 1,
              "UserID": 2,
              "Name": "sample string 3"
            }
          }
        },
        "Comment": "sample string 3"
      },
      "UserComment": "sample string 2",
      "PlannerComment": "sample string 3",
      "IdenticalToPlanned": true,
      "SubmittedSchedulings": [
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T08:02:39.5901854+01:00",
          "BeginTime": "2024-12-22T08:02:39.5901854+01:00",
          "EndTime": "2024-12-22T08:02:39.5901854+01:00",
          "Task": {
            "Customer": {
              "Details1": "sample string 1",
              "UserID": 3,
              "ID": 5,
              "Details2": "sample string 2",
              "Email": "sample string 4",
              "Name": "sample string 6",
              "BeginDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ],
              "EndDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ]
            },
            "ID": 6,
            "Location": {
              "Details1": "sample string 1",
              "ID": 3,
              "Details2": "sample string 2",
              "Name": "sample string 4"
            },
            "Name": "sample string 7",
            "Color": 1,
            "BeginTime": "sample string 2",
            "EndTime": "sample string 3",
            "Details1": "sample string 4",
            "Details2": "sample string 5"
          },
          "Activity": null,
          "ExtraCode": null,
          "IsReadOnly": true
        },
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T08:02:39.5901854+01:00",
          "BeginTime": "2024-12-22T08:02:39.5901854+01:00",
          "EndTime": "2024-12-22T08:02:39.5901854+01:00",
          "Task": {
            "Customer": {
              "Details1": "sample string 1",
              "UserID": 3,
              "ID": 5,
              "Details2": "sample string 2",
              "Email": "sample string 4",
              "Name": "sample string 6",
              "BeginDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ],
              "EndDates": [
                "2024-12-22T08:02:39.5901854+01:00",
                "2024-12-22T08:02:39.5901854+01:00"
              ]
            },
            "ID": 6,
            "Location": {
              "Details1": "sample string 1",
              "ID": 3,
              "Details2": "sample string 2",
              "Name": "sample string 4"
            },
            "Name": "sample string 7",
            "Color": 1,
            "BeginTime": "sample string 2",
            "EndTime": "sample string 3",
            "Details1": "sample string 4",
            "Details2": "sample string 5"
          },
          "Activity": null,
          "ExtraCode": null,
          "IsReadOnly": true
        }
      ]
    }
  ],
  "ActivityIsExclusive": true,
  "ExtracodeIsExclusive": true,
  "TaskIsExclusive": true
}

application/xml, text/xml

Sample:
<TimeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
  <Resource>
    <ID>16</ID>
    <Name>sample string 5</Name>
    <UserID>14</UserID>
    <Email>sample string 15</Email>
    <BeginDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d3p1:dateTime>
    </BeginDates>
    <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d3p1:dateTime>
    </EndDates>
    <DefaultAvailable>true</DefaultAvailable>
    <LastName>sample string 2</LastName>
    <MiddleName>sample string 3</MiddleName>
    <FirstName>sample string 4</FirstName>
    <FullName>sample string 5</FullName>
    <EmployeeNumber>sample string 6</EmployeeNumber>
    <UserGroup>sample string 7</UserGroup>
    <GroupSchedule1>sample string 8</GroupSchedule1>
    <GroupSchedule2>sample string 9</GroupSchedule2>
    <GroupSchedule3>sample string 10</GroupSchedule3>
    <GroupSchedule4>sample string 11</GroupSchedule4>
    <GroupSchedule5>sample string 12</GroupSchedule5>
    <DefaultUserGroup>sample string 13</DefaultUserGroup>
  </Resource>
  <RequestType>None</RequestType>
  <RequestChannel>SMS</RequestChannel>
  <DayRequests>
    <TimeDayRequest>
      <Date>2024-12-22T08:02:39.5901854+01:00</Date>
      <CreateStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T08:02:39.5901854+01:00</CreateDate>
        <CreatedByUser>
          <ID>1</ID>
          <WebUserEntities>
            <Resource>
              <ID>1</ID>
              <UserID>2</UserID>
              <FullName>sample string 3</FullName>
            </Resource>
            <Customer>
              <ID>1</ID>
              <UserID>2</UserID>
              <Name>sample string 3</Name>
            </Customer>
          </WebUserEntities>
        </CreatedByUser>
        <Comment>sample string 3</Comment>
      </CreateStatus>
      <CurrentStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T08:02:39.5901854+01:00</CreateDate>
        <CreatedByUser>
          <ID>1</ID>
          <WebUserEntities>
            <Resource>
              <ID>1</ID>
              <UserID>2</UserID>
              <FullName>sample string 3</FullName>
            </Resource>
            <Customer>
              <ID>1</ID>
              <UserID>2</UserID>
              <Name>sample string 3</Name>
            </Customer>
          </WebUserEntities>
        </CreatedByUser>
        <Comment>sample string 3</Comment>
      </CurrentStatus>
      <UserComment>sample string 2</UserComment>
      <PlannerComment>sample string 3</PlannerComment>
      <IdenticalToPlanned>true</IdenticalToPlanned>
      <SubmittedSchedulings>
        <TimeSheetScheduling>
          <ID>1</ID>
          <SchedulingID>2</SchedulingID>
          <Date>2024-12-22T08:02:39.5901854+01:00</Date>
          <BeginTime>2024-12-22T08:02:39.5901854+01:00</BeginTime>
          <EndTime>2024-12-22T08:02:39.5901854+01:00</EndTime>
          <Task>
            <ID>6</ID>
            <Name>sample string 7</Name>
            <Customer>
              <ID>5</ID>
              <Name>sample string 6</Name>
              <UserID>3</UserID>
              <Email>sample string 4</Email>
              <BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </EndDates>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Customer>
            <Location>
              <ID>3</ID>
              <Name>sample string 4</Name>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Location>
            <Color>1</Color>
            <BeginTime>sample string 2</BeginTime>
            <EndTime>sample string 3</EndTime>
            <Details1>sample string 4</Details1>
            <Details2>sample string 5</Details2>
          </Task>
          <Activity i:nil="true" />
          <ExtraCode i:nil="true" />
          <IsReadOnly>true</IsReadOnly>
        </TimeSheetScheduling>
        <TimeSheetScheduling>
          <ID>1</ID>
          <SchedulingID>2</SchedulingID>
          <Date>2024-12-22T08:02:39.5901854+01:00</Date>
          <BeginTime>2024-12-22T08:02:39.5901854+01:00</BeginTime>
          <EndTime>2024-12-22T08:02:39.5901854+01:00</EndTime>
          <Task>
            <ID>6</ID>
            <Name>sample string 7</Name>
            <Customer>
              <ID>5</ID>
              <Name>sample string 6</Name>
              <UserID>3</UserID>
              <Email>sample string 4</Email>
              <BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </EndDates>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Customer>
            <Location>
              <ID>3</ID>
              <Name>sample string 4</Name>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Location>
            <Color>1</Color>
            <BeginTime>sample string 2</BeginTime>
            <EndTime>sample string 3</EndTime>
            <Details1>sample string 4</Details1>
            <Details2>sample string 5</Details2>
          </Task>
          <Activity i:nil="true" />
          <ExtraCode i:nil="true" />
          <IsReadOnly>true</IsReadOnly>
        </TimeSheetScheduling>
      </SubmittedSchedulings>
    </TimeDayRequest>
    <TimeDayRequest>
      <Date>2024-12-22T08:02:39.5901854+01:00</Date>
      <CreateStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T08:02:39.5901854+01:00</CreateDate>
        <CreatedByUser>
          <ID>1</ID>
          <WebUserEntities>
            <Resource>
              <ID>1</ID>
              <UserID>2</UserID>
              <FullName>sample string 3</FullName>
            </Resource>
            <Customer>
              <ID>1</ID>
              <UserID>2</UserID>
              <Name>sample string 3</Name>
            </Customer>
          </WebUserEntities>
        </CreatedByUser>
        <Comment>sample string 3</Comment>
      </CreateStatus>
      <CurrentStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T08:02:39.5901854+01:00</CreateDate>
        <CreatedByUser>
          <ID>1</ID>
          <WebUserEntities>
            <Resource>
              <ID>1</ID>
              <UserID>2</UserID>
              <FullName>sample string 3</FullName>
            </Resource>
            <Customer>
              <ID>1</ID>
              <UserID>2</UserID>
              <Name>sample string 3</Name>
            </Customer>
          </WebUserEntities>
        </CreatedByUser>
        <Comment>sample string 3</Comment>
      </CurrentStatus>
      <UserComment>sample string 2</UserComment>
      <PlannerComment>sample string 3</PlannerComment>
      <IdenticalToPlanned>true</IdenticalToPlanned>
      <SubmittedSchedulings>
        <TimeSheetScheduling>
          <ID>1</ID>
          <SchedulingID>2</SchedulingID>
          <Date>2024-12-22T08:02:39.5901854+01:00</Date>
          <BeginTime>2024-12-22T08:02:39.5901854+01:00</BeginTime>
          <EndTime>2024-12-22T08:02:39.5901854+01:00</EndTime>
          <Task>
            <ID>6</ID>
            <Name>sample string 7</Name>
            <Customer>
              <ID>5</ID>
              <Name>sample string 6</Name>
              <UserID>3</UserID>
              <Email>sample string 4</Email>
              <BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </EndDates>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Customer>
            <Location>
              <ID>3</ID>
              <Name>sample string 4</Name>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Location>
            <Color>1</Color>
            <BeginTime>sample string 2</BeginTime>
            <EndTime>sample string 3</EndTime>
            <Details1>sample string 4</Details1>
            <Details2>sample string 5</Details2>
          </Task>
          <Activity i:nil="true" />
          <ExtraCode i:nil="true" />
          <IsReadOnly>true</IsReadOnly>
        </TimeSheetScheduling>
        <TimeSheetScheduling>
          <ID>1</ID>
          <SchedulingID>2</SchedulingID>
          <Date>2024-12-22T08:02:39.5901854+01:00</Date>
          <BeginTime>2024-12-22T08:02:39.5901854+01:00</BeginTime>
          <EndTime>2024-12-22T08:02:39.5901854+01:00</EndTime>
          <Task>
            <ID>6</ID>
            <Name>sample string 7</Name>
            <Customer>
              <ID>5</ID>
              <Name>sample string 6</Name>
              <UserID>3</UserID>
              <Email>sample string 4</Email>
              <BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T08:02:39.5901854+01:00</d8p1:dateTime>
              </EndDates>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Customer>
            <Location>
              <ID>3</ID>
              <Name>sample string 4</Name>
              <Details1>sample string 1</Details1>
              <Details2>sample string 2</Details2>
            </Location>
            <Color>1</Color>
            <BeginTime>sample string 2</BeginTime>
            <EndTime>sample string 3</EndTime>
            <Details1>sample string 4</Details1>
            <Details2>sample string 5</Details2>
          </Task>
          <Activity i:nil="true" />
          <ExtraCode i:nil="true" />
          <IsReadOnly>true</IsReadOnly>
        </TimeSheetScheduling>
      </SubmittedSchedulings>
    </TimeDayRequest>
  </DayRequests>
  <ActivityIsExclusive>true</ActivityIsExclusive>
  <ExtracodeIsExclusive>true</ExtracodeIsExclusive>
  <TaskIsExclusive>true</TaskIsExclusive>
</TimeRequest>