Create
|
GA
|
earbrand
|
POST
|
/dog/
|
A Dog Entity
|
The URL for the new Dog Entity.
|
(None – if earbrand not found, a new dog created)
|
Update
|
Owning Authority
|
earbrand
|
POST
|
/dog/
|
A Dog Entity
|
The URL for the updated Dog Entity.
|
(None – if earbrand not found, a new dog created)
|
Update (earbrand)
|
Owning Authority
|
earbrand
|
POST
|
/dog//earbrand
(where is the old earbrand)
|
Earbrand component
(containing the new earbrand)
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (name)
|
GA
|
earbrand
|
POST
|
/dog//name
|
Name component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (dna)
|
GA
|
earbrand
|
POST
|
/dog//dna
|
Dna component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (studsire)
|
GA
|
earbrand
|
POST
|
/dog//studsire
|
Studsire component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (lifestate)
|
Any
|
earbrand
|
POST
|
/dog//lifestate
|
Lifestate component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (microchip)
|
Any
|
earbrand
|
POST
|
/dog//microchip
|
Microchip component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (certificate)
|
Any
|
earbrand
|
POST
|
/dog//certificate
|
Certificate component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (owner)
|
Any
|
earbrand
|
POST
|
/dog//owner
|
Owner component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (trainer)
|
Any
|
earbrand
|
POST
|
/dog//trainer
|
Trainer component (to add a new trainer)
Or
Leave the body of the HTTP request empty (to remove the current trainer, without assigning a new trainer)
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (penalty) – add a new penalty
|
Any
|
earbrand
|
POST
|
/dog//penalty
|
Penalty component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (penalty) – modify an existing penalty
|
Any
|
earbrand
penalty code
penalty commencement date
|
POST
|
/dog//penalty
|
Penalty component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
|
|
|
|
|
|
|
|
Get (entity)
|
Any
|
earbrand
|
GET
|
/dog/
|
-
|
The matching Dog Entity.
|
Dog does not exist
Item not found error
|
Get (entity)
|
Any
|
earbrand
|
GET
|
/dog//n
|
-
|
The matching Dog Entity for version number n.
|
Dog does not exist
Item not found error
|
Get (metadata)
|
Any
|
earbrand
|
GET
|
/dog//meta
|
-
|
The metadata for the matching Dog Entity.
|
Dog does not exist
Item not found error
|
Update (authority to breed)
|
Any
|
earbrand
|
POST
|
/dog//authoritytobreed
|
Breeder component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (trial) – add a new trial
|
Any
|
earbrand
|
POST
|
/dog//trial
|
Trial component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (trial)
|
Any
|
earbrand
|
POST
|
/dog//trial
|
Trial component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|
Update (entity status)
|
Owning Authority
|
Earbrand
|
POST
|
/dog//entitystatus
|
Entity status component
|
The URL for the updated Dog Entity.
|
Dog does not exist
Item not found error
|