POST api/BookingForms
Request Information
URI Parameters
None.
Body Parameters
BookingFormName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Sections | Collection of Section |
None. |
|
AssociatedBookingTypes | Collection of BookingType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": "ba237790-5ae3-4ad1-9064-54d94b6269d8", "Name": "sample string 2", "Description": "sample string 3", "Sections": [ { "Identity": "6af14217-de7c-4179-8e62-606a42325881", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "8c1c74f2-210f-451b-b8c8-05f4afec5ea5", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true }, { "Identity": "8c1c74f2-210f-451b-b8c8-05f4afec5ea5", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true } ] }, { "Identity": "6af14217-de7c-4179-8e62-606a42325881", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "8c1c74f2-210f-451b-b8c8-05f4afec5ea5", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true }, { "Identity": "8c1c74f2-210f-451b-b8c8-05f4afec5ea5", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true } ] } ], "AssociatedBookingTypes": [ { "BookingForm": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "0ddbb44d-39b3-4622-99c3-b908270f765d", "ResourceType": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "0ddbb44d-39b3-4622-99c3-b908270f765d", "ResourceType": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "Identity": "d935e801-4073-4b94-b072-4af9af3e621b", "Name": "sample string 7" }, { "BookingForm": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "0ddbb44d-39b3-4622-99c3-b908270f765d", "ResourceType": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "0ddbb44d-39b3-4622-99c3-b908270f765d", "ResourceType": { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" }, { "Identity": "5bdf9d3e-c6a3-489b-8c06-5370b220cd5f", "Name": "sample string 2" } ], "Identity": "d935e801-4073-4b94-b072-4af9af3e621b", "Name": "sample string 7" } ] }
application/xml, text/xml
Sample:
<BookingForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Forms"> <AssociatedBookingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <d2p1:BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d935e801-4073-4b94-b072-4af9af3e621b</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <d2p1:ReadPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:ReadPermissionGroups> <d2p1:WritePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:WritePermissionGroups> <d2p1:BasePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BasePermissionGroups> <d2p1:BoboPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BoboPermissionGroups> <d2p1:BookingForm xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d2p1:BookingForm> <d2p1:CanBookAsSomeoneElse>true</d2p1:CanBookAsSomeoneElse> <d2p1:CanBookOnBehalfOf>true</d2p1:CanBookOnBehalfOf> <d2p1:CanEdit>true</d2p1:CanEdit> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:HasExternallyManagedResources>true</d2p1:HasExternallyManagedResources> <d2p1:ImageUri>http://webapihelppage2.com/</d2p1:ImageUri> <d2p1:ResourceRestrictionRules> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>0ddbb44d-39b3-4622-99c3-b908270f765d</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>0ddbb44d-39b3-4622-99c3-b908270f765d</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> </d2p1:ResourceRestrictionRules> </d2p1:BookingType> <d2p1:BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d935e801-4073-4b94-b072-4af9af3e621b</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <d2p1:ReadPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:ReadPermissionGroups> <d2p1:WritePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:WritePermissionGroups> <d2p1:BasePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BasePermissionGroups> <d2p1:BoboPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BoboPermissionGroups> <d2p1:BookingForm xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d2p1:BookingForm> <d2p1:CanBookAsSomeoneElse>true</d2p1:CanBookAsSomeoneElse> <d2p1:CanBookOnBehalfOf>true</d2p1:CanBookOnBehalfOf> <d2p1:CanEdit>true</d2p1:CanEdit> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:HasExternallyManagedResources>true</d2p1:HasExternallyManagedResources> <d2p1:ImageUri>http://webapihelppage2.com/</d2p1:ImageUri> <d2p1:ResourceRestrictionRules> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>0ddbb44d-39b3-4622-99c3-b908270f765d</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>0ddbb44d-39b3-4622-99c3-b908270f765d</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>5bdf9d3e-c6a3-489b-8c06-5370b220cd5f</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> </d2p1:ResourceRestrictionRules> </d2p1:BookingType> </AssociatedBookingTypes> <Description>sample string 3</Description> <Identity>ba237790-5ae3-4ad1-9064-54d94b6269d8</Identity> <Name>sample string 2</Name> <Sections xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Sections"> <d2p1:Section> <d2p1:Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Fields"> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>8c1c74f2-210f-451b-b8c8-05f4afec5ea5</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>8c1c74f2-210f-451b-b8c8-05f4afec5ea5</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> </d2p1:Fields> <d2p1:Identity>6af14217-de7c-4179-8e62-606a42325881</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>3</d2p1:Rank> </d2p1:Section> <d2p1:Section> <d2p1:Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Fields"> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>8c1c74f2-210f-451b-b8c8-05f4afec5ea5</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>8c1c74f2-210f-451b-b8c8-05f4afec5ea5</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> </d2p1:Fields> <d2p1:Identity>6af14217-de7c-4179-8e62-606a42325881</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>3</d2p1:Rank> </d2p1:Section> </Sections> </BookingForm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingFormName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Sections | Collection of Section |
None. |
|
AssociatedBookingTypes | Collection of BookingType |
None. |
Response Formats
application/json, text/json
Sample:
{ "Identity": "a55a8fcf-4415-44f4-ba95-a57131406afe", "Name": "sample string 2", "Description": "sample string 3", "Sections": [ { "Identity": "397c25c8-45d6-4d30-a541-8e5b2a6a052d", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "ec4ffe8c-86fa-4335-9382-2cb860cd76b8", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true }, { "Identity": "ec4ffe8c-86fa-4335-9382-2cb860cd76b8", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true } ] }, { "Identity": "397c25c8-45d6-4d30-a541-8e5b2a6a052d", "Name": "sample string 2", "Rank": 3, "Fields": [ { "Identity": "ec4ffe8c-86fa-4335-9382-2cb860cd76b8", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true }, { "Identity": "ec4ffe8c-86fa-4335-9382-2cb860cd76b8", "Rank": 2, "Description": "sample string 3", "FieldType": 0, "IsActive": true } ] } ], "AssociatedBookingTypes": [ { "BookingForm": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "6406e133-7dff-4221-be54-63ea555f6c73", "ResourceType": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "6406e133-7dff-4221-be54-63ea555f6c73", "ResourceType": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "Identity": "bea58e98-fe50-45fa-a6f1-a44910510ce2", "Name": "sample string 7" }, { "BookingForm": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "6406e133-7dff-4221-be54-63ea555f6c73", "ResourceType": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "6406e133-7dff-4221-be54-63ea555f6c73", "ResourceType": { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" }, { "Identity": "b7f54519-16f1-4444-8a7c-a2255bb7583d", "Name": "sample string 2" } ], "Identity": "bea58e98-fe50-45fa-a6f1-a44910510ce2", "Name": "sample string 7" } ] }
application/xml, text/xml
Sample:
<BookingForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Forms"> <AssociatedBookingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <d2p1:BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bea58e98-fe50-45fa-a6f1-a44910510ce2</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <d2p1:ReadPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:ReadPermissionGroups> <d2p1:WritePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:WritePermissionGroups> <d2p1:BasePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BasePermissionGroups> <d2p1:BoboPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BoboPermissionGroups> <d2p1:BookingForm xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d2p1:BookingForm> <d2p1:CanBookAsSomeoneElse>true</d2p1:CanBookAsSomeoneElse> <d2p1:CanBookOnBehalfOf>true</d2p1:CanBookOnBehalfOf> <d2p1:CanEdit>true</d2p1:CanEdit> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:HasExternallyManagedResources>true</d2p1:HasExternallyManagedResources> <d2p1:ImageUri>http://webapihelppage2.com/</d2p1:ImageUri> <d2p1:ResourceRestrictionRules> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>6406e133-7dff-4221-be54-63ea555f6c73</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>6406e133-7dff-4221-be54-63ea555f6c73</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> </d2p1:ResourceRestrictionRules> </d2p1:BookingType> <d2p1:BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bea58e98-fe50-45fa-a6f1-a44910510ce2</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <d2p1:ReadPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:ReadPermissionGroups> <d2p1:WritePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:WritePermissionGroups> <d2p1:BasePermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BasePermissionGroups> <d2p1:BoboPermissionGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </d2p1:BoboPermissionGroups> <d2p1:BookingForm xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d2p1:BookingForm> <d2p1:CanBookAsSomeoneElse>true</d2p1:CanBookAsSomeoneElse> <d2p1:CanBookOnBehalfOf>true</d2p1:CanBookOnBehalfOf> <d2p1:CanEdit>true</d2p1:CanEdit> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:HasExternallyManagedResources>true</d2p1:HasExternallyManagedResources> <d2p1:ImageUri>http://webapihelppage2.com/</d2p1:ImageUri> <d2p1:ResourceRestrictionRules> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>6406e133-7dff-4221-be54-63ea555f6c73</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> <d2p1:ResourceRequirementTemplate> <d2p1:AllowResourceSelection>true</d2p1:AllowResourceSelection> <d2p1:Identity>6406e133-7dff-4221-be54-63ea555f6c73</d2p1:Identity> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:Max>4</d2p1:Max> <d2p1:Min>3</d2p1:Min> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ResourceGroups xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> <d6p1:NamedObject> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d6p1:NamedObject> </d2p1:ResourceGroups> <d2p1:ResourceType xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d6p1:Identity>b7f54519-16f1-4444-8a7c-a2255bb7583d</d6p1:Identity> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:ResourceType> </d2p1:ResourceRequirementTemplate> </d2p1:ResourceRestrictionRules> </d2p1:BookingType> </AssociatedBookingTypes> <Description>sample string 3</Description> <Identity>a55a8fcf-4415-44f4-ba95-a57131406afe</Identity> <Name>sample string 2</Name> <Sections xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Sections"> <d2p1:Section> <d2p1:Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Fields"> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>ec4ffe8c-86fa-4335-9382-2cb860cd76b8</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>ec4ffe8c-86fa-4335-9382-2cb860cd76b8</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> </d2p1:Fields> <d2p1:Identity>397c25c8-45d6-4d30-a541-8e5b2a6a052d</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>3</d2p1:Rank> </d2p1:Section> <d2p1:Section> <d2p1:Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ConfigurableBookingForms.Fields"> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>ec4ffe8c-86fa-4335-9382-2cb860cd76b8</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> <d4p1:Field> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:FieldType>Attachment</d4p1:FieldType> <d4p1:Identity>ec4ffe8c-86fa-4335-9382-2cb860cd76b8</d4p1:Identity> <d4p1:IsActive>true</d4p1:IsActive> <d4p1:Rank>2</d4p1:Rank> </d4p1:Field> </d2p1:Fields> <d2p1:Identity>397c25c8-45d6-4d30-a541-8e5b2a6a052d</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>3</d2p1:Rank> </d2p1:Section> </Sections> </BookingForm>