GET Api/Resource/Request/DayAvailability/{id}

Get a specific dayavailability request.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

WebDayAvailabilityRequest
NameDescriptionTypeAdditional information
DayAvailability

StandardAvailability

None.

AvailabilityBlocks

Collection of ScheduledAvailabilityBlock

None.

ScheduledAvailabilities

Collection of ScheduledStandardAvailability

None.

ID

integer

None.

Mutation

RequestMutation

None.

BeginTime

date

None.

EndTime

date

None.

EntireDay

boolean

None.

CreateStatus

WebRequestStatus

None.

CurrentStatus

WebRequestStatus

None.

Recurrence

RequestRecurrence

None.

RequestChannel

RequestChannel

None.

InitiatorKind

InitiatorKind

None.

HandlerStatus

WebRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "DayAvailability": {
    "ID": 1,
    "Name": "sample string 2",
    "Symbol": "sample string 3",
    "Weight": 4
  },
  "ID": 1,
  "AvailabilityBlocks": [
    {
      "AvailabilityBlock": {
        "BeginTime": "sample string 1",
        "ID": 4,
        "EndTime": "sample string 2",
        "Name": "sample string 5",
        "Description": "sample string 3",
        "Symbol": "sample string 6",
        "Weight": 7
      },
      "BeginTime": "sample string 1",
      "EndTime": "sample string 2"
    },
    {
      "AvailabilityBlock": {
        "BeginTime": "sample string 1",
        "ID": 4,
        "EndTime": "sample string 2",
        "Name": "sample string 5",
        "Description": "sample string 3",
        "Symbol": "sample string 6",
        "Weight": 7
      },
      "BeginTime": "sample string 1",
      "EndTime": "sample string 2"
    }
  ],
  "Mutation": {
    "Type": 0,
    "SchedulingID": 1
  },
  "ScheduledAvailabilities": [
    {
      "StandardAvailability": {
        "ID": 1,
        "Name": "sample string 2",
        "Symbol": "sample string 3",
        "Weight": 4
      },
      "BeginTime": "sample string 1",
      "EndTime": "sample string 2"
    },
    {
      "StandardAvailability": {
        "ID": 1,
        "Name": "sample string 2",
        "Symbol": "sample string 3",
        "Weight": 4
      },
      "BeginTime": "sample string 1",
      "EndTime": "sample string 2"
    }
  ],
  "BeginTime": "2024-12-22T07:52:20.9222001+01:00",
  "EndTime": "2024-12-22T07:52:20.9222001+01:00",
  "EntireDay": true,
  "CreateStatus": {
    "ID": 1,
    "StatusType": 100,
    "CreateDate": "2024-12-22T07:52:20.9222001+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:52:20.9222001+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"
  },
  "Recurrence": {
    "EndDate": "2024-12-22T07:52:20.9222001+01:00",
    "Amount": 2,
    "Monday": true,
    "Tuesday": true,
    "Wednesday": true,
    "Thursday": true,
    "Friday": true,
    "Saturday": true,
    "Sunday": true,
    "Repeat": 10,
    "RecurrenceType": 11,
    "RepeatSelected": true
  },
  "RequestChannel": 1,
  "InitiatorKind": 0,
  "HandlerStatus": {
    "ID": 1,
    "StatusType": 100,
    "CreateDate": "2024-12-22T07:52:20.9222001+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"
  }
}

application/xml, text/xml

Sample:
<WebDayAvailabilityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
  <ID>1</ID>
  <Mutation>
    <Type>INSERT</Type>
    <SchedulingID>1</SchedulingID>
  </Mutation>
  <BeginTime>2024-12-22T07:52:20.9222001+01:00</BeginTime>
  <EndTime>2024-12-22T07:52:20.9222001+01:00</EndTime>
  <EntireDay>true</EntireDay>
  <CreateStatus>
    <ID>1</ID>
    <StatusType>Open</StatusType>
    <CreateDate>2024-12-22T07:52:20.9222001+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:52:20.9222001+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>
  <Recurrence>
    <EndDate>2024-12-22T07:52:20.9222001+01:00</EndDate>
    <Amount>2</Amount>
    <Monday>true</Monday>
    <Tuesday>true</Tuesday>
    <Wednesday>true</Wednesday>
    <Thursday>true</Thursday>
    <Friday>true</Friday>
    <Saturday>true</Saturday>
    <Sunday>true</Sunday>
    <Repeat>10</Repeat>
    <RecurrenceType>11</RecurrenceType>
    <RepeatSelected>true</RepeatSelected>
  </Recurrence>
  <RequestChannel>SMS</RequestChannel>
  <InitiatorKind>None</InitiatorKind>
  <HandlerStatus>
    <ID>1</ID>
    <StatusType>Open</StatusType>
    <CreateDate>2024-12-22T07:52:20.9222001+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>
  </HandlerStatus>
  <DayAvailability>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Symbol>sample string 3</Symbol>
    <Weight>4</Weight>
  </DayAvailability>
  <AvailabilityBlocks>
    <ScheduledAvailabilityBlock>
      <AvailabilityBlock>
        <ID>4</ID>
        <Name>sample string 5</Name>
        <Symbol>sample string 6</Symbol>
        <Weight>7</Weight>
        <BeginTime>sample string 1</BeginTime>
        <EndTime>sample string 2</EndTime>
        <Description>sample string 3</Description>
      </AvailabilityBlock>
      <BeginTime>sample string 1</BeginTime>
      <EndTime>sample string 2</EndTime>
    </ScheduledAvailabilityBlock>
    <ScheduledAvailabilityBlock>
      <AvailabilityBlock>
        <ID>4</ID>
        <Name>sample string 5</Name>
        <Symbol>sample string 6</Symbol>
        <Weight>7</Weight>
        <BeginTime>sample string 1</BeginTime>
        <EndTime>sample string 2</EndTime>
        <Description>sample string 3</Description>
      </AvailabilityBlock>
      <BeginTime>sample string 1</BeginTime>
      <EndTime>sample string 2</EndTime>
    </ScheduledAvailabilityBlock>
  </AvailabilityBlocks>
  <ScheduledAvailabilities>
    <ScheduledStandardAvailability>
      <StandardAvailability>
        <ID>1</ID>
        <Name>sample string 2</Name>
        <Symbol>sample string 3</Symbol>
        <Weight>4</Weight>
      </StandardAvailability>
      <BeginTime>sample string 1</BeginTime>
      <EndTime>sample string 2</EndTime>
    </ScheduledStandardAvailability>
    <ScheduledStandardAvailability>
      <StandardAvailability>
        <ID>1</ID>
        <Name>sample string 2</Name>
        <Symbol>sample string 3</Symbol>
        <Weight>4</Weight>
      </StandardAvailability>
      <BeginTime>sample string 1</BeginTime>
      <EndTime>sample string 2</EndTime>
    </ScheduledStandardAvailability>
  </ScheduledAvailabilities>
</WebDayAvailabilityRequest>