POST api/BookingTypes/{bookingTypeIdentity}/CreateBookingFromEvent
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingTypeIdentity | string |
Required |
Body Parameters
BookingEventInfoName | Description | Type | Additional information |
---|---|---|---|
EventIdentity | globally unique identifier |
None. |
|
BookingTypeIdentity | globally unique identifier |
None. |
|
Owner | string |
None. |
|
BookerName | string |
None. |
|
BookerEmailAddress | string |
None. |
|
AdditionalEmailAddresses | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EventIdentity": "852abc60-f892-4bb5-a300-ae39ca6f021a", "BookingTypeIdentity": "0fe33818-065d-4ae4-b520-d6844e70aa40", "Owner": "sample string 3", "BookerName": "sample string 4", "BookerEmailAddress": "sample string 5", "AdditionalEmailAddresses": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<BookingEventInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <AdditionalEmailAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AdditionalEmailAddresses> <BookerEmailAddress>sample string 5</BookerEmailAddress> <BookerName>sample string 4</BookerName> <BookingTypeIdentity>0fe33818-065d-4ae4-b520-d6844e70aa40</BookingTypeIdentity> <EventIdentity>852abc60-f892-4bb5-a300-ae39ca6f021a</EventIdentity> <Owner>sample string 3</Owner> </BookingEventInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingRequestName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
Description | string |
None. |
|
Name | string |
None. |
|
EventType | string |
None. |
|
Owner | string |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
RecurrencePattern | RecurrencePatternObject |
None. |
|
Occurrences | Collection of Occurrence |
None. |
|
BookingExecutions | Collection of BookingExecution |
None. |
|
BookingTypeIdentity | globally unique identifier |
None. |
|
FormIdentity | globally unique identifier |
None. |
|
OccurrenceGroupIdentity | globally unique identifier |
None. |
|
Resources | Collection of BookingResource |
None. |
|
CanEdit | boolean |
None. |
|
CanCancel | boolean |
None. |
|
CanEditEndDateTimeOnly | boolean |
None. |
|
EventIdentity | globally unique identifier |
None. |
|
BookerName | string |
None. |
|
BookerEmailAddress | string |
None. |
|
AdditionalEmailAddresses | Collection of string |
None. |
|
Status | string |
None. |
|
HasRecurrence | boolean |
None. |
|
IsEdited | boolean |
None. |
|
Reference | string |
None. |
|
BookingRequestFormValue | BookingRequestFormValue |
None. |
|
HistoryCount | integer |
None. |
|
RevisedBy | string |
None. |
|
RevisedByEmailAddress | string |
None. |
|
SkipUpdateOccurrencePattern | boolean |
None. |
|
IsCurrentlyActive | boolean |
None. |
|
EditRestrictions | Collection of BookingRequestEditRestriction |
None. |
|
RefittedResources | Collection of BookingResource |
None. |
|
IsImport | boolean |
None. |
|
ImportedBy | string |
None. |
|
ImportedByEmailAddress | string |
None. |
|
Source | string |
None. |
|
PrimaryResourceChanged | boolean |
None. |
|
PrimaryResourceChangedByEmailAddress | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Identity": "58609756-6331-4d22-a173-c545e8918e77", "Description": "sample string 2", "Name": "sample string 3", "EventType": "sample string 4", "Owner": "sample string 5", "StartDateTime": "2024-11-21T08:33:24.1201139+00:00", "EndDateTime": "2024-11-21T08:33:24.1201139+00:00", "RecurrencePattern": { "RecurrenceType": 0, "EndDateTime": "2024-11-21T08:33:24.1201139+00:00", "StartDateTime": "2024-11-21T08:33:24.1201139+00:00", "Interval": 3, "UntilType": 0, "UntilDate": "2024-11-21T08:33:24.1201139+00:00", "NumberOfOccurrences": 5, "RecurrenceDescription": "sample string 6", "RecurrencePatternComplexDescription": "sample string 7" }, "Occurrences": [ { "Identity": "65dae2d5-7628-4540-aa2b-e79fdcbee2dd", "IsEdited": true, "StartDateTime": "2024-11-21T08:33:24.1357413+00:00", "EndDateTime": "2024-11-21T08:33:24.1357413+00:00" }, { "Identity": "65dae2d5-7628-4540-aa2b-e79fdcbee2dd", "IsEdited": true, "StartDateTime": "2024-11-21T08:33:24.1357413+00:00", "EndDateTime": "2024-11-21T08:33:24.1357413+00:00" } ], "BookingExecutions": [ { "OccurrenceIdentity": "591716ef-7396-457e-b065-f5ea93c109fd", "StartInfo": { "StartedDateTime": "2024-11-21T08:33:24.1357413+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2024-11-21T08:33:24.1357413+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } }, { "OccurrenceIdentity": "591716ef-7396-457e-b065-f5ea93c109fd", "StartInfo": { "StartedDateTime": "2024-11-21T08:33:24.1357413+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2024-11-21T08:33:24.1357413+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } } ], "BookingTypeIdentity": "c1bba1e3-d5e4-400e-950e-c52d3614528e", "FormIdentity": "dba27b6d-acb4-47a9-bd45-9c08705adf20", "OccurrenceGroupIdentity": "2a1cbb4a-bd86-44d2-955e-642f3b65baf5", "Resources": [ { "ResourceTypeIdentity": "1340fb36-d3b6-4cf6-b36d-edd3d86b7df4", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "7b3950a1-064c-445f-bc21-6834cac437f1", "ResourceRestrictionIdentity": "065c43a6-7551-4cb1-9398-e65ca78b23c2", "IsPrimary": true, "ImageUri": "http://webapihelppage5.com", "Approvers": [ "5c3ff033-8d00-4c6d-b363-583203ffac12", "6ad38ede-e78f-4030-856b-9e254378dae9" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c86af78d-b566-43c2-a55f-d5c90fadda2c", "05da037c-2b1c-4b56-92e8-865c2b3f5e19" ], "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" } ] }, "CanViewCalendar": true, "Identity": "297eff46-aed5-4899-9c6c-1dac86684593", "Name": "sample string 9" }, { "ResourceTypeIdentity": "1340fb36-d3b6-4cf6-b36d-edd3d86b7df4", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "7b3950a1-064c-445f-bc21-6834cac437f1", "ResourceRestrictionIdentity": "065c43a6-7551-4cb1-9398-e65ca78b23c2", "IsPrimary": true, "ImageUri": "http://webapihelppage5.com", "Approvers": [ "5c3ff033-8d00-4c6d-b363-583203ffac12", "6ad38ede-e78f-4030-856b-9e254378dae9" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c86af78d-b566-43c2-a55f-d5c90fadda2c", "05da037c-2b1c-4b56-92e8-865c2b3f5e19" ], "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" } ] }, "CanViewCalendar": true, "Identity": "297eff46-aed5-4899-9c6c-1dac86684593", "Name": "sample string 9" } ], "CanEdit": true, "CanCancel": true, "CanEditEndDateTimeOnly": true, "EventIdentity": "a31d7f48-3f16-4557-9cfd-62ee0aa8c072", "BookerName": "sample string 15", "BookerEmailAddress": "sample string 16", "AdditionalEmailAddresses": [ "sample string 1", "sample string 2" ], "Status": "sample string 17", "HasRecurrence": true, "IsEdited": true, "Reference": "sample string 19", "BookingRequestFormValue": { "Identity": "3a892d14-e78e-40d8-83ca-d32d4f6e21b6", "Name": "sample string 2", "Sections": [ { "Identity": "2b0db0a2-f086-4e31-8d64-9cd18886bf8d", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "a3c9a1c9-190d-430c-a64a-9820ea8b3265", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "a3c9a1c9-190d-430c-a64a-9820ea8b3265", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] } ] }, { "Identity": "2b0db0a2-f086-4e31-8d64-9cd18886bf8d", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "a3c9a1c9-190d-430c-a64a-9820ea8b3265", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "a3c9a1c9-190d-430c-a64a-9820ea8b3265", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] } ] } ] }, "HistoryCount": 20, "RevisedBy": "sample string 21", "RevisedByEmailAddress": "sample string 22", "SkipUpdateOccurrencePattern": true, "IsCurrentlyActive": true, "EditRestrictions": [ { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "baee6b07-8ad9-444b-a7a4-e632ede78c00", "Name": "sample string 2" }, { "Identity": "baee6b07-8ad9-444b-a7a4-e632ede78c00", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true }, { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "baee6b07-8ad9-444b-a7a4-e632ede78c00", "Name": "sample string 2" }, { "Identity": "baee6b07-8ad9-444b-a7a4-e632ede78c00", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true } ], "RefittedResources": [ { "ResourceTypeIdentity": "1340fb36-d3b6-4cf6-b36d-edd3d86b7df4", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "7b3950a1-064c-445f-bc21-6834cac437f1", "ResourceRestrictionIdentity": "065c43a6-7551-4cb1-9398-e65ca78b23c2", "IsPrimary": true, "ImageUri": "http://webapihelppage5.com", "Approvers": [ "5c3ff033-8d00-4c6d-b363-583203ffac12", "6ad38ede-e78f-4030-856b-9e254378dae9" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c86af78d-b566-43c2-a55f-d5c90fadda2c", "05da037c-2b1c-4b56-92e8-865c2b3f5e19" ], "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" } ] }, "CanViewCalendar": true, "Identity": "297eff46-aed5-4899-9c6c-1dac86684593", "Name": "sample string 9" }, { "ResourceTypeIdentity": "1340fb36-d3b6-4cf6-b36d-edd3d86b7df4", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "7b3950a1-064c-445f-bc21-6834cac437f1", "ResourceRestrictionIdentity": "065c43a6-7551-4cb1-9398-e65ca78b23c2", "IsPrimary": true, "ImageUri": "http://webapihelppage5.com", "Approvers": [ "5c3ff033-8d00-4c6d-b363-583203ffac12", "6ad38ede-e78f-4030-856b-9e254378dae9" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c86af78d-b566-43c2-a55f-d5c90fadda2c", "05da037c-2b1c-4b56-92e8-865c2b3f5e19" ], "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" } ] }, "CanViewCalendar": true, "Identity": "297eff46-aed5-4899-9c6c-1dac86684593", "Name": "sample string 9" } ], "IsImport": true, "ImportedBy": "sample string 26", "ImportedByEmailAddress": "sample string 27", "Source": "sample string 28", "PrimaryResourceChanged": true, "PrimaryResourceChangedByEmailAddress": "sample string 30" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.