PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{identity}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
resourceTypeIdentity | string |
Required |
|
identity | string |
Required |
Body Parameters
ResourceName | Description | Type | Additional information |
---|---|---|---|
UserAsResourceIdentities | Collection of globally unique identifier |
None. |
|
BookingTypeIdentities | Collection of globally unique identifier |
None. |
|
ResourceTypeIdentity | globally unique identifier |
None. |
|
ResourceTypeName | string |
None. |
|
Description | string |
None. |
|
CanEdit | boolean |
None. |
|
CanDelete | boolean |
None. |
|
Approvers | Collection of globally unique identifier |
None. |
|
BookingApprovers | Approvers |
None. |
|
Properties | Collection of ResourceDatum |
None. |
|
EditPermissionsGroups | Collection of EditPermission |
None. |
|
ViewCalendarsPermissionGroups | Collection of PermissionObject |
None. |
|
ManageBookingsPermissionGroups | Collection of PermissionObject |
None. |
|
ViewBookingsReportPermissionGroups | Collection of PermissionObject |
None. |
|
ViewAuditReportPermissionGroups | Collection of PermissionObject |
None. |
|
CanEditAll | boolean |
None. |
|
CanEditDescription | boolean |
None. |
|
CanEditAvailability | boolean |
None. |
|
CanEditPermissions | boolean |
None. |
|
CanEditCustomFields | boolean |
None. |
|
CanViewCalendar | boolean |
None. |
|
ImageUri | URI |
None. |
|
ExternalApplicationIdentity | globally unique identifier |
None. |
|
ResourceOwners | Collection of PermissionObject |
None. |
|
ReadPermissionGroups | Collection of PermissionObject |
None. |
|
WritePermissionGroups | Collection of PermissionObject |
None. |
|
BookPermissionGroups | Collection of PermissionObject |
None. |
|
RequestPermissionGroups | Collection of PermissionWithApproval |
None. |
|
Identity | globally unique identifier |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserAsResourceIdentities": [ "62fc239b-3805-4dd4-8669-3c5f5d1f523c", "552e03c2-5ef1-4913-9a11-a75fd1561453" ], "BookingTypeIdentities": [ "726d9414-3ea4-4738-a762-380ff18df46d", "f562005f-a1e7-48ce-b425-edb24619da8d" ], "ResourceTypeIdentity": "61cd9d32-4a7b-4222-b0c6-bb27e041f803", "ResourceTypeName": "sample string 2", "Description": "sample string 3", "CanEdit": true, "CanDelete": true, "Approvers": [ "d9b73c80-7d2a-402c-8597-63d8ad1bbc2b", "f7fef042-cdf5-46f8-940a-9cef7fa7689d" ], "BookingApprovers": { "PermissionGroupIdentities": [ "b2319758-7790-4085-abed-56156483f454", "c51fd1e2-afd4-4d40-9a84-e68d37a57a28" ], "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" } ] }, "Properties": [ { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "6c75b7c4-7a28-4584-87fc-b1552801ec71", "Name": "sample string 2" }, { "Identity": "6c75b7c4-7a28-4584-87fc-b1552801ec71", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "f010be05-5aab-4071-a022-934758574a5f", "Identity": "b6ff124f-b4e5-4078-9407-52357df2aaca", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "6c75b7c4-7a28-4584-87fc-b1552801ec71", "Name": "sample string 2" }, { "Identity": "6c75b7c4-7a28-4584-87fc-b1552801ec71", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "f010be05-5aab-4071-a022-934758574a5f", "Identity": "b6ff124f-b4e5-4078-9407-52357df2aaca", "Name": "sample string 7" } ], "EditPermissionsGroups": [ { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "49593e85-e94f-4e54-b49d-b4becd9449b2", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "49593e85-e94f-4e54-b49d-b4becd9449b2", "Name": "sample string 2" } ], "ViewCalendarsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "ManageBookingsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "ViewBookingsReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "ViewAuditReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "CanEditAll": true, "CanEditDescription": true, "CanEditAvailability": true, "CanEditPermissions": true, "CanEditCustomFields": true, "CanViewCalendar": true, "ImageUri": "http://webapihelppage12.com", "ExternalApplicationIdentity": "ce390b0a-69b2-4859-8c91-abbc45542496", "ResourceOwners": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "37bdd17b-1fa7-49b8-9051-9cdee8fc28a1", "Name": "sample string 2" } ] } ], "Identity": "5a0041e4-261b-4ddf-873a-5e38534378b0", "Name": "sample string 14" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |