POST api/ResourceTypes
Request Information
URI Parameters
None.
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": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" }, { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "a9fd81c7-6bf3-47a6-9ba2-25ba99008287", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" }, { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" } ], "Identity": "0d669207-2596-487f-ba08-5a9fc210f62a", "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": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" }, { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "a9fd81c7-6bf3-47a6-9ba2-25ba99008287", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" }, { "Identity": "d7e101e5-f987-43c5-8b8f-2f4cc5c1da97", "Name": "sample string 2" } ], "Identity": "0d669207-2596-487f-ba08-5a9fc210f62a", "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": "2d453426-abeb-482a-b38f-d036138cb338", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "2d453426-abeb-482a-b38f-d036138cb338", "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": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "f1fb2550-1dca-4900-8926-25aa8861ad26", "Name": "sample string 2" } ] } ], "Identity": "e5bc558a-b0cd-4977-b803-b0ec57e04f63", "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
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. |
Response 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": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" }, { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "90d5ac36-c3ea-4330-be7d-eb9ca251ef75", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" }, { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" } ], "Identity": "a06c4f0f-5efb-496b-b318-73beddf32ed5", "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": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" }, { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "90d5ac36-c3ea-4330-be7d-eb9ca251ef75", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" }, { "Identity": "41293d12-b933-4fe2-b705-6be8be1a66eb", "Name": "sample string 2" } ], "Identity": "a06c4f0f-5efb-496b-b318-73beddf32ed5", "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": "3336a319-ec13-4f2d-a3c2-02cfc982d551", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "3336a319-ec13-4f2d-a3c2-02cfc982d551", "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": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "7945bac7-dd16-43e4-a85b-862b72924154", "Name": "sample string 2" } ] } ], "Identity": "842d098a-e884-4f6e-a40d-82395118ba6a", "Name": "sample string 11" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.