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": "d572ed6c-29b6-4a35-9701-7cbc2ccc9482" }
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>d572ed6c-29b6-4a35-9701-7cbc2ccc9482</MembershipID> <NotificationResults>sample string 2</NotificationResults> <Results>sample string 1</Results> </SubmitFormResultsRequest>
Response Information
Response body formats
application/json, text/json
Sample:
{ "FormResultsID": "d3e558de-6fd1-4ae9-8308-8a91b19ee119", "FormID": "37ac97c3-bc31-499e-94fc-49ffab5c38ca", "SiteName": "sargentsmaytag", "FormName": "Contact - Basic", "Results": "<b>Name:</b> Dustin Campos<br/><b>Email:</b> dcampos@kromerinvestments.com<br/><b>Message:</b> Hello, I run a local warehouse that has commercial-grade appliances that we would like to sell at a discount. They are brand new and still in the manufacturing wrapping. I can send model numbers and pricing if I can speak with whoever can make these types of decisions. Please let me know. <br/><b>IP Address:</b> 158.51.254.130", "CreatedTime": "2025-05-29T14:20:49.98-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-05-29T21:20:49.98Z</d2p1:DateTime> <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes> </CreatedTime> <FormID>37ac97c3-bc31-499e-94fc-49ffab5c38ca</FormID> <FormName>Contact - Basic</FormName> <FormResultsID>d3e558de-6fd1-4ae9-8308-8a91b19ee119</FormResultsID> <MediaList /> <MembershipID i:nil="true" /> <OrderID i:nil="true" /> <Results><b>Name:</b> Dustin Campos<br/><b>Email:</b> dcampos@kromerinvestments.com<br/><b>Message:</b> Hello, I run a local warehouse that has commercial-grade appliances that we would like to sell at a discount. They are brand new and still in the manufacturing wrapping. I can send model numbers and pricing if I can speak with whoever can make these types of decisions. Please let me know. <br/><b>IP Address:</b> 158.51.254.130</Results> <SiteName>sargentsmaytag</SiteName> <SubmitProviderResponse i:nil="true" /> </FormResults>