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": "a957719d-9923-49bb-8215-1fdc6c5e9c56", "BookingTypeIdentity": "5ed0d9fb-2897-44b0-b09f-5ebaa91d7959", "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>5ed0d9fb-2897-44b0-b09f-5ebaa91d7959</BookingTypeIdentity> <EventIdentity>a957719d-9923-49bb-8215-1fdc6c5e9c56</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. |
|
CanCopy | 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. |
|
CopiedFromIdentity | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Identity": "3d2f545f-3872-47ed-b10f-cbdcca95fe39", "Description": "sample string 2", "Name": "sample string 3", "EventType": "sample string 4", "Owner": "sample string 5", "StartDateTime": "2025-08-31T09:56:21.678669+00:00", "EndDateTime": "2025-08-31T09:56:21.678669+00:00", "RecurrencePattern": { "RecurrenceType": 0, "EndDateTime": "2025-08-31T09:56:21.678669+00:00", "StartDateTime": "2025-08-31T09:56:21.678669+00:00", "Interval": 3, "UntilType": 0, "UntilDate": "2025-08-31T09:56:21.678669+00:00", "NumberOfOccurrences": 5, "RecurrenceDescription": "sample string 6", "RecurrencePatternComplexDescription": "sample string 7" }, "Occurrences": [ { "Identity": "da10215a-1e0c-45c5-b0f1-bb60e020a965", "IsEdited": true, "StartDateTime": "2025-08-31T09:56:21.678669+00:00", "EndDateTime": "2025-08-31T09:56:21.678669+00:00" }, { "Identity": "da10215a-1e0c-45c5-b0f1-bb60e020a965", "IsEdited": true, "StartDateTime": "2025-08-31T09:56:21.678669+00:00", "EndDateTime": "2025-08-31T09:56:21.678669+00:00" } ], "BookingExecutions": [ { "OccurrenceIdentity": "8eb8d0cc-c26f-49e7-8fc9-89f5f8c671c5", "StartInfo": { "StartedDateTime": "2025-08-31T09:56:21.678669+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2025-08-31T09:56:21.678669+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } }, { "OccurrenceIdentity": "8eb8d0cc-c26f-49e7-8fc9-89f5f8c671c5", "StartInfo": { "StartedDateTime": "2025-08-31T09:56:21.678669+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2025-08-31T09:56:21.678669+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } } ], "BookingTypeIdentity": "b1850c46-724a-4297-b3aa-5587788abdd3", "FormIdentity": "16179825-f4e7-4753-8272-fcd7e9912e85", "OccurrenceGroupIdentity": "f5efdf88-1cc1-427f-b23c-f273db52da63", "Resources": [ { "ResourceTypeIdentity": "1ee0ff29-c708-4776-95a8-05468a5acdcd", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "abbcfa87-753a-47e3-bbcf-e01548dd4344", "ResourceRestrictionIdentity": "63088ed0-b603-4b94-823c-24fba6a1acda", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "d1cb474c-ddde-4d43-83e9-25f47332e424", "4ffd7c56-2d91-4fd1-a813-13dba9744652" ], "BookingApprovers": { "PermissionGroupIdentities": [ "305aab72-bb5d-41ec-9178-8c81b965e6e0", "9aa483d0-a3c4-4275-8b6f-902212383fff" ], "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": "61d7b33d-e315-4c73-a68c-278c49da54dd", "Name": "sample string 10" }, { "ResourceTypeIdentity": "1ee0ff29-c708-4776-95a8-05468a5acdcd", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "abbcfa87-753a-47e3-bbcf-e01548dd4344", "ResourceRestrictionIdentity": "63088ed0-b603-4b94-823c-24fba6a1acda", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "d1cb474c-ddde-4d43-83e9-25f47332e424", "4ffd7c56-2d91-4fd1-a813-13dba9744652" ], "BookingApprovers": { "PermissionGroupIdentities": [ "305aab72-bb5d-41ec-9178-8c81b965e6e0", "9aa483d0-a3c4-4275-8b6f-902212383fff" ], "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": "61d7b33d-e315-4c73-a68c-278c49da54dd", "Name": "sample string 10" } ], "CanEdit": true, "CanCancel": true, "CanEditEndDateTimeOnly": true, "CanCopy": true, "EventIdentity": "d1930d76-0c3e-4341-bef3-ef3af4e9dd33", "BookerName": "sample string 16", "BookerEmailAddress": "sample string 17", "AdditionalEmailAddresses": [ "sample string 1", "sample string 2" ], "Status": "sample string 18", "HasRecurrence": true, "IsEdited": true, "Reference": "sample string 20", "BookingRequestFormValue": { "Identity": "64390707-a12d-4806-be56-5ad2b5fa9ebb", "Name": "sample string 2", "Sections": [ { "Identity": "94d2a9e4-9ba2-447b-857a-3e13604a7fe4", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "c79303e0-b546-4e62-a58b-376ede96f7d2", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "c79303e0-b546-4e62-a58b-376ede96f7d2", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] } ] }, { "Identity": "94d2a9e4-9ba2-447b-857a-3e13604a7fe4", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "c79303e0-b546-4e62-a58b-376ede96f7d2", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "c79303e0-b546-4e62-a58b-376ede96f7d2", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] } ] } ] }, "HistoryCount": 21, "RevisedBy": "sample string 22", "RevisedByEmailAddress": "sample string 23", "SkipUpdateOccurrencePattern": true, "IsCurrentlyActive": true, "EditRestrictions": [ { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "c60c1f7a-59c7-4320-8bf4-189fe9b205bf", "Name": "sample string 2" }, { "Identity": "c60c1f7a-59c7-4320-8bf4-189fe9b205bf", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true }, { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "c60c1f7a-59c7-4320-8bf4-189fe9b205bf", "Name": "sample string 2" }, { "Identity": "c60c1f7a-59c7-4320-8bf4-189fe9b205bf", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true } ], "RefittedResources": [ { "ResourceTypeIdentity": "1ee0ff29-c708-4776-95a8-05468a5acdcd", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "abbcfa87-753a-47e3-bbcf-e01548dd4344", "ResourceRestrictionIdentity": "63088ed0-b603-4b94-823c-24fba6a1acda", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "d1cb474c-ddde-4d43-83e9-25f47332e424", "4ffd7c56-2d91-4fd1-a813-13dba9744652" ], "BookingApprovers": { "PermissionGroupIdentities": [ "305aab72-bb5d-41ec-9178-8c81b965e6e0", "9aa483d0-a3c4-4275-8b6f-902212383fff" ], "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": "61d7b33d-e315-4c73-a68c-278c49da54dd", "Name": "sample string 10" }, { "ResourceTypeIdentity": "1ee0ff29-c708-4776-95a8-05468a5acdcd", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "abbcfa87-753a-47e3-bbcf-e01548dd4344", "ResourceRestrictionIdentity": "63088ed0-b603-4b94-823c-24fba6a1acda", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "d1cb474c-ddde-4d43-83e9-25f47332e424", "4ffd7c56-2d91-4fd1-a813-13dba9744652" ], "BookingApprovers": { "PermissionGroupIdentities": [ "305aab72-bb5d-41ec-9178-8c81b965e6e0", "9aa483d0-a3c4-4275-8b6f-902212383fff" ], "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": "61d7b33d-e315-4c73-a68c-278c49da54dd", "Name": "sample string 10" } ], "IsImport": true, "ImportedBy": "sample string 27", "ImportedByEmailAddress": "sample string 28", "Source": "sample string 29", "PrimaryResourceChanged": true, "PrimaryResourceChangedByEmailAddress": "sample string 31", "CopiedFromIdentity": "057c0beb-b1a1-4337-89fe-5a39c2f739b0" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.