POST api/ResourceTypes/{resourceTypeIdentity}/Resources
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| resourceTypeIdentity | string |
Required |
Body Parameters
Resource| Name | 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": [
"a27b5cc9-fa25-4d1a-bf16-558a94298b16",
"b7850bab-811b-45a5-b31a-b0f50cdc1001"
],
"BookingTypeIdentities": [
"00a8a294-08b3-40b3-90a8-5df86b0e0946",
"dab3911f-88fa-4771-b9d2-b536c0e4bdea"
],
"ResourceTypeIdentity": "d72bb880-a94c-44ef-bcde-b6de57c1ac63",
"ResourceTypeName": "sample string 2",
"Description": "sample string 3",
"CanEdit": true,
"CanDelete": true,
"Approvers": [
"f8d23795-2205-4813-a0fd-2c45be09dae5",
"bef221f4-2d40-4651-8634-220d8a41a389"
],
"BookingApprovers": {
"PermissionGroupIdentities": [
"c123d220-7bac-45df-a208-f622db1b9b47",
"6faf6be1-4c9d-4681-a512-353379132c94"
],
"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": "7605fe4e-1004-4056-8e69-361bff4b033e",
"Name": "sample string 2"
},
{
"Identity": "7605fe4e-1004-4056-8e69-361bff4b033e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "34ef26f7-3d2e-4777-b2f2-7ab33f762c86",
"Identity": "ee4b4645-f340-4adc-9118-ae0ce35b5bd7",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "7605fe4e-1004-4056-8e69-361bff4b033e",
"Name": "sample string 2"
},
{
"Identity": "7605fe4e-1004-4056-8e69-361bff4b033e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "34ef26f7-3d2e-4777-b2f2-7ab33f762c86",
"Identity": "ee4b4645-f340-4adc-9118-ae0ce35b5bd7",
"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": "ab139a73-3609-4df2-b765-8e560addc3ad",
"Name": "sample string 2"
},
{
"EditPermissionType": 0,
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "ab139a73-3609-4df2-b765-8e560addc3ad",
"Name": "sample string 2"
}
],
"ViewCalendarsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"ManageBookingsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"ViewBookingsReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"ViewAuditReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"CanEditAll": true,
"CanEditDescription": true,
"CanEditAvailability": true,
"CanEditPermissions": true,
"CanEditCustomFields": true,
"CanViewCalendar": true,
"ImageUri": "http://webapihelppage12.com",
"ExternalApplicationIdentity": "a2a9c8cc-19d8-4fd8-9b23-02e334eb89c1",
"ResourceOwners": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"ReadPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"BookPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
],
"RequestPermissionGroups": [
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
]
},
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "2c2b4ba1-183e-4467-bca5-a3c54345e5ff",
"Name": "sample string 2"
}
]
}
],
"Identity": "2f21800e-9ad3-490a-a343-e2e38ba3d559",
"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
HttpResponseMessage| Name | 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. |