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": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" }, { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "a3de3308-0967-4b80-bbcb-6325926a93f4", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" }, { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" } ], "Identity": "24b757bd-2a35-447e-9c1e-2a3434e69dee", "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": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" }, { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "a3de3308-0967-4b80-bbcb-6325926a93f4", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" }, { "Identity": "8f1c31cb-9f4a-4880-9d5a-dd514c2dd79f", "Name": "sample string 2" } ], "Identity": "24b757bd-2a35-447e-9c1e-2a3434e69dee", "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": "ade4a138-b9ff-4958-8a29-1fb1d2e85fc0", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "ade4a138-b9ff-4958-8a29-1fb1d2e85fc0", "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": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "db325a7f-f861-43c0-877a-1cbfbd83190b", "Name": "sample string 2" } ] } ], "Identity": "cafc39c0-31a4-42ab-bf58-4c1ebfd85fe0", "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": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" }, { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "737b01cc-599a-42be-bbc9-1684d74ad9c4", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" }, { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" } ], "Identity": "9023dafe-dda7-48d4-af14-2d63bce2b4a4", "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": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" }, { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "737b01cc-599a-42be-bbc9-1684d74ad9c4", "IsRestrictedVisibility": true, "RestrictedVisibilityPermissionGroups": [ { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" }, { "Identity": "d770c50f-a4bb-4f16-bdec-7a932c9cf486", "Name": "sample string 2" } ], "Identity": "9023dafe-dda7-48d4-af14-2d63bce2b4a4", "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": "57fca79d-d684-449f-b59e-1393b10c8719", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "57fca79d-d684-449f-b59e-1393b10c8719", "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": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ], "ManageResourcesPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "77180bcf-878d-4dcd-a687-065b4399768f", "Name": "sample string 2" } ] } ], "Identity": "aa37754a-f6ae-420d-8575-f5d1f485cade", "Name": "sample string 11" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.