-
darrensherAsked on December 14, 2020 at 5:39 AM
Hi Team,
Re: Form id: 203025193522344
Submission Id: 4837511398221339941 + all old and new submissions which we have not changed the "imported" value to "0" aftre processing
Since Friday 11/12 seems the API response has changed.
All the submissions used to have a default "imported" value equal to "0", which is not the case anymore. The value of the key related to the "imported" value now looks as per below. So it doesn't have the "answer" key with the default value of "0"
"48": { "maxValue": "1", "name": "imported", "order": "21", "text": "Imported", "type": "control_number" },
Can you please advise if this is a permanent change or a bug on the Jotform side, thus we know if there are any changes required to our processing app
Thank you in advance
Kind regards
Dragomir
-
Sam_GReplied on December 14, 2020 at 7:07 AM
Hi Dragomir,
Thank you for contacting Support.
May we confirm what API you're using?
Is it import submission or get submission?
You may also contact our API team at api@jotform.com for further information.
-
darrensherReplied on December 14, 2020 at 7:15 AM
Hi Sam
The endpoint we've been using is `/form/${formId}/submissions`
We haven't done any changes and seems the response shape was changed on your side.
Kind regards
Dragomir
-
Richie JotForm SupportReplied on December 14, 2020 at 7:58 AM
I am able to replicate the value of the number field showing 1 instead of 0.
Although the number field Imported doesn't have a value or was null, it shows max value of 1 which the limit entry was set to.
When I changes the limit entry maximum value to 2, the max value also has been updated.
Hope this information helps.
If you need further assistance, let us know.
-
darrensherReplied on December 14, 2020 at 8:38 AM
Hi Richi,
Thanks for your reply, but I was after something else.
The submission key related to imported value is number 48 as per below (this how it looks now)
"48": { "maxValue": "1", "name": "imported", "order": "21", "text": "Imported", "type": "control_number" },
But until today the imported key value used to have an additional key called "answer" as per below (the last key, default value was set to "0").
"48": { "maxValue": "1", "name": "imported", "order": "21", "text": "Imported", "type": "control_number", "answer": "0" . },
Can you please advise is this change in your api response permanent or this is a bug that is going to be fixed?
As you can see below in the form wth "imported" key value is set to "0", but the API diesn't seem to add the "answer" key with default vlaue "0"
Kind regards
Dragomir
-
Rehan Support Team LeadReplied on December 14, 2020 at 9:08 AM
Unfortunately, we don't have this information available. The API team at api@jotform.com will be able to give you an appropriate answer.
Thanks