Point Of Entry 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/pointsofentry/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/pointsofentry/push
  • Auth
    none declared

Request body */*

activeboolean
archivedboolean
centrallyManagedboolean
changeDatestring date-time
creationDatestring date-time
externalIDstring
latitudenumber double
longitudenumber double
namestring
nameOtherPointOfEntryboolean
otherPointOfEntryboolean
pointOfEntryType'AIRPORT' | 'SEAPORT' | 'GROUND_CROSSING' | 'OTHER'
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.