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": "b19fb3c3-9824-40e1-b60c-1e0d051847fc"
}

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>b19fb3c3-9824-40e1-b60c-1e0d051847fc</MembershipID>
  <NotificationResults>sample string 2</NotificationResults>
  <Results>sample string 1</Results>
</SubmitFormResultsRequest>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FormResultsID": "a00198a7-99b3-4b19-b9a3-6c0303df832d",
  "FormID": "1be1e588-345f-40d7-af94-adedf1bf9347",
  "SiteName": "thelittleredtruckthatdid",
  "FormName": "Contact - Basic",
  "Results": "<b>Name:</b> Frances Squires<br/><b>Email:</b> f_sheehan@sbcglobal.net<br/><b>Message:</b> We have some items to donate. How can we get them to you?<br/><b>IP Address:</b> 108.227.133.241",
  "CreatedTime": "2025-09-13T19:10:07.447-07:00",
  "Approved": null,
  "ApprovalNote": null,
  "MembershipID": null,
  "SubmitProviderResponse": null,
  "OrderID": 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-09-14T02:10:07.447Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </CreatedTime>
  <FormID>1be1e588-345f-40d7-af94-adedf1bf9347</FormID>
  <FormName>Contact - Basic</FormName>
  <FormResultsID>a00198a7-99b3-4b19-b9a3-6c0303df832d</FormResultsID>
  <MediaList />
  <MembershipID i:nil="true" />
  <OrderID i:nil="true" />
  <Results>&lt;b&gt;Name:&lt;/b&gt; Frances Squires&lt;br/&gt;&lt;b&gt;Email:&lt;/b&gt; f_sheehan@sbcglobal.net&lt;br/&gt;&lt;b&gt;Message:&lt;/b&gt; We have some items to donate. How can we get them to you?&lt;br/&gt;&lt;b&gt;IP Address:&lt;/b&gt; 108.227.133.241</Results>
  <SiteName>thelittleredtruckthatdid</SiteName>
  <SubmitProviderResponse i:nil="true" />
</FormResults>