Survey Solutions

Support portal and knowledge base

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

API for batch assignment upload

Kobus Herbst Jan 31, 2018 11:00PM EST

Is there an API for batch assignment upload (specifically to upload an archive with identifying tab file and collected data)?

3 Community Answers

Best Answer
Sergiy Radyakin Feb 02, 2018 03:33PM EST

Kobus,

the link above is for downloading the interviews.

If you want to create assignments, refer to the POST method for assignments:
https://demo.mysurvey.solutions/apidocs/index#!/Assignments/Assignments_Create

It expects the assignment data to be described in the argument of the query, on a field-by-field basis.

{
“Responsible”: “string”,
“Quantity”: 0,
“QuestionnaireId”: “string”,
“IdentifyingData”: [
{
“Identity”: “string”,
“Variable”: “string”,
“Answer”: “string”
}
]
}

(identifying data must contain identification questions’ values, but may be extended to other questions as well).

Preparing a file of new assignments automatically and uploading it once manually would probably be a more straightforward approach.

Best, Sergiy Radyakin

View in conversation


Up 0 rated Down
Aleksandra Komarovskaya Feb 01, 2018 08:56AM EST Survey Solutions Agent

Dear Kobus,

You can find a link inside of this article:

http://support.mysurvey.solutions/customer/en/portal/articles/2574862-api-for-data-export?b_id=12728

When you open the link – you can extend Assignments there.

Best regards,

Survey Solutions team

Up 0 rated Down
Sergiy Radyakin Best Answer Feb 02, 2018 03:33PM EST Survey Solutions Agent

Kobus,

the link above is for downloading the interviews.

If you want to create assignments, refer to the POST method for assignments:
https://demo.mysurvey.solutions/apidocs/index#!/Assignments/Assignments_Create

It expects the assignment data to be described in the argument of the query, on a field-by-field basis.

{
“Responsible”: “string”,
“Quantity”: 0,
“QuestionnaireId”: “string”,
“IdentifyingData”: [
{
“Identity”: “string”,
“Variable”: “string”,
“Answer”: “string”
}
]
}

(identifying data must contain identification questions’ values, but may be extended to other questions as well).

Preparing a file of new assignments automatically and uploading it once manually would probably be a more straightforward approach.

Best, Sergiy Radyakin

Up 0 rated Down
Kobus Herbst Feb 02, 2018 11:27PM EST
Thank you for the response, but it is a pity that the principle that you should be able to duplicate user interface actions using the API is not adhered to in this case.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@mysurvey.solutions
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=12728