PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{identity}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| resourceTypeIdentity | string |
Required |
|
| identity | string |
Required |
Body Parameters
Resource| Name | 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": [
"dda38fed-9650-4580-b148-f271102a0ba3",
"14115c7a-12e5-475f-bd54-0a07148c18fe"
],
"BookingTypeIdentities": [
"62ef381c-5b0d-4d0a-9781-80bca5c8fa63",
"f4021d32-85a8-4678-bb36-a93a2a535275"
],
"ResourceTypeIdentity": "595839de-d3ac-430e-8130-6299edc9cc9f",
"ResourceTypeName": "sample string 2",
"Description": "sample string 3",
"CanEdit": true,
"CanDelete": true,
"Approvers": [
"64156d19-de36-4a18-9950-8e3dc97368c7",
"0d17fa1a-0179-4a57-bdba-411855bcba25"
],
"BookingApprovers": {
"PermissionGroupIdentities": [
"1be61546-da7f-4971-a626-f095e0db06a9",
"ac491b63-8374-4dac-9e04-1887deeb8a0f"
],
"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": "2b16e782-2e41-4d6c-84b5-3c04ac353e13",
"Name": "sample string 2"
},
{
"Identity": "2b16e782-2e41-4d6c-84b5-3c04ac353e13",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "472b814d-76d0-43d3-b0e2-171411efdf58",
"Identity": "e5c3d963-c383-49dc-a7ac-225027792996",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "2b16e782-2e41-4d6c-84b5-3c04ac353e13",
"Name": "sample string 2"
},
{
"Identity": "2b16e782-2e41-4d6c-84b5-3c04ac353e13",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "472b814d-76d0-43d3-b0e2-171411efdf58",
"Identity": "e5c3d963-c383-49dc-a7ac-225027792996",
"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": "e7aab957-7e5a-460d-ab66-a24dc0c74a82",
"Name": "sample string 2"
},
{
"EditPermissionType": 0,
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "e7aab957-7e5a-460d-ab66-a24dc0c74a82",
"Name": "sample string 2"
}
],
"ViewCalendarsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"ManageBookingsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"ViewBookingsReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"ViewAuditReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"CanEditAll": true,
"CanEditDescription": true,
"CanEditAvailability": true,
"CanEditPermissions": true,
"CanEditCustomFields": true,
"CanViewCalendar": true,
"ImageUri": "http://webapihelppage12.com",
"ExternalApplicationIdentity": "a02245e6-7279-4d4c-b7ea-22dc4b1b5d3d",
"ResourceOwners": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"ReadPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"BookPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
],
"RequestPermissionGroups": [
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
]
},
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "082e6a49-bd9f-4eb3-ac7d-3e82624d2f9a",
"Name": "sample string 2"
}
]
}
],
"Identity": "585389f5-104b-441d-92d4-ebbf53f7ddf3",
"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
HttpResponseMessage| Name | 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. |