ANSWERED

Error 400 creating a form

function prueba(){ var headers = { 'Authorization': 'Basic ********************************' }; var payload = { 'name': 'prueba1', 'templateId': '**********************************', 'assignment': { 'id': '************************************', 'type': "User" }, 'fields': {} } var params = { 'contentType': 'application/json; charset=utf-8', "headers": headers, "method": 'post', "payload": payload } var url = 'https://api.goformz.com:443/v2/formz'; var response = UrlFetchApp.fetch(url, params); var responseCode = response.getResponseCode(); } *************** ERROR 400 ******************** "code": 400, "status": "Bad Request", "message": "Invalid Model", "errors": null, "requestUrl": "https://api.goformz.com/v2/formz"... If I use the following model in "Version 2 of the GoFormz Rest API" web page, it works fine, but it doesn't work in google apps scripts. { 'name': 'prueba1', 'templateId': '**********************************', 'assignment': { 'id': '************************************', 'type': "User" }, 'fields': {} }
ANSWERED

API v2

Hi guys, It's been a while since I last asked that and remember you were considering to add it to the API, so is there possibility to query the list of forms by the lastupdateddate field ? I mean by setting anything from a certain date only like all forms that had been updated since 10PM from 2 days ago. Thanks
ANSWERED

JSON BODY

I want to create a new row in a database. I've tried it in your web and it works, but I don't now where I must put de "dataSourceRow" var into "params" var. Example: ----------------------------------------------------------------------------------------------------------------------- var url = 'https://api.goformz.com:443/v2/datasources/*******************/rows'; var headers = { 'Authorization': 'Basic ***************************' } var dataSourceRow = { 'keyColumn': "DATA1", 'value': "[\"DATA2\",\"DATA3"\]" } var params = { "headers": headers, "dataSourceRow": dataSourceRow } var response = UrlFetchApp.fetch(url, params); ------------------------------------------------------------------------------------------------------------------------- With this code the response is 200, but the row isn't created. Where I must insert de "dataSourceRow" var? Thanks.
ANSWERED

How to login to api

I am trying to execute the examples on the site but it asks for username and password can i log in with trial license
ANSWERED

API Users

Is there or will there be a possibility to filter the user list with for example only users from a certain group or active users?

webhook and AWS lambda

I created a webhook on one of our templates. This webhook invokes a lambda function and this works. The problem is that the lambda function is invoked 10 times instead of 1. Does anyone have any idea of what the reason for this is?

.Net Deserialize Fields

Hi guys, I'm trying to migrate from API v1 to v2 and spending a fair bit of time trying to proper deserialize fields from the formz returned from the endpoint https://api.goformz.com/v2/formz/{0} That name property in front of each field is the issue, can you guys provide any help on this ? any example on how to rid of that name and properly convert the json fields into c# objects ? Another question what's the end point to download the PDF file from each form ? used to download from https://api.goformz.com/1.0/stream.svc/GetPDFStream?formInstanceId={0} Thank you and Regards
ANSWERED

More info on API

I need to pull data from a specific template in Goformz. an excel file is currently being generated and delivered via email. I want to use API to get data directly from that specific template on a daily basis.

zapier

I'd like to update or create (if key doesn't exist) a database row into goformz, using zapier webhooks. Please, if someone knows how do that, answer with an example.

Where is the Identifier field in API V2 ?

Hi Where in API v2 do I find the field Identifier ? We use this field from api v1 to drive some behave in our system. Thanks