BellaDati Technical Documentation : POST Form Data

/api/import/forms/:id

Posts data to BellaDati using the form with the specified ID.

Resource Information

Parameters

Parameters

Detail

id

ID of the form to fill. You can find the ID in the response to /api/import/forms.
Example: 10

data

Form contents to submit, in JSON format. For each field, the key is the ID of the form element to save as the given value.
Example: { "rN5hVdAXBJ" : "John" , "mNdZBe1rMY" : 1000 }

Sample Request / Response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "data={\"mNdZBe1rMY\":\"john\"}" https://service.belladati.com/api/import/forms/15

When the form has been submitted successfully, the server replies with an HTTP status code of 200 and an empty body.