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": [ "4e6b68fd-37ff-4f78-bc19-df056d08850d", "ff1fbb60-7bb5-4ef4-9d01-c3370395a8c3" ], "BookingTypeIdentities": [ "ea8c4091-e853-456f-9e6e-04494063f317", "4e804425-8ef2-422b-ae2d-bc87ac894fce" ], "ResourceTypeIdentity": "221e04c2-44cc-4792-9b09-e76488602f07", "ResourceTypeName": "sample string 2", "Description": "sample string 3", "CanEdit": true, "CanDelete": true, "Approvers": [ "76bee655-d318-4354-852d-b24d6104a4ae", "452f55ed-4c5c-439d-868a-2b96feee1fbb" ], "BookingApprovers": { "PermissionGroupIdentities": [ "0104f182-9a9d-4b79-8fd6-86f39579623d", "a8ea7cff-c7b5-438f-a316-c70bc0d23e3f" ], "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": "5893214b-101a-44ee-a101-0221d1ea153b", "Name": "sample string 2" }, { "Identity": "5893214b-101a-44ee-a101-0221d1ea153b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "6d42cd74-ec7a-41e5-8381-6ef2711223f2", "Identity": "3b97ca51-98cc-4f97-8140-cb76456b4778", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "5893214b-101a-44ee-a101-0221d1ea153b", "Name": "sample string 2" }, { "Identity": "5893214b-101a-44ee-a101-0221d1ea153b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "6d42cd74-ec7a-41e5-8381-6ef2711223f2", "Identity": "3b97ca51-98cc-4f97-8140-cb76456b4778", "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": "2d9fd41a-6a64-4158-8263-1c29f36d0e27", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "2d9fd41a-6a64-4158-8263-1c29f36d0e27", "Name": "sample string 2" } ], "ViewCalendarsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "ManageBookingsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "ViewBookingsReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "ViewAuditReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "CanEditAll": true, "CanEditDescription": true, "CanEditAvailability": true, "CanEditPermissions": true, "CanEditCustomFields": true, "CanViewCalendar": true, "ImageUri": "http://webapihelppage12.com", "ExternalApplicationIdentity": "8b6f4cee-c34b-45b9-8b51-5d029acc4cd8", "ResourceOwners": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ed1398b7-e7c5-4ebf-b8e1-570fb474aa19", "Name": "sample string 2" } ] } ], "Identity": "d011bf68-adab-470c-9ae1-f7546f88c29b", "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. |