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": [
"41a4e7b8-9b6c-4600-b474-06e245a0302b",
"655a3d4c-cb41-44f6-942c-c52699a36f97"
],
"BookingTypeIdentities": [
"12816e05-e544-4a71-a2ee-65cf0c699c08",
"8b989de6-f38f-4d31-827c-fc6b03eb6682"
],
"ResourceTypeIdentity": "d8b6df15-d636-49a7-866f-8f26f076a891",
"ResourceTypeName": "sample string 2",
"Description": "sample string 3",
"CanEdit": true,
"CanDelete": true,
"Approvers": [
"b90c5431-de56-409e-93c9-bd68f68fdc14",
"afb25057-bc78-4aae-bbaf-b9442e3111e7"
],
"BookingApprovers": {
"PermissionGroupIdentities": [
"073506d1-7dfd-4d60-a2a5-30f14494090a",
"569827ac-b748-450b-bd05-bd9c18cb9446"
],
"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": "7eefad3e-7c0b-4ccc-97c3-7f8db7e8cd66",
"Name": "sample string 2"
},
{
"Identity": "7eefad3e-7c0b-4ccc-97c3-7f8db7e8cd66",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "8253d374-7172-4d5b-8f1f-f3dde721d228",
"Identity": "2f47fc20-aea8-4869-92b7-d8f56910c22f",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "7eefad3e-7c0b-4ccc-97c3-7f8db7e8cd66",
"Name": "sample string 2"
},
{
"Identity": "7eefad3e-7c0b-4ccc-97c3-7f8db7e8cd66",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "8253d374-7172-4d5b-8f1f-f3dde721d228",
"Identity": "2f47fc20-aea8-4869-92b7-d8f56910c22f",
"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": "70626e2e-49e1-4447-99b9-e6e75c15db1d",
"Name": "sample string 2"
},
{
"EditPermissionType": 0,
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "70626e2e-49e1-4447-99b9-e6e75c15db1d",
"Name": "sample string 2"
}
],
"ViewCalendarsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"ManageBookingsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"ViewBookingsReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"ViewAuditReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"CanEditAll": true,
"CanEditDescription": true,
"CanEditAvailability": true,
"CanEditPermissions": true,
"CanEditCustomFields": true,
"CanViewCalendar": true,
"ImageUri": "http://webapihelppage12.com",
"ExternalApplicationIdentity": "6d4f2c2e-1915-4f54-81ad-4f2f5212da3f",
"ResourceOwners": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"ReadPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"BookPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
],
"RequestPermissionGroups": [
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
]
},
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "d648e58f-da72-43e9-8119-2095d1506725",
"Name": "sample string 2"
}
]
}
],
"Identity": "5ce7447a-3f97-4e29-83d6-d328542228ad",
"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. |