POST api/Forms/SubmitResults

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": "ace66310-0e9d-4f32-8e15-5e6cd4765433"
}

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>ace66310-0e9d-4f32-8e15-5e6cd4765433</MembershipID>
  <NotificationResults>sample string 2</NotificationResults>
  <Results>sample string 1</Results>
</SubmitFormResultsRequest>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FormResultsID": "aabfdec6-ba41-4699-a19b-116888653a2c",
  "FormID": "ab73ef6a-81ac-4207-8927-1ac88d4b5cb9",
  "SiteName": "craftingcheetah",
  "FormName": "Review Submission",
  "Results": "<b>Name:</b> Lacie  Senef<br/><b>Review:</b> Sara was so wonderful! She came to our Galentines Party and was amazing with around 12 little girls! Such a hit. Would definitely book her again!<br/><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> 162.158.187.65",
  "CreatedTime": "2025-02-08T19:00:13.92-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-02-09T03:00:13.92Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-480</d2p1:OffsetMinutes>
  </CreatedTime>
  <FormID>ab73ef6a-81ac-4207-8927-1ac88d4b5cb9</FormID>
  <FormName>Review Submission</FormName>
  <FormResultsID>aabfdec6-ba41-4699-a19b-116888653a2c</FormResultsID>
  <MediaList />
  <MembershipID i:nil="true" />
  <Results>&lt;b&gt;Name:&lt;/b&gt; Lacie  Senef&lt;br/&gt;&lt;b&gt;Review:&lt;/b&gt; Sara was so wonderful! She came to our Galentines Party and was amazing with around 12 little girls! Such a hit. Would definitely book her again!&lt;br/&gt;&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; 162.158.187.65</Results>
  <SiteName>craftingcheetah</SiteName>
  <SubmitProviderResponse i:nil="true" />
</FormResults>