POST api/BookingTypes/{bookingTypeIdentity}/Resources

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingTypeIdentity

string

Required

Body Parameters

ResourceDataFilter
NameDescriptionTypeAdditional information
Properties

Collection of ResourceDatum

None.

PageNumber

integer

None.

ItemsPerPage

integer

None.

Query

string

None.

ResourceGroupIdentities

Collection of globally unique identifier

None.

LoadedIdentities

Collection of string

None.

CheckAvailability

boolean

None.

IsAdminPrimaryResourceSearch

boolean

None.

RangeStartTime

date

None.

RangeEndTime

date

None.

RangeStartDate

date

None.

RangeEndDate

date

None.

Duration

decimal number

None.

RecurrencePattern

RecurrencePatternObject

None.

Request Formats

application/json, text/json

Sample:
{
  "Properties": [
    {
      "Value": {},
      "ValueType": "sample string 2",
      "ValueChoices": [
        "sample string 1",
        "sample string 2"
      ],
      "DisplayName": "sample string 3",
      "ValueChoicesWithId": [
        {
          "Identity": "a8870234-77a8-4508-a3fa-f231a0865e04",
          "Name": "sample string 2"
        },
        {
          "Identity": "a8870234-77a8-4508-a3fa-f231a0865e04",
          "Name": "sample string 2"
        }
      ],
      "IsObsolete": true,
      "RelatedObsoleteProperty": "da57ef9b-5c63-4f41-a82c-e28231c84e34",
      "Identity": "47d50ec8-5ee0-44ad-8144-1ee3bca84ce1",
      "Name": "sample string 7"
    },
    {
      "Value": {},
      "ValueType": "sample string 2",
      "ValueChoices": [
        "sample string 1",
        "sample string 2"
      ],
      "DisplayName": "sample string 3",
      "ValueChoicesWithId": [
        {
          "Identity": "a8870234-77a8-4508-a3fa-f231a0865e04",
          "Name": "sample string 2"
        },
        {
          "Identity": "a8870234-77a8-4508-a3fa-f231a0865e04",
          "Name": "sample string 2"
        }
      ],
      "IsObsolete": true,
      "RelatedObsoleteProperty": "da57ef9b-5c63-4f41-a82c-e28231c84e34",
      "Identity": "47d50ec8-5ee0-44ad-8144-1ee3bca84ce1",
      "Name": "sample string 7"
    }
  ],
  "PageNumber": 1,
  "ItemsPerPage": 2,
  "Query": "sample string 3",
  "ResourceGroupIdentities": [
    "4ff9e212-193f-47d0-adb1-9ef07407763c",
    "e7854064-9ab7-45b2-9e3e-e8e62adc0248"
  ],
  "LoadedIdentities": [
    "sample string 1",
    "sample string 2"
  ],
  "CheckAvailability": true,
  "IsAdminPrimaryResourceSearch": true,
  "RangeStartTime": "2024-11-21T08:52:42.4087605+00:00",
  "RangeEndTime": "2024-11-21T08:52:42.4087605+00:00",
  "RangeStartDate": "2024-11-21T08:52:42.4087605+00:00",
  "RangeEndDate": "2024-11-21T08:52:42.4087605+00:00",
  "Duration": 10.1,
  "RecurrencePattern": {
    "RecurrenceType": 0,
    "EndDateTime": "2024-11-21T08:52:42.4087605+00:00",
    "StartDateTime": "2024-11-21T08:52:42.4087605+00:00",
    "Interval": 3,
    "UntilType": 0,
    "UntilDate": "2024-11-21T08:52:42.4087605+00:00",
    "NumberOfOccurrences": 5,
    "RecurrenceDescription": "sample string 6",
    "RecurrencePatternComplexDescription": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<ResourceDataFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Duration>10.1</Duration>
  <RangeEndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:52:42.4087605Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </RangeEndDate>
  <RangeEndTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:52:42.4087605Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </RangeEndTime>
  <RangeStartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:52:42.4087605Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </RangeStartDate>
  <RangeStartTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:52:42.4087605Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </RangeStartTime>
  <RecurrencePattern>
    <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:52:42.4087605Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </EndDateTime>
    <Interval>3</Interval>
    <NumberOfOccurrences>5</NumberOfOccurrences>
    <RecurrenceDescription>sample string 6</RecurrenceDescription>
    <RecurrencePatternComplexDescription>sample string 7</RecurrencePatternComplexDescription>
    <RecurrenceType>Daily</RecurrenceType>
    <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:52:42.4087605Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </StartDateTime>
    <UntilDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:52:42.4087605Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </UntilDate>
    <UntilType>NumberOfOccurrences</UntilType>
  </RecurrencePattern>
  <CheckAvailability>true</CheckAvailability>
  <IsAdminPrimaryResourceSearch>true</IsAdminPrimaryResourceSearch>
  <ItemsPerPage>2</ItemsPerPage>
  <LoadedIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </LoadedIdentities>
  <PageNumber>1</PageNumber>
  <Properties>
    <ResourceDatum>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">47d50ec8-5ee0-44ad-8144-1ee3bca84ce1</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
      <DisplayName>sample string 3</DisplayName>
      <IsObsolete>true</IsObsolete>
      <RelatedObsoleteProperty>da57ef9b-5c63-4f41-a82c-e28231c84e34</RelatedObsoleteProperty>
      <Value />
      <ValueChoices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ValueChoices>
      <ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:NamedObject>
          <d4p1:Identity>a8870234-77a8-4508-a3fa-f231a0865e04</d4p1:Identity>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:NamedObject>
        <d4p1:NamedObject>
          <d4p1:Identity>a8870234-77a8-4508-a3fa-f231a0865e04</d4p1:Identity>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:NamedObject>
      </ValueChoicesWithId>
      <ValueType>sample string 2</ValueType>
    </ResourceDatum>
    <ResourceDatum>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">47d50ec8-5ee0-44ad-8144-1ee3bca84ce1</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
      <DisplayName>sample string 3</DisplayName>
      <IsObsolete>true</IsObsolete>
      <RelatedObsoleteProperty>da57ef9b-5c63-4f41-a82c-e28231c84e34</RelatedObsoleteProperty>
      <Value />
      <ValueChoices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ValueChoices>
      <ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:NamedObject>
          <d4p1:Identity>a8870234-77a8-4508-a3fa-f231a0865e04</d4p1:Identity>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:NamedObject>
        <d4p1:NamedObject>
          <d4p1:Identity>a8870234-77a8-4508-a3fa-f231a0865e04</d4p1:Identity>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:NamedObject>
      </ValueChoicesWithId>
      <ValueType>sample string 2</ValueType>
    </ResourceDatum>
  </Properties>
  <Query>sample string 3</Query>
  <ResourceGroupIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>4ff9e212-193f-47d0-adb1-9ef07407763c</d2p1:guid>
    <d2p1:guid>e7854064-9ab7-45b2-9e3e-e8e62adc0248</d2p1:guid>
  </ResourceGroupIdentities>
</ResourceDataFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaginatedResultsOfResourceSearchResult
NameDescriptionTypeAdditional information
TotalPages

integer

None.

CurrentPage

integer

None.

Results

Collection of ResourceSearchResult

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPages": 1,
  "CurrentPage": 2,
  "Results": [
    {
      "BookingTypeIdentities": [
        "818e37a1-2566-4981-8fc6-d2fe5146f4e4",
        "3dbd67ca-357c-4a8e-a66f-ec29d1befd11"
      ],
      "ResourceTypeIdentity": "2137faf9-f609-4500-b620-573bff4b9676",
      "ResourceTypeName": "sample string 2",
      "ResourceOwners": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "Description": "sample string 3",
      "CanEdit": true,
      "CanDelete": true,
      "ImageUri": "http://webapihelppage6.com",
      "EditPermissionsGroups": [
        {
          "EditPermissionType": 0,
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "5afa03dd-82bd-4af7-b268-57eeb59a79b2",
          "Name": "sample string 2"
        },
        {
          "EditPermissionType": 0,
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "5afa03dd-82bd-4af7-b268-57eeb59a79b2",
          "Name": "sample string 2"
        }
      ],
      "ViewCalendarsPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ManageBookingsPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ViewBookingsReportPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ViewAuditReportPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "CanEditAll": true,
      "CanEditDescription": true,
      "CanEditAvailability": true,
      "CanEditPermissions": true,
      "CanEditCustomFields": true,
      "CanViewCalendar": true,
      "Identity": "2653ea07-04e1-4dfd-a1e6-d351687bb05f",
      "Name": "sample string 14"
    },
    {
      "BookingTypeIdentities": [
        "818e37a1-2566-4981-8fc6-d2fe5146f4e4",
        "3dbd67ca-357c-4a8e-a66f-ec29d1befd11"
      ],
      "ResourceTypeIdentity": "2137faf9-f609-4500-b620-573bff4b9676",
      "ResourceTypeName": "sample string 2",
      "ResourceOwners": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "Description": "sample string 3",
      "CanEdit": true,
      "CanDelete": true,
      "ImageUri": "http://webapihelppage6.com",
      "EditPermissionsGroups": [
        {
          "EditPermissionType": 0,
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "5afa03dd-82bd-4af7-b268-57eeb59a79b2",
          "Name": "sample string 2"
        },
        {
          "EditPermissionType": 0,
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "5afa03dd-82bd-4af7-b268-57eeb59a79b2",
          "Name": "sample string 2"
        }
      ],
      "ViewCalendarsPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ManageBookingsPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ViewBookingsReportPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "ViewAuditReportPermissionGroups": [
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        },
        {
          "PermissionClaim": {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          "Identity": "96e8871c-e4ce-42e5-a441-01010a1619b4",
          "Name": "sample string 2"
        }
      ],
      "CanEditAll": true,
      "CanEditDescription": true,
      "CanEditAvailability": true,
      "CanEditPermissions": true,
      "CanEditCustomFields": true,
      "CanViewCalendar": true,
      "Identity": "2653ea07-04e1-4dfd-a1e6-d351687bb05f",
      "Name": "sample string 14"
    }
  ],
  "Count": 3
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.