API REFERENCE
...
Task
Get a Task Status
4 min
response name descritption code the status of task, only valid when the status is fail , other is 200 , the error code and message, please refer to the document for details open data codes and errors docid\ atcomcnvoe13e8qxavfxg message only valid when the status is fail , other is ok status verify the status of mfa, the enumeration values are success , fail , needmfa and pending if you want to customize error messages, please first check the status as fail before proceeding with customization based on the code number mfainfo only valid when the status is needmfa mfa type basic { "mfaid" 22 "mfatype" "basic" } contact { "mfaid" 30, "mfatype" "contact", "contact" "phone" } example { "mfaid" 30, "mfatype" "contact", "contact" "(99) 1234" } question { "mfaid" 32, "mfatype" "questions", "questions" \[ { "id" "100", "question" "test", "options" \[ { "label" "xxx", "value" "1" } ] } ] } example { "mfaid" 32, "mfatype" "questions", "questions" \[ { "id" "100", "question" "em qual desses municipios você reside ou já residiu?", "options" \[ { "label" "buriti dos montes", "value" "1" }, { "label" "sao goncalo do gurgueia", "value" "2" }, { "label" "nenhuma das alternativas", "value" "3" }, { "label" "sao pedro da cipa", "value" "4" }, { "label" "sao paulo", "value" "5" } ] } ] } multichoice { "mfaid" 51, "mfatype" "multichoice", "multichoices" \[ { "label" "xxx", "value" "1" } ] } example { "mfaid" 51, "authmethod" "multichoice", "multichoices" \[ { "label" "e mail", "value" "1" }, { "label" "sms", "value" "2" } ] }