Esta página no tiene versión en español, así que te la mostramos en inglés.
surveycto Adaptor developer README.md
Source: https://github.com/OpenFn/adaptors/tree/main/packages/surveycto
Language SurveyCTO
Language Pack for building expressions and operations to make HTTP calls to SurveyCTO.
Documentation
Configuration
View all the required and optional properties for state.configuration in the
official
configuration-schema
definition.
fetchSubmissions
fetchSubmissions(1,2,3) takes three arguments:
-
the
formIdof the form on SurveyCTO -
the
initialAfterDate, a date string or UNIX timestamp which instructs the job to only fetch submissions after a certain date. After the first run of the job, subsequent runs will only fetch NEW submissions. -
the
postUrlis where the wide-format JSON representation of each form submission should be sent. Note that aformIdkey will be added to each form submission for later filtering/routing.