GET api/BookingRequests/{id}/CheckResourceRestrictions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

BookingRequestEditRestrictions
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

EditRestrictions

Collection of BookingRequestEditRestriction

None.

RefittedResources

Collection of BookingResource

None.

Response Formats

application/json, text/json

Sample:
{
  "Identity": "064056fd-0321-4bba-b93f-93fd807f05ad",
  "EditRestrictions": [
    {
      "MessageKey": "sample string 1",
      "Message": "sample string 2",
      "AffectedResources": [
        {
          "Identity": "b8cacdcd-6c03-476f-9038-4bbc045b0f8e",
          "Name": "sample string 2"
        },
        {
          "Identity": "b8cacdcd-6c03-476f-9038-4bbc045b0f8e",
          "Name": "sample string 2"
        }
      ],
      "AllowEdit": true,
      "AppliesToSingleOccurrenceUpdateOnly": true
    },
    {
      "MessageKey": "sample string 1",
      "Message": "sample string 2",
      "AffectedResources": [
        {
          "Identity": "b8cacdcd-6c03-476f-9038-4bbc045b0f8e",
          "Name": "sample string 2"
        },
        {
          "Identity": "b8cacdcd-6c03-476f-9038-4bbc045b0f8e",
          "Name": "sample string 2"
        }
      ],
      "AllowEdit": true,
      "AppliesToSingleOccurrenceUpdateOnly": true
    }
  ],
  "RefittedResources": [
    {
      "ResourceTypeIdentity": "29d9e908-3476-4326-a473-f9e734304a27",
      "ResourceTypeName": "sample string 2",
      "ExternalApplicationIdentity": "9892ca5b-cad4-4751-98cc-73e71e92ce46",
      "ResourceRestrictionIdentity": "b56d4cf7-aaea-43a2-953b-b3ee3cc6a390",
      "IsPrimary": true,
      "ImageUri": "http://webapihelppage5.com",
      "Approvers": [
        "cc31ecce-d395-4063-9622-c473afd1f31f",
        "4b1ae8c3-1b56-491d-8c0a-9ca0c1fe0681"
      ],
      "BookingApprovers": {
        "PermissionGroupIdentities": [
          "629d5091-8ecd-4fcc-9dde-c1b93057ddda",
          "db94c286-9e72-49e8-a211-acda3dae3ca6"
        ],
        "Claims": [
          {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          }
        ]
      },
      "CanViewCalendar": true,
      "Identity": "8d661a24-55c0-46d6-b587-baef962a7bb0",
      "Name": "sample string 9"
    },
    {
      "ResourceTypeIdentity": "29d9e908-3476-4326-a473-f9e734304a27",
      "ResourceTypeName": "sample string 2",
      "ExternalApplicationIdentity": "9892ca5b-cad4-4751-98cc-73e71e92ce46",
      "ResourceRestrictionIdentity": "b56d4cf7-aaea-43a2-953b-b3ee3cc6a390",
      "IsPrimary": true,
      "ImageUri": "http://webapihelppage5.com",
      "Approvers": [
        "cc31ecce-d395-4063-9622-c473afd1f31f",
        "4b1ae8c3-1b56-491d-8c0a-9ca0c1fe0681"
      ],
      "BookingApprovers": {
        "PermissionGroupIdentities": [
          "629d5091-8ecd-4fcc-9dde-c1b93057ddda",
          "db94c286-9e72-49e8-a211-acda3dae3ca6"
        ],
        "Claims": [
          {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          },
          {
            "ClaimType": "sample string 1",
            "ClaimValue": "sample string 2",
            "ClaimTypeLower": "sample string 1",
            "ClaimValueLower": "sample string 2"
          }
        ]
      },
      "CanViewCalendar": true,
      "Identity": "8d661a24-55c0-46d6-b587-baef962a7bb0",
      "Name": "sample string 9"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.