Ndr interface Dependency Agreement



Yüklə 0,71 Mb.
səhifə16/36
tarix02.01.2022
ölçüsü0,71 Mb.
#26773
1   ...   12   13   14   15   16   17   18   19   ...   36

5.1.1.Dog API


Business Operation (per Section 3.3.1)

Permitted Authority

Entity is Identified by

HTTP Method

URL

Input

Success Response

Error Condition

Error Response



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





5.1.2.Litter API


Business Operation (per Section 3.3.1)

Permitted Authority

Entity is Identified by

HTTP Method

URL

Input

Success Response

Error Condition

Error Response



Create

Any

Sire earbrand

Dam earbrand

Service date


POST

/litter///

A Litter Entity

The URL for the new Litter Entity.

State / Dam does not exist

Item not found error

Update

Owning Authority

Sire earbrand

Dam earbrand

Service date


POST

/litter///

A Litter Entity

The URL for the updated Litter Entity.

State / Dam does not exist

Item not found error

Update (whelping)

Any

Sire earbrand

Dam earbrand

Service date


POST

/litter////whelping

Whelping component

The URL for the updated Litter Entity.

State / Dam does not exist

Item not found error

























Get (entity)

Any

Sire earbrand

Dam earbrand

Service date


GET

/litter///

-

The matching Litter Entity.


Litter does not exist

Item not found error

Get (entity)

Any

Sire earbrand

Dam earbrand

Service date


GET

/litter////n

-

The matching Litter Entity for version number n.


Litter does not exist

Item not found error

























Get (metadata)

Any

Sire earbrand

Dam earbrand

Service date


GET

/litter////meta

-

Metadata for the matching Litter Entity.

Litter does not exist

Item not found error

Update (entity status)

Owning Authority

Sire earbrand

Dam earbrand

Service date


POST

/litter//// entitystatus

Entity status component

The URL for the updated Litter Entity.

Litter does not exist

Item not found error


5.1.3.Meeting API


Note: In the following table, the Meeting Time Slot is one of “M” (morning), “D” (day), “T” (twilight), “N” (night).

Business Operation (per Section 3.3.1)

Permitted Authority

Entity is Identified by

HTTP Method

URL

Input

Success Response

Error Condition

Error Response



Create

Any

Track code

Meeting date

Meeting time slot


POST

/meeting///

A Meeting Entity

The URL for the new Meeting Entity.

Track doesn’t exist

Item not found error.

Update

Owning Authority

Track code

Meeting date

Meeting time slot


POST

/meeting///

A Meeting Entity

The URL for the new/updated Meeting Entity.

Track doesn’t exist

Item not found error.

























Get (entity)

Any

Track code

Meeting date

Meeting time slot


GET

/meeting///


-

The matching Meeting Entity.

No meeting found

Item not found error.

Get (entity)

Any

Track code

Meeting date

Meeting time slot


GET

/meeting////n


-

The matching Meeting Entity for version number n.

No meeting found

Item not found error.

Get (metadata)




Track code

Meeting date

Meeting time slot


GET

/meeting////meta

-

Metadata for the matching Meeting Entity.

Meeting does not exist

Item not found error

Update (entity status)

Owning Authority

Track code

Meeting date

Meeting time slot


POST

/meeting////entitystatus

Entity status component

The URL for the updated Meeting Entity.

No meeting found

Item not found error.



Yüklə 0,71 Mb.

Dostları ilə paylaş:
1   ...   12   13   14   15   16   17   18   19   ...   36




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©muhaz.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin