Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This is the response from the web service:{
 

Code Block
languagejs
themeConfluence
titleResponse
{
  "ResultData": {

...


    "UNID": "string",

...


    "HTML": "string",

...


    "FormIDs": "string"

...


  },

...


  "ErrorCode": 0,

...


  "Message": "string"

...


}


If no errors occurred, you will find a populated ResultData property with the UNID and FormIDs that have just been generated, plus an HTML property that can have either the full HTML of the forms, or a form link (only if HostFormOnQuik was posted with a value of true).

It is important to mention that the FormIDs displayed in the JSON response are the ones that have been generated, without including any invalid formID provided in the request. For example, if a user requests to generate formIDs 1, 2 and 123123, being the last one invalid, only the first two will be generated. The request body looks like: {


Code Block
languagejs
themeConfluence
titleExample
{
   "QuikFormID": "1,2,123123"

...


},


and the response looks like:  {
 


Code Block
languagejs
themeConfluence
titleResponse
{
  "ResultData": {

...


    "UNID": "PX%2fxa5rnePmsF...",

...


    "HTML": "<!--[if lte IE 9]><!DOCTYPE html><html… ",

...


    "FormIDs": "1,2"

...


  },

...


  "ErrorCode": 0,

...


  "Message": "Forms generated successfully."

...


}