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": [
"09cb4cb9-19d1-420b-81d9-12bc8f8ac8ab",
"69d6d5a9-cb0d-4929-a43f-a23ba3d11e35"
],
"BookingTypeIdentities": [
"62d1d907-19ba-4251-9159-9f0e74486c5c",
"add21ca1-354c-427b-b9df-9e33dcf8edbc"
],
"ResourceTypeIdentity": "099f4bbe-419a-4bc1-8e0c-acc4a7497fef",
"ResourceTypeName": "sample string 2",
"Description": "sample string 3",
"CanEdit": true,
"CanDelete": true,
"Approvers": [
"9b511955-575a-4c93-b2e2-943c3c47eafc",
"6fe865e6-607a-4ca8-a7c0-f65a6fd8ab91"
],
"BookingApprovers": {
"PermissionGroupIdentities": [
"734cfebf-2cad-4f47-91c9-50c68368cf70",
"4d764c59-b817-475d-9e2e-c68fc85fda5a"
],
"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": "92087893-a4c7-4fc9-a736-8f907c233e6a",
"Name": "sample string 2"
},
{
"Identity": "92087893-a4c7-4fc9-a736-8f907c233e6a",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "3a5ac578-cc91-4fce-a0d1-4a8f84471f92",
"Identity": "f829ef90-3bfa-4eae-ae59-1b3413f31c3c",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "92087893-a4c7-4fc9-a736-8f907c233e6a",
"Name": "sample string 2"
},
{
"Identity": "92087893-a4c7-4fc9-a736-8f907c233e6a",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "3a5ac578-cc91-4fce-a0d1-4a8f84471f92",
"Identity": "f829ef90-3bfa-4eae-ae59-1b3413f31c3c",
"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": "c071790e-98c6-4f2b-ba9d-f06fdabcac2e",
"Name": "sample string 2"
},
{
"EditPermissionType": 0,
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "c071790e-98c6-4f2b-ba9d-f06fdabcac2e",
"Name": "sample string 2"
}
],
"ViewCalendarsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"ManageBookingsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"ViewBookingsReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"ViewAuditReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"CanEditAll": true,
"CanEditDescription": true,
"CanEditAvailability": true,
"CanEditPermissions": true,
"CanEditCustomFields": true,
"CanViewCalendar": true,
"ImageUri": "http://webapihelppage12.com",
"ExternalApplicationIdentity": "1bbe02b2-9316-4bdb-b83d-88a4984fef58",
"ResourceOwners": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"ReadPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"BookPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
],
"RequestPermissionGroups": [
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
]
},
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d3fbe322-2469-47a3-bd81-1b04203c2497",
"Name": "sample string 2"
}
]
}
],
"Identity": "200f8df0-1197-44c3-ad9a-c6f98bfbb14c",
"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. |