Action 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/actions/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/actions/push
  • Auth
    none declared

Request body

actionContext'EVENT' required
actionMeasure'PROHIBITION_OF_ENTRY_AND_WORK_CASES' | 'SAMPLE_COLLECTION' | 'FORWARDING_TO_NATIONAL_REFERENCE_CENTER' | 'CONTACT_FOLLOW_UP' | 'VERIFICATION_OF_VACCINATION_IMMUNIZATION' | 'POST_EXPOSURE_PROPHYLAXIS_VACCINATION' | 'CLOSURE_OF_FACILITY' | 'PROHIBITION_OF_ENTRY_AND_WORK_CONTACTS' | 'POPULATION_INFORMATION' | 'OTHER'
actionStatus'PENDING' | 'IN_PROGRESS' | 'DONE'
changeDatestring date-time
creationDatestring date-time
datestring date-time required
descriptionstring
priority'HIGH' | 'NORMAL' | 'LOW'
replystring
statusChangeDatestring date-time
titlestring
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.