Files

32 lines
633 B
HTTP

###
DELETE http://192.168.50.205/api/locations/6966126a75af97664a4673b7
### Get All
GET http://192.168.50.205/api/locations
### Get One by ID
GET http://192.168.50.205/api/locations/696614b375af97664a4673cd
### Get Tree Nodes
GET http://192.168.50.205/api/locations/childs
####
POST http://192.168.50.205/api/locations HTTP/1.1
content-type: application/json
{
"name": "Unterlager3",
"description": "Unterlager von 3",
"parentLocationId" : "698ca482fec73763e0592bd0"
}
####
PATCH http://192.168.50.205/api/locations/6966126a75af97664a4673b7 HTTP/1.1
content-type: application/json
{
"name": "Lager15",
}