Administration/Custom Information Fields

Adds one default (common) question with its answer options, attributed to the caller and their company, and answers it as stored. 409 api_field_identifier_is_already_in_use when a live default question already has the apiFieldIdentifier. An empty hintText, apiFieldIdentifier or option value is stored as null; unknown keys are dropped. Legacy took an array of questions (every caller sent one) and answered a bare array; this answers 201 with { data, metadata }.

post/api/admin/c2c-default-questions

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/c2c-default-questions
  • Auth
    none declared

Request body

titlestring required
type'SHORT_TEXT' | 'LONG_TEXT' | 'NUMBER' | 'NUMBER_UOM' | 'NUMBER_DYNAMIC_UOM' | 'NUMBER_DYNAMIC_CURRENCY' | 'MULTIPLE_CHOICE' | 'CHECK_BOX' | 'MULTIPLE_CHECK_BOXES' | 'SELECT' | 'SELECT_SINGLE_COWORKER' | 'SELECT_MULTIPLE_COWORKERS' | 'DATE' | 'CUSTOM_IDENTIFIER' required
hintTextstring nullable
apiFieldIdentifierstring nullable

Response

Default Response

Changes