create_signup_field_values
Set all signup field answers for one learner in a single batch. Overwrites existing answers with the provided values, so read current answers first to preserve them.
Instructions
Set one learner's answers to signup fields. This is a BATCH operation.
Despite the name this is an UPSERT: if the learner already has an answer for a
field, that answer is OVERWRITTEN with no warning and no separate outcome code.
Read the current values first if the old answer matters.
`student_id` applies to every item - all values written by one call belong to
one learner.
Each item is `{id, value}` where `id` is the signup-FIELD id. This differs from
`update_signup_field_values`, which takes the signup-field-VALUE id. Sending a
value id here will silently create an answer for a field that does not exist, or
fail as not-found.
An unknown learner, or one with no membership in this organization, is a
not-found error.
Requires the `signup-fields:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| student_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |