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": "23140058-8f9f-4161-b18e-aa6c13048544"
}

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>23140058-8f9f-4161-b18e-aa6c13048544</MembershipID>
  <NotificationResults>sample string 2</NotificationResults>
  <Results>sample string 1</Results>
</SubmitFormResultsRequest>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FormResultsID": "6bc64c1b-524a-4190-b201-62d83000bfb5",
  "FormID": "ab73ef6a-81ac-4207-8927-1ac88d4b5cb9",
  "SiteName": "craftingcheetah",
  "FormName": "Review Submission",
  "Results": "<b>Name:</b> Jaimee McVeigh<br/><b>Review:</b> Sara is amazing at her craft! She put my idea together and drew exactly what I wanted for Halloween! Sara was on time and always made sure I was happy with my look through each stage! I will definitely and would recommend Sara for any event. You will thank me later! <br/><b>Would you allow me to post your review on my website?:</b> Yes, and you may use my name.<br/><b>IP Address:</b> 172.70.210.124",
  "CreatedTime": "2024-12-08T22:05:44.063-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>2024-12-09T06:05:44.063Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-480</d2p1:OffsetMinutes>
  </CreatedTime>
  <FormID>ab73ef6a-81ac-4207-8927-1ac88d4b5cb9</FormID>
  <FormName>Review Submission</FormName>
  <FormResultsID>6bc64c1b-524a-4190-b201-62d83000bfb5</FormResultsID>
  <MediaList />
  <MembershipID i:nil="true" />
  <Results>&lt;b&gt;Name:&lt;/b&gt; Jaimee McVeigh&lt;br/&gt;&lt;b&gt;Review:&lt;/b&gt; Sara is amazing at her craft! She put my idea together and drew exactly what I wanted for Halloween! Sara was on time and always made sure I was happy with my look through each stage! I will definitely and would recommend Sara for any event. You will thank me later! &lt;br/&gt;&lt;b&gt;Would you allow me to post your review on my website?:&lt;/b&gt; Yes, and you may use my name.&lt;br/&gt;&lt;b&gt;IP Address:&lt;/b&gt; 172.70.210.124</Results>
  <SiteName>craftingcheetah</SiteName>
  <SubmitProviderResponse i:nil="true" />
</FormResults>