GET webapi/root/Forms

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": "8d2b5c44-0dbb-4a69-8168-9becf934901a",
  "Name": "Contact - Basic",
  "Description": "Contact form that gathers basic contact information",
  "InstructionsTopText": "",
  "InstructionsBottomText": "<p>We will contact you shortly after we receive your information</p>",
  "SubmitButtonText": "Submit contact information",
  "ConfirmationText": "<p>We have received your contact information. Thank you.</p>",
  "ResultsEmailAddress": "imfrazeee@gmail.com",
  "StoreResultsInDatabase": true,
  "IsLocked": false,
  "CreatedTime": "2018-01-21T17:30:44.863",
  "UpdatedTime": "2021-12-11T12:45:17.167",
  "SiteName": "homegardenstore",
  "FileName": "0.0.DefaultForm.xml",
  "HideVideoChat": true,
  "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>&lt;p&gt;We have received your contact information. Thank you.&lt;/p&gt;</ConfirmationText>
  <CreatedTime>2018-01-21T17:30:44.863</CreatedTime>
  <Description>Contact form that gathers basic contact information</Description>
  <FileName>0.0.DefaultForm.xml</FileName>
  <FormID>8d2b5c44-0dbb-4a69-8168-9becf934901a</FormID>
  <HideVideoChat>true</HideVideoChat>
  <InstructionsBottomText>&lt;p&gt;We will contact you shortly after we receive your information&lt;/p&gt;</InstructionsBottomText>
  <InstructionsTopText></InstructionsTopText>
  <IsLocked>false</IsLocked>
  <Name>Contact - Basic</Name>
  <ResultsEmailAddress>imfrazeee@gmail.com</ResultsEmailAddress>
  <SiteName>homegardenstore</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>2021-12-11T12:45:17.167</UpdatedTime>
</Form>