PUT api/ResourceTypes/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
ResourceTypeName | Description | Type | Additional information |
---|---|---|---|
Properties | Collection of ResourceProperty |
None. |
|
ImageUri | URI |
None. |
|
CanEdit | boolean |
None. |
|
HasAssociatedBookingTypes | boolean |
None. |
|
EditPermissionsGroups | Collection of EditPermission |
None. |
|
CanCreateResourceGroups | boolean |
None. |
|
CanCreateResources | boolean |
None. |
|
CanEditAll | boolean |
None. |
|
CanEditDescription | boolean |
None. |
|
CanEditCustomFields | boolean |
None. |
|
CanEditPermissions | boolean |
None. |
|
ManageGroupsPermissionGroups | Collection of PermissionObject |
None. |
|
ManageResourcesPermissionGroups | 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:
{ "Properties": [ { "ValueType": "sample string 1", "ValueChoices": [ "sample string 1", "sample string 2" ], "Rank": 2, "IsFilterable": true, "DisplayName": "sample string 4", "HelpText": "sample string 5", "ValueChoicesWithId": [ { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" }, { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "460def08-9670-4d58-97bd-78980b328d6f", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" }, { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" } ], "Identity": "91d42679-a29d-481c-9065-436c04c9bf4b", "Name": "sample string 10" }, { "ValueType": "sample string 1", "ValueChoices": [ "sample string 1", "sample string 2" ], "Rank": 2, "IsFilterable": true, "DisplayName": "sample string 4", "HelpText": "sample string 5", "ValueChoicesWithId": [ { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" }, { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "460def08-9670-4d58-97bd-78980b328d6f", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" }, { "Identity": "2f772a54-75a1-430c-bfba-5768d4c2cd31", "Name": "sample string 2" } ], "Identity": "91d42679-a29d-481c-9065-436c04c9bf4b", "Name": "sample string 10" } ], "ImageUri": "http://webapihelppage1.com", "CanEdit": true, "HasAssociatedBookingTypes": true, "EditPermissionsGroups": [ { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e6ac7cda-4b7c-4db5-bae4-3191767da400", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e6ac7cda-4b7c-4db5-bae4-3191767da400", "Name": "sample string 2" } ], "CanCreateResourceGroups": true, "CanCreateResources": true, "CanEditAll": true, "CanEditDescription": true, "CanEditCustomFields": true, "CanEditPermissions": true, "ManageGroupsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "8f787485-69d5-4103-96c7-d32456c998a4", "Name": "sample string 2" } ] } ], "Identity": "b5afc5be-3dd8-42aa-a3a1-32d333f32ccd", "Name": "sample string 11" }
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. |