GET api/Forms/GetCurrent
Gets currently used Form for a Site. Scope Site.Name:{SiteName} must be granted to retrieve the information (in other words - Form can only be retrieved within the scope of a single Site).
Response Information
Response body formats
application/json, text/json
Sample:
{ "FormID": "4965ae8c-15b5-4b92-b9b9-790e4e0b3b73", "Name": "Contact - Basic", "Description": "Contact form that gathers basic contact information", "InstructionsTopText": "Please fill out the form to contact me", "InstructionsBottomText": "We will contact you shortly after we receive your information", "SubmitButtonText": "Submit contact information", "ConfirmationText": "I have received your contact information. Thank you.", "ResultsEmailAddress": "[email protected]", "StoreResultsInDatabase": true, "IsLocked": false, "CreatedTime": "2023-05-26T12:53:49.323", "UpdatedTime": "2023-05-26T13:02:19.14", "SiteName": "craftingcheetah", "FileName": "0.0.DefaultForm.xml", "HideVideoChat": false, "SubmitProviderEnabled": null, "SubmitProviderUrl": null, "SubmitProviderKeyValues": null, "SubmitProviderHeaders": null, "SubmitProviderSuccessKeyword": null }
application/xml, text/xml
Sample:
<Form xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediaLibrarianCore"> <ConfirmationText>I have received your contact information. Thank you.</ConfirmationText> <CreatedTime>2023-05-26T12:53:49.323</CreatedTime> <Description>Contact form that gathers basic contact information</Description> <FileName>0.0.DefaultForm.xml</FileName> <FormID>4965ae8c-15b5-4b92-b9b9-790e4e0b3b73</FormID> <HideVideoChat>false</HideVideoChat> <InstructionsBottomText>We will contact you shortly after we receive your information</InstructionsBottomText> <InstructionsTopText>Please fill out the form to contact me</InstructionsTopText> <IsLocked>false</IsLocked> <Name>Contact - Basic</Name> <ResultsEmailAddress>[email protected]</ResultsEmailAddress> <SiteName>craftingcheetah</SiteName> <StoreResultsInDatabase>true</StoreResultsInDatabase> <SubmitButtonText>Submit contact information</SubmitButtonText> <SubmitProviderEnabled i:nil="true" /> <SubmitProviderHeaders i:nil="true" /> <SubmitProviderKeyValues i:nil="true" /> <SubmitProviderSuccessKeyword i:nil="true" /> <SubmitProviderUrl i:nil="true" /> <UpdatedTime>2023-05-26T13:02:19.14</UpdatedTime> </Form>