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": [
"2cfddb53-5a5f-4b7a-9a71-4c4720effa6c",
"b3929747-d47e-4628-abef-c46528306cb5"
],
"BookingTypeIdentities": [
"59bcaaf8-6867-4a14-bb0b-874251a0c38f",
"6f24dd2d-95b3-4f28-bd78-976a8d199ca3"
],
"ResourceTypeIdentity": "0cb937cf-e755-4ecc-84ce-3a7fba96b945",
"ResourceTypeName": "sample string 2",
"Description": "sample string 3",
"CanEdit": true,
"CanDelete": true,
"Approvers": [
"4b247af0-a390-45f2-a50d-7c32c1ea5436",
"251b9e50-0af8-4ed2-a024-eef3c851b70b"
],
"BookingApprovers": {
"PermissionGroupIdentities": [
"a9c0d20c-0dea-420e-be66-2aba5eca65b5",
"4567d3b2-db9f-4d2f-a8a0-84e4804a7f80"
],
"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": "83e4a269-071a-4f10-8528-dd75c2bfd95e",
"Name": "sample string 2"
},
{
"Identity": "83e4a269-071a-4f10-8528-dd75c2bfd95e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "94616875-ef9c-4668-b8d0-a4f2b0811235",
"Identity": "24d0a53e-07d0-4a10-a576-54c9800cecc2",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "83e4a269-071a-4f10-8528-dd75c2bfd95e",
"Name": "sample string 2"
},
{
"Identity": "83e4a269-071a-4f10-8528-dd75c2bfd95e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "94616875-ef9c-4668-b8d0-a4f2b0811235",
"Identity": "24d0a53e-07d0-4a10-a576-54c9800cecc2",
"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": "4814006d-76c8-4a9b-8e7e-69a528702d5a",
"Name": "sample string 2"
},
{
"EditPermissionType": 0,
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "4814006d-76c8-4a9b-8e7e-69a528702d5a",
"Name": "sample string 2"
}
],
"ViewCalendarsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"ManageBookingsPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"ViewBookingsReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"ViewAuditReportPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"CanEditAll": true,
"CanEditDescription": true,
"CanEditAvailability": true,
"CanEditPermissions": true,
"CanEditCustomFields": true,
"CanViewCalendar": true,
"ImageUri": "http://webapihelppage12.com",
"ExternalApplicationIdentity": "953720c5-a0ed-4d61-9cc0-304534105abb",
"ResourceOwners": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"ReadPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"BookPermissionGroups": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
],
"RequestPermissionGroups": [
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
]
},
{
"PermissionTarget": {
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
"Approvers": [
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
},
{
"PermissionClaim": {
"ClaimType": "sample string 1",
"ClaimValue": "sample string 2",
"ClaimTypeLower": "sample string 1",
"ClaimValueLower": "sample string 2"
},
"Identity": "01d08d6c-5518-4b70-bd2e-c71a1c07546c",
"Name": "sample string 2"
}
]
}
],
"Identity": "8bd8b5ae-3686-4b55-9444-1dd6e3e48e04",
"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. |