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": [ "59c3c415-8044-451e-b15c-ceb0be064e95", "98f345a3-bfab-4006-926d-7de6b7487bed" ], "BookingTypeIdentities": [ "52912060-e47d-4442-b821-203c1e446801", "1db59bec-0082-474c-af15-dd494c8e228b" ], "ResourceTypeIdentity": "c14a267d-74ae-411e-b861-1368d23bd29f", "ResourceTypeName": "sample string 2", "Description": "sample string 3", "CanEdit": true, "CanDelete": true, "Approvers": [ "46b001d3-d682-4ab6-94a9-c1b3eb511bf3", "6b73a6ee-f793-4305-b62c-205221bad5c8" ], "BookingApprovers": { "PermissionGroupIdentities": [ "e18b2733-446e-48dd-9327-50a475bfd3bb", "082f0933-5e80-435d-8d57-2d5642bcf52f" ], "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": "bc5aa435-8d30-409e-85ca-d0f504e9168e", "Name": "sample string 2" }, { "Identity": "bc5aa435-8d30-409e-85ca-d0f504e9168e", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "0b52c751-d005-4dff-ad61-9ec3401ccc3d", "Identity": "d8efbb21-c419-4c22-be5e-252e5ff855e3", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "bc5aa435-8d30-409e-85ca-d0f504e9168e", "Name": "sample string 2" }, { "Identity": "bc5aa435-8d30-409e-85ca-d0f504e9168e", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "0b52c751-d005-4dff-ad61-9ec3401ccc3d", "Identity": "d8efbb21-c419-4c22-be5e-252e5ff855e3", "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": "391cdd5f-24c6-4e93-bd68-35f7902ebcbc", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "391cdd5f-24c6-4e93-bd68-35f7902ebcbc", "Name": "sample string 2" } ], "ViewCalendarsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "ManageBookingsPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "ViewBookingsReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "ViewAuditReportPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "CanEditAll": true, "CanEditDescription": true, "CanEditAvailability": true, "CanEditPermissions": true, "CanEditCustomFields": true, "CanViewCalendar": true, "ImageUri": "http://webapihelppage12.com", "ExternalApplicationIdentity": "eed88cc2-1c42-43f3-a62d-575a29ea4c8c", "ResourceOwners": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "36339133-161e-4c62-80d2-7a4c45883af5", "Name": "sample string 2" } ] } ], "Identity": "fd8ebc89-8f0b-4103-9566-c53c8ebf0501", "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. |