POST api/BookingTypes
Request Information
URI Parameters
None.
Body Parameters
BookingTypeName | Description | Type | Additional information |
---|---|---|---|
BookingForm | NamedObject |
None. |
|
BasePermissionGroups | Collection of PermissionObject |
None. |
|
BoboPermissionGroups | Collection of PermissionObject |
None. |
|
EditPermissionsGroups | Collection of EditPermission |
None. |
|
Description | string |
None. |
|
ResourceRestrictionRules | Collection of ResourceRequirementTemplate |
None. |
|
ImageUri | URI |
None. |
|
CanEdit | boolean |
None. |
|
CanBookOnBehalfOf | boolean |
None. |
|
CanBookAsSomeoneElse | boolean |
None. |
|
CanBookRecurring | boolean |
None. |
|
HasExternallyManagedResources | boolean |
None. |
|
Mode | BookingTypeMode |
None. |
|
DisabledModeMessage | string |
None. |
|
AlertEnabled | boolean |
None. |
|
AlertType | BookingTypeNotificationType |
None. |
|
AlertMessage | string |
None. |
|
InfoEnabled | boolean |
None. |
|
InfoType | BookingTypeNotificationType |
None. |
|
InfoMessage | string |
None. |
|
HelpEnabled | boolean |
None. |
|
HelpMessage | string |
None. |
|
TileMessage | string |
None. |
|
CanEditAll | boolean |
None. |
|
CanEditStatus | boolean |
None. |
|
CanEditAvailability | boolean |
None. |
|
CanEditResourceRestrictions | boolean |
None. |
|
CanEditPermissions | boolean |
None. |
|
CanEditRules | boolean |
None. |
|
CanEditNotifications | boolean |
None. |
|
CanEditCalendar | boolean |
None. |
|
CanImportBookings | boolean |
None. |
|
UseCustomTemplates | boolean |
None. |
|
CalendarOptions | CalendarOptions |
None. |
|
ImportPermissions | Collection of PermissionObject |
None. |
|
ExchangeSync | boolean |
None. |
|
RecurringPermissionGroups | 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:
{ "BookingForm": { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" }, "BasePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "EditPermissionsGroups": [ { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "6fbe8ce5-0aeb-4ee3-a8f5-25c2b71c91c1", "Name": "sample string 2" }, { "EditPermissionType": 0, "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "6fbe8ce5-0aeb-4ee3-a8f5-25c2b71c91c1", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "073769b7-8b92-4136-991e-faf586590979", "ResourceType": { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" }, { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "073769b7-8b92-4136-991e-faf586590979", "ResourceType": { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" }, { "Identity": "8ddfdc87-7188-4770-af2f-87f532bce0a2", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "CanBookRecurring": true, "HasExternallyManagedResources": true, "Mode": 0, "DisabledModeMessage": "sample string 7", "AlertEnabled": true, "AlertType": 0, "AlertMessage": "sample string 9", "InfoEnabled": true, "InfoType": 0, "InfoMessage": "sample string 11", "HelpEnabled": true, "HelpMessage": "sample string 13", "TileMessage": "sample string 14", "CanEditAll": true, "CanEditStatus": true, "CanEditAvailability": true, "CanEditResourceRestrictions": true, "CanEditPermissions": true, "CanEditRules": true, "CanEditNotifications": true, "CanEditCalendar": true, "CanImportBookings": true, "UseCustomTemplates": true, "CalendarOptions": { "Identity": "b010a296-1a27-4ea2-9621-bf954807b59d", "CalendarShowWeekends": true, "CalendarStartTime": "sample string 3", "CalendarEndTime": "sample string 4", "CalendarBookingTimes": 0, "BookingSpanMultipleDays": true, "UseCustomCalendarOptions": true }, "ImportPermissions": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "ExchangeSync": true, "RecurringPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "ReadPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "BookPermissionGroups": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ], "RequestPermissionGroups": [ { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ] }, { "PermissionTarget": { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, "Approvers": [ { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" }, { "PermissionClaim": { "ClaimType": "sample string 1", "ClaimValue": "sample string 2", "ClaimTypeLower": "sample string 1", "ClaimValueLower": "sample string 2" }, "Identity": "e4fd0fee-b416-44a3-9322-c5083227b76b", "Name": "sample string 2" } ] } ], "Identity": "26b28a9c-8adf-4208-9245-5065e7c0cb5d", "Name": "sample string 27" }
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. |