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": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" }, { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "498b5d42-5276-4382-bc1b-90f549cc1ee3", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" }, { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" } ], "Identity": "144d87d8-bd4a-44e8-983f-c821add0c652", "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": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" }, { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "498b5d42-5276-4382-bc1b-90f549cc1ee3", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" }, { "Identity": "d49ada30-6899-4385-99dc-9fa556b50402", "Name": "sample string 2" } ], "Identity": "144d87d8-bd4a-44e8-983f-c821add0c652", "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": "43a534d8-d5c3-4939-9ac8-d38dded3da11", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "43a534d8-d5c3-4939-9ac8-d38dded3da11", "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": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "46da2337-7d17-47f8-9758-b3ecd581cc27", "Name": "sample string 2" } ] } ], "Identity": "3f684725-858d-438d-8623-21a86e87cf3e", "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": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" }, { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "788c6f62-9b8c-40c6-a3cf-b4e8ffb4b0ac", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" }, { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" } ], "Identity": "29cf0ac1-792b-40d4-8ab9-8a9156c25a5e", "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": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" }, { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "788c6f62-9b8c-40c6-a3cf-b4e8ffb4b0ac", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" }, { "Identity": "6e52aaf6-47d1-47bb-b4de-64373a46ee23", "Name": "sample string 2" } ], "Identity": "29cf0ac1-792b-40d4-8ab9-8a9156c25a5e", "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": "189c167b-d654-4e62-a9bb-e9638dbe2bbd", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "189c167b-d654-4e62-a9bb-e9638dbe2bbd", "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": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "80a54c35-da4e-4c0a-8740-feb887d65dd1", "Name": "sample string 2" } ] } ], "Identity": "9df6e254-9794-476c-b7fc-adc5de7fd4d3", "Name": "sample string 11" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.