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
| Name | Description | Additional 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": "38a7bfb2-e5bd-4706-bae2-e51c680e4237"
}
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>38a7bfb2-e5bd-4706-bae2-e51c680e4237</MembershipID> <NotificationResults>sample string 2</NotificationResults> <Results>sample string 1</Results> </SubmitFormResultsRequest>
Response Information
Response body formats
application/json, text/json
Sample:
{
"FormResultsID": "1e9f1876-22b0-4441-85aa-4dd04a0558d0",
"FormID": "37ac97c3-bc31-499e-94fc-49ffab5c38ca",
"SiteName": "sargentsmaytag",
"FormName": "Contact - Basic",
"Results": "<b>Name:</b> Tammy Thomas<br/><b>Email:</b> Tlb2929@yahoo.com<br/><b>Message:</b> Washing machine is making a funny sound and not working<br/><b>IP Address:</b> 2600:1700:7410:96a0:856a:a2e4:746a:aa97",
"CreatedTime": "2025-12-17T16:27:22.24-08: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-12-18T00:27:22.24Z</d2p1:DateTime>
<d2p1:OffsetMinutes>-480</d2p1:OffsetMinutes>
</CreatedTime>
<FormID>37ac97c3-bc31-499e-94fc-49ffab5c38ca</FormID>
<FormName>Contact - Basic</FormName>
<FormResultsID>1e9f1876-22b0-4441-85aa-4dd04a0558d0</FormResultsID>
<MediaList />
<MembershipID i:nil="true" />
<OrderID i:nil="true" />
<Results><b>Name:</b> Tammy Thomas<br/><b>Email:</b> Tlb2929@yahoo.com<br/><b>Message:</b> Washing machine is making a funny sound and not working<br/><b>IP Address:</b> 2600:1700:7410:96a0:856a:a2e4:746a:aa97</Results>
<SiteName>sargentsmaytag</SiteName>
<SubmitProviderResponse i:nil="true" />
</FormResults>