DELETE Formentry

DELETE Formentry

DELETE Formentry

The DELETE Formentry API allows you to delete an existing form entry.

On the Cloud, this API is available via SSL-secured HTTPS connection using the REST DELETE verb. The format query string parameter controls the desired response format.  Specify either XML or JSON.

/api/v2/formentry?format=xml/json


Parameters

The DELETE verb allows you to delete a specific form entry.
The required and optional parameters for a DELETE call to the Formentry API are outlined below.

NameTypeDescriptionRequired
CompanyIdIntegerYour unique Company Id found on the Organisation Setup page of the secure website
IntegrationKeyStringYour unique Integration Key found on the Organisation Setup page of the secure website.
AnswerFormatStringWhether or not to return rich answers or raw answers
IdStringThe Form Entry’s unique identifier
MediaAsUrlBooleanReturns Media answers as full file download URLs instead of just the file name
FieldsStringOptionally restrict returned answer values to the given comma-separated list of field data names.ONLY SUPPORTED WITH ‘FLAT’ ANSWERFORMAT.
PurgeDaysIntegerNumber of days the Form Entry will be stored in trash before being permanently deleted (Enter between 1 and 30). Default value if left blank is 30 days.

Example

Given that the API is REST-based, you can access it directly with a REST client such as Postman, a popular standalone application for testing APIs.

Request URL

https://eforms.mobileform.net:443/api/v2/formentry?AnswerFormat=Raw&CompanyId=XXXXX&IntegrationKey=a17a9bb385074a7591XXXXXXXX&&&&

Response Code

A response code of 200 means that the entry was successfully deleted.

    • Related Articles

    • GET Formentry

      GET Formentry The GET Formentry API returns the form entry matching the given parameters. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query string parameter controls the desired response ...
    • GET Formentry

      TABLE OF CONTENTS Parameters Example The GET Formentry API returns the form entry matching the given parameters. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query string parameter controls ...
    • GET Formentry (File)

      The GET Formentry (File) API allows you to download a media file captured on a given Form Entry. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query string parameter controls the desired ...
    • GET Formentry (Search)

      The GET Formentry (Search) API finds all form entries that match the given parameters. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query string parameter controls the desired response ...
    • DELETE User

      DELETE Request The DELETE verb allows you to delete a single User. Our platform will immediately remove the User from the platform. You may use either JSON or XML formats in your request. You indicate this by setting the ContentType HTTP header as ...