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": "fd3475da-bcd3-4916-964c-c33c768519d6" }
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>fd3475da-bcd3-4916-964c-c33c768519d6</MembershipID> <NotificationResults>sample string 2</NotificationResults> <Results>sample string 1</Results> </SubmitFormResultsRequest>
Response Information
Response body formats
application/json, text/json
Sample:
{ "FormResultsID": "af665d0e-78b2-4899-9f92-dc3def7dad7e", "FormID": "3c9ebb42-a2fa-4e4a-a107-578b08c7670c", "SiteName": "brandonmcphee", "FormName": "Contact - Basic", "Results": "<b>Name:</b> Cynthia Simmons<br/><b>Email:</b> cynthiasimmons5@icloud.com<br/><b>Subject:</b> General Question<br/><b>Message:</b> Thank you to Brandon for posting a link to fb of the fantastic radio programme, please Brandon could you do this each week? Thank you so much x<br/><b>IP Address:</b> 185.83.15.178", "CreatedTime": "2025-09-15T13:48:12.47-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-15T20:48:12.47Z</d2p1:DateTime> <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes> </CreatedTime> <FormID>3c9ebb42-a2fa-4e4a-a107-578b08c7670c</FormID> <FormName>Contact - Basic</FormName> <FormResultsID>af665d0e-78b2-4899-9f92-dc3def7dad7e</FormResultsID> <MediaList /> <MembershipID i:nil="true" /> <OrderID i:nil="true" /> <Results><b>Name:</b> Cynthia Simmons<br/><b>Email:</b> cynthiasimmons5@icloud.com<br/><b>Subject:</b> General Question<br/><b>Message:</b> Thank you to Brandon for posting a link to fb of the fantastic radio programme, please Brandon could you do this each week? Thank you so much x<br/><b>IP Address:</b> 185.83.15.178</Results> <SiteName>brandonmcphee</SiteName> <SubmitProviderResponse i:nil="true" /> </FormResults>