43 lines
788 B
Markdown
43 lines
788 B
Markdown
# Admin tool
|
|
|
|
## GET /lootaherra/<admin-identifier>
|
|
|
|
Löytyykö?
|
|
200 OK / 404 Not Found
|
|
|
|
Lisää uusi loota_admin taulu. Sama kuin loota_customer.
|
|
|
|
## GET /lootaherra/orders
|
|
|
|
Lista loota_order rivejä, joissa mukana asiakas tieto
|
|
|
|
[
|
|
{
|
|
id: uuid
|
|
location: string
|
|
create_time: timestamp
|
|
{
|
|
id: uuid
|
|
identifier: string
|
|
created_time: timestamp
|
|
}
|
|
}
|
|
]
|
|
|
|
## GET /lootaherra/box-list/<delivery-date>
|
|
|
|
Lista loota_box rivejä, joissa mukana loota_orferin tiedot.
|
|
|
|
[
|
|
{
|
|
id: uuid
|
|
delivery_date: timestamp //debuggausta varten
|
|
pickup_date: timestamp
|
|
{
|
|
id: uuid
|
|
customer_id: uuid
|
|
location: string
|
|
create_time: timestamp
|
|
}
|
|
}
|
|
] |