POST webapi/root/Forms

Submits form results to the Site's current form. Scope Site.Name:{SiteName} must be granted to retrieve the information (in other words - results can only be submitted within the scope of a single Site).

Request Information

Parameters

NameDescriptionAdditional information
results
Forms results to submit.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Results": "sample string 1",
  "NotificationResults": "sample string 2",
  "MembershipID": "0cb353ad-7ddd-4e69-9fdc-136d6a10c492"
}

application/xml, text/xml

Sample:
<SubmitFormResultsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoNET.WebAPI.Logic.Models">
  <MembershipID>0cb353ad-7ddd-4e69-9fdc-136d6a10c492</MembershipID>
  <NotificationResults>sample string 2</NotificationResults>
  <Results>sample string 1</Results>
</SubmitFormResultsRequest>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FormResultsID": "3ee2c5fe-f5c7-48ba-9c8f-c12b15ec8124",
  "FormID": "629801f3-b604-4edc-a7db-72d8013388a1",
  "SiteName": "craftingcheetah",
  "FormName": "Book an Event",
  "Results": "<b>Date:</b> 2025-02-08<br/><b>First and Last Name:</b> Mailee Shaw<br/><b>Address of Party Venue or Location:</b> Address1: 1084 <br/>Address2: Riddle Glen St<br/>City: Henderson<br/>State/Province/Region: NV<br/>Postal/Zip Code: 89012<br/>Country: United States<br/><b>Phone (If Prefered):</b> 7023700784<br/><b>Comments:</b> Daughters 6th birthday party <br/><b>IP Address:</b> 172.69.23.124",
  "CreatedTime": "2025-01-20T17:05:51.04-08:00",
  "Approved": null,
  "ApprovalNote": null,
  "MembershipID": null,
  "SubmitProviderResponse": null,
  "MediaList": []
}

application/xml, text/xml

Sample:
<FormResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediaLibrarianCore">
  <ApprovalNote i:nil="true" />
  <Approved i:nil="true" />
  <CreatedTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-01-21T01:05:51.04Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-480</d2p1:OffsetMinutes>
  </CreatedTime>
  <FormID>629801f3-b604-4edc-a7db-72d8013388a1</FormID>
  <FormName>Book an Event</FormName>
  <FormResultsID>3ee2c5fe-f5c7-48ba-9c8f-c12b15ec8124</FormResultsID>
  <MediaList />
  <MembershipID i:nil="true" />
  <Results>&lt;b&gt;Date:&lt;/b&gt; 2025-02-08&lt;br/&gt;&lt;b&gt;First and Last Name:&lt;/b&gt; Mailee Shaw&lt;br/&gt;&lt;b&gt;Address of Party Venue or Location:&lt;/b&gt; Address1: 1084 &lt;br/&gt;Address2: Riddle Glen St&lt;br/&gt;City: Henderson&lt;br/&gt;State/Province/Region: NV&lt;br/&gt;Postal/Zip Code: 89012&lt;br/&gt;Country: United States&lt;br/&gt;&lt;b&gt;Phone (If Prefered):&lt;/b&gt; 7023700784&lt;br/&gt;&lt;b&gt;Comments:&lt;/b&gt; Daughters 6th birthday party &lt;br/&gt;&lt;b&gt;IP Address:&lt;/b&gt; 172.69.23.124</Results>
  <SiteName>craftingcheetah</SiteName>
  <SubmitProviderResponse i:nil="true" />
</FormResults>