Create
|
Any
|
State
State person id
|
POST
|
/person//
|
A Person Entity
|
The URL for the new Person Entity.
|
State does not exist
Item not found error
|
Update
|
Owning Authority
|
State
State person id
|
POST
|
/person//
|
A Person Entity
|
The URL for the updated Person Entity.
|
State does not exist
Item not found error
|
Update (Owning Authority) – i.e. when the Person has moved state
|
The authority of the state to which the Person has moved
|
State
State person id
(of the old state)
|
POST
|
/person///move
(the state and id of the old state)
|
A Person Owning Authority component
(the body of the input includes the new authority and id)
|
The URL for the updated Person Entity (i.e. in the new state)
|
State does not exist
Item not found error
|
Update (penalty) – add a new penalty
|
Any
|
State
State person id
|
POST
|
/person///penalty
|
A Person penalty component
|
The URL for the updated Person Entity.
|
State does not exist
Item not found error
|
Update (penalty) – modify an existing penalty
|
The Authority who applied the Penalty.
|
State
State person id
Penalty code
Penalty commencement date
|
POST
|
/person///penalty
|
A Person penalty component
|
The URL for the updated Person Entity.
|
State does not exist
Item not found error
|
|
|
|
|
|
|
|
|
Get (entity)
|
Any
|
State
State person id
|
GET
|
/person//
|
-
|
The matching Person Entity.
|
No matching person
Item not found error.
|
Get (entity)
|
Any
|
State
State person id
|
GET
|
/person///n
|
-
|
The matching Person Entity for version number n.
|
No matching person
Item not found error.
|
Get (entity) – when the Person has moved state
|
Any
|
State
State person id
(of the old state)
|
GET
|
/person//
|
-
|
The URL for the updated Person Entity (i.e. in the new state)
|
No matching person
Item not found error.
|
Get (metadata)
|
Any
|
State
State person id
|
GET
|
/person//
/meta
|
-
|
Metadata for the matching Person Entity.
|
State / Person Id does not exist
Item not found error
|
Update (entity status)
|
Owning Authority
|
State
State person id
|
POST
|
/person//
/entitystatus
|
Entity status component
|
The URL for the updated Person Entity.
|
State / Person Id does not exist
Item not found error
|
|
|
|
|
|
|
|
|