POST api/BookingTypes/{bookingTypeIdentity}/CreateBookingFromEvent
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
Body Parameters
BookingEventInfo| Name | 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": "80cd19c3-aea6-46e4-839b-4da00f1e53f5",
"BookingTypeIdentity": "78080d18-96b5-49a7-b5f4-81a822f13f93",
"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>78080d18-96b5-49a7-b5f4-81a822f13f93</BookingTypeIdentity>
<EventIdentity>80cd19c3-aea6-46e4-839b-4da00f1e53f5</EventIdentity>
<Owner>sample string 3</Owner>
</BookingEventInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingRequest| Name | 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. |
|
| BookingTypeIdentity | globally unique identifier |
None. |
|
| FormIdentity | globally unique identifier |
None. |
|
| OccurrenceGroupIdentity | globally unique identifier |
None. |
|
| Resources | Collection of BookingResource |
None. |
|
| CanEdit | 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. |
Response Formats
application/json, text/json
Sample:
{
"Identity": "7b190058-f74b-49ab-9f18-393950fe48f3",
"Description": "sample string 2",
"Name": "sample string 3",
"EventType": "sample string 4",
"Owner": "sample string 5",
"StartDateTime": "2025-11-28T11:38:12.7367905+00:00",
"EndDateTime": "2025-11-28T11:38:12.7367905+00:00",
"RecurrencePattern": {
"RecurrenceType": 0,
"EndDateTime": "2025-11-28T11:38:12.7367905+00:00",
"StartDateTime": "2025-11-28T11:38:12.7367905+00:00",
"Interval": 3,
"UntilType": 0,
"UntilDate": "2025-11-28T11:38:12.7367905+00:00",
"NumberOfOccurrences": 5,
"RecurrenceDescription": "sample string 6",
"RecurrencePatternComplexDescription": "sample string 7"
},
"Occurrences": [
{
"Identity": "e4839401-e498-4e2d-b455-4e44ce6483cd",
"IsEdited": true,
"StartDateTime": "2025-11-28T11:38:12.7367905+00:00",
"EndDateTime": "2025-11-28T11:38:12.7367905+00:00"
},
{
"Identity": "e4839401-e498-4e2d-b455-4e44ce6483cd",
"IsEdited": true,
"StartDateTime": "2025-11-28T11:38:12.7367905+00:00",
"EndDateTime": "2025-11-28T11:38:12.7367905+00:00"
}
],
"BookingTypeIdentity": "6fffeeef-285b-47de-a22f-0c64022690e3",
"FormIdentity": "b4a5f385-dd83-46a2-9ee9-936b782b71c3",
"OccurrenceGroupIdentity": "0d0008d0-9460-4101-ad75-de1d18a9a295",
"Resources": [
{
"ResourceTypeIdentity": "95ebc494-4977-4471-9a69-81c6ee301230",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "48d9564f-7698-4deb-a43b-b7d25327161e",
"ResourceRestrictionIdentity": "b717db6e-9c1d-4130-bc7b-916f79ed4cb0",
"IsPrimary": true,
"Identity": "994821b5-4b45-4d5e-913f-8e8659ade6f9",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "95ebc494-4977-4471-9a69-81c6ee301230",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "48d9564f-7698-4deb-a43b-b7d25327161e",
"ResourceRestrictionIdentity": "b717db6e-9c1d-4130-bc7b-916f79ed4cb0",
"IsPrimary": true,
"Identity": "994821b5-4b45-4d5e-913f-8e8659ade6f9",
"Name": "sample string 7"
}
],
"CanEdit": true,
"EventIdentity": "5f0fb7f0-6a92-4a61-a609-512a3a1be59b",
"BookerName": "sample string 13",
"BookerEmailAddress": "sample string 14",
"AdditionalEmailAddresses": [
"sample string 1",
"sample string 2"
],
"Status": "sample string 15",
"HasRecurrence": true,
"IsEdited": true,
"Reference": "sample string 17",
"BookingRequestFormValue": {
"Identity": "8f2b1e34-3508-445b-a77f-d4d02bd7bbe5",
"Name": "sample string 2",
"Sections": [
{
"Identity": "ee5e92a5-4fb0-4c0e-9f86-82ce5051cb72",
"Name": "sample string 2",
"Rank": 3,
"Fields": [
{
"Identity": "7a0e5354-97f8-4ba1-9f1e-3745d5307b50",
"FieldType": 0,
"Rank": 2,
"Description": "sample string 3",
"ShortDescription": "sample string 4",
"Values": [
{},
{}
]
},
{
"Identity": "7a0e5354-97f8-4ba1-9f1e-3745d5307b50",
"FieldType": 0,
"Rank": 2,
"Description": "sample string 3",
"ShortDescription": "sample string 4",
"Values": [
{},
{}
]
}
]
},
{
"Identity": "ee5e92a5-4fb0-4c0e-9f86-82ce5051cb72",
"Name": "sample string 2",
"Rank": 3,
"Fields": [
{
"Identity": "7a0e5354-97f8-4ba1-9f1e-3745d5307b50",
"FieldType": 0,
"Rank": 2,
"Description": "sample string 3",
"ShortDescription": "sample string 4",
"Values": [
{},
{}
]
},
{
"Identity": "7a0e5354-97f8-4ba1-9f1e-3745d5307b50",
"FieldType": 0,
"Rank": 2,
"Description": "sample string 3",
"ShortDescription": "sample string 4",
"Values": [
{},
{}
]
}
]
}
]
},
"HistoryCount": 18,
"RevisedBy": "sample string 19",
"RevisedByEmailAddress": "sample string 20",
"SkipUpdateOccurrencePattern": true
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.