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": "584406a2-52fd-4087-9ba4-56a418e2adb8", "BookingTypeIdentity": "ceac785e-2a4f-4257-b66a-24a6ac651d78", "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>ceac785e-2a4f-4257-b66a-24a6ac651d78</BookingTypeIdentity> <EventIdentity>584406a2-52fd-4087-9ba4-56a418e2adb8</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": "35eace12-9e9e-406b-8b4a-008611d24b4e", "Description": "sample string 2", "Name": "sample string 3", "EventType": "sample string 4", "Owner": "sample string 5", "StartDateTime": "2025-04-03T22:48:25.6596828+00:00", "EndDateTime": "2025-04-03T22:48:25.6596828+00:00", "RecurrencePattern": { "RecurrenceType": 0, "EndDateTime": "2025-04-03T22:48:25.6596828+00:00", "StartDateTime": "2025-04-03T22:48:25.6596828+00:00", "Interval": 3, "UntilType": 0, "UntilDate": "2025-04-03T22:48:25.6596828+00:00", "NumberOfOccurrences": 5, "RecurrenceDescription": "sample string 6", "RecurrencePatternComplexDescription": "sample string 7" }, "Occurrences": [ { "Identity": "871231a4-9e4b-4603-99a3-222e2fdabd67", "IsEdited": true, "StartDateTime": "2025-04-03T22:48:25.6596828+00:00", "EndDateTime": "2025-04-03T22:48:25.6596828+00:00" }, { "Identity": "871231a4-9e4b-4603-99a3-222e2fdabd67", "IsEdited": true, "StartDateTime": "2025-04-03T22:48:25.6596828+00:00", "EndDateTime": "2025-04-03T22:48:25.6596828+00:00" } ], "BookingExecutions": [ { "OccurrenceIdentity": "b5352dfd-dc1c-4b6e-b00c-004bf3ea9926", "StartInfo": { "StartedDateTime": "2025-04-03T22:48:25.6596828+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2025-04-03T22:48:25.6596828+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } }, { "OccurrenceIdentity": "b5352dfd-dc1c-4b6e-b00c-004bf3ea9926", "StartInfo": { "StartedDateTime": "2025-04-03T22:48:25.6596828+00:00", "StartedByIdentity": "sample string 1", "StartedByName": "sample string 2", "StartedByEmailAddress": "sample string 3", "StartedForm": "sample string 4" }, "EndInfo": { "EndedDateTime": "2025-04-03T22:48:25.6596828+00:00", "EndedByIdentity": "sample string 1", "EndedByName": "sample string 2", "EndedByEmailAddress": "sample string 3", "EndedForm": "sample string 4" } } ], "BookingTypeIdentity": "76a3ba82-59be-435e-a69d-f5feaffb4e62", "FormIdentity": "d6bf8b43-18bc-47bb-bc17-bc9e208fa85f", "OccurrenceGroupIdentity": "ac05fd58-bb2a-49f8-a53c-63d5fa2dbc45", "Resources": [ { "ResourceTypeIdentity": "a4a2a89b-fceb-4406-9c79-1f7821aac9b6", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "b85e7863-468d-4bca-b3f2-6c7f8fd8de70", "ResourceRestrictionIdentity": "86059f9c-f1a5-44f6-911e-38594f7cf435", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "7a772e0a-52ee-4124-bc20-419d16a41be0", "8c1c4f48-4747-48d5-833c-b435aeb643ab" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c28db711-44a5-45f0-864a-17a6c512eb09", "7535f9b6-0358-420d-8ef2-6e2a0c5e8162" ], "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": "d0b9aa9a-ceb1-4608-9275-bd874ee99c2e", "Name": "sample string 10" }, { "ResourceTypeIdentity": "a4a2a89b-fceb-4406-9c79-1f7821aac9b6", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "b85e7863-468d-4bca-b3f2-6c7f8fd8de70", "ResourceRestrictionIdentity": "86059f9c-f1a5-44f6-911e-38594f7cf435", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "7a772e0a-52ee-4124-bc20-419d16a41be0", "8c1c4f48-4747-48d5-833c-b435aeb643ab" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c28db711-44a5-45f0-864a-17a6c512eb09", "7535f9b6-0358-420d-8ef2-6e2a0c5e8162" ], "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": "d0b9aa9a-ceb1-4608-9275-bd874ee99c2e", "Name": "sample string 10" } ], "CanEdit": true, "CanCancel": true, "CanEditEndDateTimeOnly": true, "CanCopy": true, "EventIdentity": "dc43933a-9133-42cf-ac46-c6f23cdf0461", "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": "112822e6-ab37-415b-8d80-87acebdb2327", "Name": "sample string 2", "Sections": [ { "Identity": "c57ee820-4127-47a0-bc78-340ac74a4b0e", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "bb4ccab6-a049-494e-a30d-4fafe18c23ee", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "bb4ccab6-a049-494e-a30d-4fafe18c23ee", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] } ] }, { "Identity": "c57ee820-4127-47a0-bc78-340ac74a4b0e", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "bb4ccab6-a049-494e-a30d-4fafe18c23ee", "FieldType": 0, "Rank": 2, "Description": "sample string 3", "ShortDescription": "sample string 4", "Values": [ {}, {} ] }, { "Identity": "bb4ccab6-a049-494e-a30d-4fafe18c23ee", "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": "d5bd6917-a72d-4d54-ad73-d741347be4fc", "Name": "sample string 2" }, { "Identity": "d5bd6917-a72d-4d54-ad73-d741347be4fc", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true }, { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "d5bd6917-a72d-4d54-ad73-d741347be4fc", "Name": "sample string 2" }, { "Identity": "d5bd6917-a72d-4d54-ad73-d741347be4fc", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true } ], "RefittedResources": [ { "ResourceTypeIdentity": "a4a2a89b-fceb-4406-9c79-1f7821aac9b6", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "b85e7863-468d-4bca-b3f2-6c7f8fd8de70", "ResourceRestrictionIdentity": "86059f9c-f1a5-44f6-911e-38594f7cf435", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "7a772e0a-52ee-4124-bc20-419d16a41be0", "8c1c4f48-4747-48d5-833c-b435aeb643ab" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c28db711-44a5-45f0-864a-17a6c512eb09", "7535f9b6-0358-420d-8ef2-6e2a0c5e8162" ], "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": "d0b9aa9a-ceb1-4608-9275-bd874ee99c2e", "Name": "sample string 10" }, { "ResourceTypeIdentity": "a4a2a89b-fceb-4406-9c79-1f7821aac9b6", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "b85e7863-468d-4bca-b3f2-6c7f8fd8de70", "ResourceRestrictionIdentity": "86059f9c-f1a5-44f6-911e-38594f7cf435", "IsPrimary": true, "ResourceAddedExternally": true, "ImageUri": "http://webapihelppage6.com", "Approvers": [ "7a772e0a-52ee-4124-bc20-419d16a41be0", "8c1c4f48-4747-48d5-833c-b435aeb643ab" ], "BookingApprovers": { "PermissionGroupIdentities": [ "c28db711-44a5-45f0-864a-17a6c512eb09", "7535f9b6-0358-420d-8ef2-6e2a0c5e8162" ], "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": "d0b9aa9a-ceb1-4608-9275-bd874ee99c2e", "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": "32454e12-22b9-4686-8a50-6ed2ce3c7d6c" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.