POST api/ResourceTypes/{resourceTypeIdentity}/Resources
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
resourceTypeIdentity | string |
Required |
Body Parameters
ResourceName | Description | Type | Additional information |
---|---|---|---|
UserAsResourceIdentities | Collection of globally unique identifier |
None. |
|
BookingTypeIdentities | Collection of globally unique identifier |
None. |
|
ResourceTypeIdentity | globally unique identifier |
None. |
|
ResourceTypeName | string |
None. |
|
Description | string |
None. |
|
CanEdit | boolean |
None. |
|
CanDelete | boolean |
None. |
|
Approvers | Collection of globally unique identifier |
None. |
|
BookingApprovers | Approvers |
None. |
|
Properties | Collection of ResourceDatum |
None. |
|
EditPermissionsGroups | Collection of EditPermission |
None. |
|
ViewCalendarsPermissionGroups | Collection of PermissionObject |
None. |
|
ManageBookingsPermissionGroups | Collection of PermissionObject |
None. |
|
ViewBookingsReportPermissionGroups | Collection of PermissionObject |
None. |
|
ViewAuditReportPermissionGroups | Collection of PermissionObject |
None. |
|
CanEditAll | boolean |
None. |
|
CanEditDescription | boolean |
None. |
|
CanEditAvailability | boolean |
None. |
|
CanEditPermissions | boolean |
None. |
|
CanEditCustomFields | boolean |
None. |
|
CanViewCalendar | boolean |
None. |
|
ImageUri | URI |
None. |
|
ExternalApplicationIdentity | globally unique identifier |
None. |
|
ResourceOwners | 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:
{ "UserAsResourceIdentities": [ "c7766356-57fe-4c27-bf34-acc8fe57210d", "9af56f01-d4dd-41d3-ba5c-9a2ab750cd4b" ], "BookingTypeIdentities": [ "ed9bfd6d-4e02-438f-9f8e-2aa0bfdc90ec", "bd36699c-0085-458d-8417-87e4adfcb253" ], "ResourceTypeIdentity": "bedcdeb3-9441-44b0-8601-b3a81c05b80b", "ResourceTypeName": "sample string 2", "Description": "sample string 3", "CanEdit": true, "CanDelete": true, "Approvers": [ "fc219c21-2cc0-4305-b7f2-e79d29606937", "a6c0e5c8-1e5d-4150-8b7f-6a83dabd4d06" ], "BookingApprovers": { "PermissionGroupIdentities": [ "687a8f17-1bf7-427e-b09d-5514e33db1ce", "681ba0da-b9d9-4d89-a7a1-dababcec8eae" ], "Claims": [ { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" } ] }, "Properties": [ { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "ddbb1411-3c0c-447f-9ef2-9e3ffb045d63", "Name": "sample string 2" }, { "Identity": "ddbb1411-3c0c-447f-9ef2-9e3ffb045d63", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "144cfd6c-0c3f-4eac-9be9-f20be79a9d62", "Identity": "d7c4fa0a-34e1-48a6-82ac-c3b247c7a84b", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "ddbb1411-3c0c-447f-9ef2-9e3ffb045d63", "Name": "sample string 2" }, { "Identity": "ddbb1411-3c0c-447f-9ef2-9e3ffb045d63", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "144cfd6c-0c3f-4eac-9be9-f20be79a9d62", "Identity": "d7c4fa0a-34e1-48a6-82ac-c3b247c7a84b", "Name": "sample string 7" } ], "EditPermissionsGroups": [ { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "0b60cc7e-2f64-41ce-899b-04fed44791aa", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "0b60cc7e-2f64-41ce-899b-04fed44791aa", "Name": "sample string 2" } ], "ViewCalendarsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "ManageBookingsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "ViewBookingsReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "ViewAuditReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "CanEditAll": true, "CanEditDescription": true, "CanEditAvailability": true, "CanEditPermissions": true, "CanEditCustomFields": true, "CanViewCalendar": true, "ImageUri": "http://webapihelppage12.com", "ExternalApplicationIdentity": "0b990331-0cc3-48a1-a59e-766da43aa818", "ResourceOwners": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "dadf1af8-3b4e-4786-a25c-9abf7c49baae", "Name": "sample string 2" } ] } ], "Identity": "0805cb55-b713-4e0a-a2cf-f5273d1a0ad4", "Name": "sample string 14" }
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. |