Application data
Upload task application data#
Uploads a per-store list of items for a nested survey: a
SURVEY task whose form is filled in differently for every store, based on data you upload ahead of time โ instead of every executor answering the same fixed list of questions. See the Tasks with nested surveys guide for the full flow.- Both
applicationIdand the catalog attributeids are specific to your tenant and are provided by Qvalon when your integration is set up. templateIdmust be one of the form templates configured for the givenapplicationIdโ use exactly theapplicationId/templateIdpair Qvalon gave you for this integration, not an id you find elsewhere in the admin UI, since it may not be registered for this application.- Each
shopSapmust match an active store.
Request body:
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| applicationId | Integer | Identifier of the application (survey configuration) provided by Qvalon during integration setup | false |
| forms | List objects | The data to upload, grouped by target form template. Each entry has:templateId โ identifier of the form template; must be one of the templates configured for the given applicationIdsource โ the items to check, one entry per store and item, each with:
| false |
Response
Returns the identifier of the uploaded data file and the store codes referenced in it
Examples
200 OK
Possible errors#
| Status | Message | Cause |
|---|---|---|
| 400 Bad Request | applicationId must be not null | applicationId was omitted |
| 400 Bad Request | Not found application info | applicationId doesn't exist for your tenant |
| 400 Bad Request | Wrong templateId <id>, this id not in application | templateId isn't registered under the given applicationId |
| 400 Bad Request | Shop not found by sap <sap> | shopSap doesn't match any active store |