POST Api/Resource/TimeRegistration

Mark the week as saved, the schedulings must be all the schedulings of that week if the number of schedulings don't match with the planning, those missing schedulings are marked as deleted, also if the schedulingID within a TimeScheduling is not found in the planning this planning scheduling is marked as to be deleted.

Request Information

URI Parameters

None.

Body Parameters

TimeRequestModel
NameDescriptionTypeAdditional information
ForUserID

integer

Required

Date

date

Required

SaveRequests

Collection of TimeSaveRequest

Required

Request Formats

application/json, text/json

Sample:
{
  "ForUserID": 1,
  "Date": "2024-12-22T07:44:44.1136534+01:00",
  "SaveRequests": [
    {
      "Date": "2024-12-22T07:44:44.1136534+01:00",
      "UserComment": "sample string 2",
      "SchedulingsToSave": [
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
      "UserComment": "sample string 2",
      "SchedulingsToSave": [
        {
          "ID": 1,
          "SchedulingID": 2,
          "Date": "2024-12-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<TimeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models">
  <Date>2024-12-22T07:44:44.1136534+01:00</Date>
  <ForUserID>1</ForUserID>
  <SaveRequests xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
    <d2p1:TimeSaveRequest>
      <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
      <d2p1:UserComment>sample string 2</d2p1:UserComment>
      <d2p1:SchedulingsToSave>
        <d2p1:TimeSheetScheduling>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:SchedulingID>2</d2p1:SchedulingID>
          <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
          <d2p1:BeginTime>2024-12-22T07:44:44.1136534+01:00</d2p1:BeginTime>
          <d2p1:EndTime>2024-12-22T07:44:44.1136534+01:00</d2p1:EndTime>
          <d2p1:Task>
            <d2p1:ID>6</d2p1:ID>
            <d2p1:Name>sample string 7</d2p1:Name>
            <d2p1:Customer>
              <d2p1:ID>5</d2p1:ID>
              <d2p1:Name>sample string 6</d2p1:Name>
              <d2p1:UserID>3</d2p1:UserID>
              <d2p1:Email>sample string 4</d2p1:Email>
              <d2p1:BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:BeginDates>
              <d2p1:EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:EndDates>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Customer>
            <d2p1:Location>
              <d2p1:ID>3</d2p1:ID>
              <d2p1:Name>sample string 4</d2p1:Name>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Location>
            <d2p1:Color>1</d2p1:Color>
            <d2p1:BeginTime>sample string 2</d2p1:BeginTime>
            <d2p1:EndTime>sample string 3</d2p1:EndTime>
            <d2p1:Details1>sample string 4</d2p1:Details1>
            <d2p1:Details2>sample string 5</d2p1:Details2>
          </d2p1:Task>
          <d2p1:Activity i:nil="true" />
          <d2p1:ExtraCode i:nil="true" />
          <d2p1:IsReadOnly>true</d2p1:IsReadOnly>
        </d2p1:TimeSheetScheduling>
        <d2p1:TimeSheetScheduling>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:SchedulingID>2</d2p1:SchedulingID>
          <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
          <d2p1:BeginTime>2024-12-22T07:44:44.1136534+01:00</d2p1:BeginTime>
          <d2p1:EndTime>2024-12-22T07:44:44.1136534+01:00</d2p1:EndTime>
          <d2p1:Task>
            <d2p1:ID>6</d2p1:ID>
            <d2p1:Name>sample string 7</d2p1:Name>
            <d2p1:Customer>
              <d2p1:ID>5</d2p1:ID>
              <d2p1:Name>sample string 6</d2p1:Name>
              <d2p1:UserID>3</d2p1:UserID>
              <d2p1:Email>sample string 4</d2p1:Email>
              <d2p1:BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:BeginDates>
              <d2p1:EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:EndDates>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Customer>
            <d2p1:Location>
              <d2p1:ID>3</d2p1:ID>
              <d2p1:Name>sample string 4</d2p1:Name>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Location>
            <d2p1:Color>1</d2p1:Color>
            <d2p1:BeginTime>sample string 2</d2p1:BeginTime>
            <d2p1:EndTime>sample string 3</d2p1:EndTime>
            <d2p1:Details1>sample string 4</d2p1:Details1>
            <d2p1:Details2>sample string 5</d2p1:Details2>
          </d2p1:Task>
          <d2p1:Activity i:nil="true" />
          <d2p1:ExtraCode i:nil="true" />
          <d2p1:IsReadOnly>true</d2p1:IsReadOnly>
        </d2p1:TimeSheetScheduling>
      </d2p1:SchedulingsToSave>
    </d2p1:TimeSaveRequest>
    <d2p1:TimeSaveRequest>
      <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
      <d2p1:UserComment>sample string 2</d2p1:UserComment>
      <d2p1:SchedulingsToSave>
        <d2p1:TimeSheetScheduling>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:SchedulingID>2</d2p1:SchedulingID>
          <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
          <d2p1:BeginTime>2024-12-22T07:44:44.1136534+01:00</d2p1:BeginTime>
          <d2p1:EndTime>2024-12-22T07:44:44.1136534+01:00</d2p1:EndTime>
          <d2p1:Task>
            <d2p1:ID>6</d2p1:ID>
            <d2p1:Name>sample string 7</d2p1:Name>
            <d2p1:Customer>
              <d2p1:ID>5</d2p1:ID>
              <d2p1:Name>sample string 6</d2p1:Name>
              <d2p1:UserID>3</d2p1:UserID>
              <d2p1:Email>sample string 4</d2p1:Email>
              <d2p1:BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:BeginDates>
              <d2p1:EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:EndDates>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Customer>
            <d2p1:Location>
              <d2p1:ID>3</d2p1:ID>
              <d2p1:Name>sample string 4</d2p1:Name>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Location>
            <d2p1:Color>1</d2p1:Color>
            <d2p1:BeginTime>sample string 2</d2p1:BeginTime>
            <d2p1:EndTime>sample string 3</d2p1:EndTime>
            <d2p1:Details1>sample string 4</d2p1:Details1>
            <d2p1:Details2>sample string 5</d2p1:Details2>
          </d2p1:Task>
          <d2p1:Activity i:nil="true" />
          <d2p1:ExtraCode i:nil="true" />
          <d2p1:IsReadOnly>true</d2p1:IsReadOnly>
        </d2p1:TimeSheetScheduling>
        <d2p1:TimeSheetScheduling>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:SchedulingID>2</d2p1:SchedulingID>
          <d2p1:Date>2024-12-22T07:44:44.1136534+01:00</d2p1:Date>
          <d2p1:BeginTime>2024-12-22T07:44:44.1136534+01:00</d2p1:BeginTime>
          <d2p1:EndTime>2024-12-22T07:44:44.1136534+01:00</d2p1:EndTime>
          <d2p1:Task>
            <d2p1:ID>6</d2p1:ID>
            <d2p1:Name>sample string 7</d2p1:Name>
            <d2p1:Customer>
              <d2p1:ID>5</d2p1:ID>
              <d2p1:Name>sample string 6</d2p1:Name>
              <d2p1:UserID>3</d2p1:UserID>
              <d2p1:Email>sample string 4</d2p1:Email>
              <d2p1:BeginDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:BeginDates>
              <d2p1:EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </d2p1:EndDates>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Customer>
            <d2p1:Location>
              <d2p1:ID>3</d2p1:ID>
              <d2p1:Name>sample string 4</d2p1:Name>
              <d2p1:Details1>sample string 1</d2p1:Details1>
              <d2p1:Details2>sample string 2</d2p1:Details2>
            </d2p1:Location>
            <d2p1:Color>1</d2p1:Color>
            <d2p1:BeginTime>sample string 2</d2p1:BeginTime>
            <d2p1:EndTime>sample string 3</d2p1:EndTime>
            <d2p1:Details1>sample string 4</d2p1:Details1>
            <d2p1:Details2>sample string 5</d2p1:Details2>
          </d2p1:Task>
          <d2p1:Activity i:nil="true" />
          <d2p1:ExtraCode i:nil="true" />
          <d2p1:IsReadOnly>true</d2p1:IsReadOnly>
        </d2p1:TimeSheetScheduling>
      </d2p1:SchedulingsToSave>
    </d2p1:TimeSaveRequest>
  </SaveRequests>
</TimeRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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-22T07:44:44.1136534+01:00",
      "2024-12-22T07:44:44.1136534+01:00"
    ],
    "MiddleName": "sample string 3",
    "EndDates": [
      "2024-12-22T07:44:44.1136534+01:00",
      "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
      "CreateStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
      "CreateStatus": {
        "ID": 1,
        "StatusType": 100,
        "CreateDate": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
          "BeginTime": "2024-12-22T07:44:44.1136534+01:00",
          "EndTime": "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+01:00"
              ],
              "EndDates": [
                "2024-12-22T07:44:44.1136534+01:00",
                "2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d3p1:dateTime>
    </BeginDates>
    <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
      <CreateStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
          <BeginTime>2024-12-22T07:44:44.1136534+01:00</BeginTime>
          <EndTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
          <BeginTime>2024-12-22T07:44:44.1136534+01:00</BeginTime>
          <EndTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
      <CreateStatus>
        <ID>1</ID>
        <StatusType>Open</StatusType>
        <CreateDate>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
          <BeginTime>2024-12-22T07:44:44.1136534+01:00</BeginTime>
          <EndTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</Date>
          <BeginTime>2024-12-22T07:44:44.1136534+01:00</BeginTime>
          <EndTime>2024-12-22T07:44:44.1136534+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-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
              </BeginDates>
              <EndDates xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+01:00</d8p1:dateTime>
                <d8p1:dateTime>2024-12-22T07:44:44.1136534+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>