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": [ "bbb6970c-01e7-4fd5-aada-b59b4df599ee", "8609e610-6b31-462f-9954-0b8effa7a124" ], "BookingTypeIdentities": [ "6daa82ee-f9d4-45ce-9b53-5a15bfb1c9d3", "4f25867c-0f59-479e-a8ab-e7ee295f870a" ], "ResourceTypeIdentity": "9c0e6a39-ca18-4b0a-b945-57831e694af1", "ResourceTypeName": "sample string 2", "Description": "sample string 3", "CanEdit": true, "CanDelete": true, "Approvers": [ "bdca9b1b-ca90-4f86-ad58-dbdbee269d88", "84dee456-595a-428a-ba49-fb89692d147d" ], "BookingApprovers": { "PermissionGroupIdentities": [ "7e33be8e-9104-4159-9e5e-1366fdfb1472", "9e589944-af37-4ec4-8f35-ff783324aac5" ], "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": "05509ac3-7113-43e5-8ddc-b9fe56d7255e", "Name": "sample string 2" }, { "Identity": "05509ac3-7113-43e5-8ddc-b9fe56d7255e", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "cc9211a5-1f70-4168-8e50-6c406625d1cb", "Identity": "d1e9aefe-fe4f-4444-ab6b-0f23e1bb980d", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "05509ac3-7113-43e5-8ddc-b9fe56d7255e", "Name": "sample string 2" }, { "Identity": "05509ac3-7113-43e5-8ddc-b9fe56d7255e", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "cc9211a5-1f70-4168-8e50-6c406625d1cb", "Identity": "d1e9aefe-fe4f-4444-ab6b-0f23e1bb980d", "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": "840d9201-c83b-4371-be67-48cdddf6f7ed", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "840d9201-c83b-4371-be67-48cdddf6f7ed", "Name": "sample string 2" } ], "ViewCalendarsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "ManageBookingsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "ViewBookingsReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "ViewAuditReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "CanEditAll": true, "CanEditDescription": true, "CanEditAvailability": true, "CanEditPermissions": true, "CanEditCustomFields": true, "CanViewCalendar": true, "ImageUri": "http://webapihelppage12.com", "ExternalApplicationIdentity": "bb758736-187e-4b40-a24c-9107ef2becaf", "ResourceOwners": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "cfaae106-549c-432e-852c-cf3f8e44da62", "Name": "sample string 2" } ] } ], "Identity": "5c987d98-f1a0-4258-8f9d-2fadb23ec072", "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. |