Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Submit form data for a user

 

Endpoint ID:

8001

Method:

URL:

POST /user/dp-key/{dp-key}/form/{form-id}
POST /user/ext-key/{ext-key}/{ext-type}/form/{form-id} 

 

dp-key

dialogportal™ master key that uniquely identifies account to submit forms data

 

ext-key

External key that uniquely identifies account to submit form data

 

form-id

Numeric value identifies the form

Request body:

JSON data with information as JSON array of form field values.

Example
[   {
      "fieldID": 87,
      "value": "This is a text field"
   },
   {
      "fieldID": 88,
      "value": 134
   },
   {
      "fieldID": 89,
      "value": [ 136, 138 ]
   }
]

Response body:

JSON data with same JSON array that was received.

Example
[   {
      "fieldID": 87,
      "value": "This is a text field"
   },
   {
      "fieldID": 88,
      "value": 134
   },
   {
      "fieldID": 89,
      "value": [ 136, 138 ]
   }
]

 

 

Status codes:

201

Submit Form Data successfully

 

303

Form already Submitted




  • No labels