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": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" }, { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "799fdf21-3cdb-490f-b2a3-1fd9d4559282", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" }, { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" } ], "Identity": "bf0bdc51-06b1-498e-a8a1-d42c75bb8ec4", "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": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" }, { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "799fdf21-3cdb-490f-b2a3-1fd9d4559282", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" }, { "Identity": "28e1e772-8cc8-49b3-9c0c-555d196f885b", "Name": "sample string 2" } ], "Identity": "bf0bdc51-06b1-498e-a8a1-d42c75bb8ec4", "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": "b7c02bc0-668f-4227-8180-e59c4ea27bd1", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "b7c02bc0-668f-4227-8180-e59c4ea27bd1", "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": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "a827a56a-f884-4faf-99df-4d7e12e8e7bf", "Name": "sample string 2" } ] } ], "Identity": "705d38f8-ecd1-43be-8be3-6e9fff074840", "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. |