Task Controller

Create or update one or multiple entities.

A uuid will be generated for any entity that doesn't have one yet. Posting entities without uuid multiple times will also create them multiple times.

post/tasks/push

Request

  • Base URL
    /sormas-rest (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sormas-rest/tasks/push
  • Auth
    none declared

Request body

assigneeReplystring
changeDatestring date-time
closedLatnumber double
closedLatLonAccuracynumber float
closedLonnumber double
creationDatestring date-time
creatorCommentstring
dueDatestring date-time required
perceivedStartstring date-time
priority'HIGH' | 'NORMAL' | 'LOW'
statusChangeDatestring date-time
suggestedStartstring date-time
taskContext'CASE' | 'CONTACT' | 'EVENT' | 'TRAVEL_ENTRY' | 'ENVIRONMENT' | 'GENERAL' required
taskStatus'PENDING' | 'IN_PROGRESS' | 'DONE' | 'REMOVED' | 'NOT_EXECUTABLE'
taskType'ACTIVE_SEARCH_FOR_OTHER_CASES' | 'CASE_ISOLATION' | 'CASE_INVESTIGATION' | 'CASE_MANAGEMENT' | 'CASE_BURIAL' | 'CONTACT_TRACING' | 'CONTACT_MANAGEMENT' | 'SOURCECASE_TRACING' | 'SAMPLE_COLLECTION' | 'CONTACT_INVESTIGATION' | 'CONTACT_FOLLOW_UP' | 'ANIMAL_TESTING' | 'EVENT_INVESTIGATION' | 'EVENT_CONTINUE_INVESTIGATION' | 'EVENT_REQUEST_ADDITIONAL_INFORMATION' | 'TREATMENT_CENTER_ESTABLISHMENT' | 'ENVIRONMENTAL_HEALTH_ACTIVITIES' | 'DECONTAMINATION_DISINFECTION_ACTIVITIES' | 'QUARANTINE_PLACE' | 'QUARANTINE_MANAGEMENT' | 'QUARANTINE_ORDER_SEND' | 'VACCINATION_ACTIVITIES' | 'ANIMAL_DEPOPULATION' | 'OTHER' | 'DAILY_REPORT_GENERATION' | 'SURVEILLANCE_REPORT_GENERATION' | 'WEEKLY_REPORT_GENERATION' | 'ENVIRONMENT_INVESTIGATION' required
uuidstring

Response

Array of responses, matching the posted array of entities. Provides an HTML status code for every entity and an optional body (e.g. a string with an error message).

bodyobject
statusCodeinteger

Changes

No recorded changes to this operation across all 67 revisions of this API.