Zone

APIDescription
GET api/Zone

Returns all Zones

GET api/Zone/{id}

Returns Zone at index id

POST api/Zone

Post Zone to api with parameter newZone

POST api/Zone?Corner1={Corner1}&Corner2={Corner2}

Post zone to api with two corner location parameters

POST api/Zone?name={name}

Post zone to api with name

PUT api/Zone/{id}

Update Zone at index id with parameter Zone

DELETE api/Zone/{id}

Delete Zone at index id [NOT IMPLEMENTED YET]

Asset

APIDescription
GET api/Asset

Returns all assets saved to the Database

GET api/Asset/{id}

Returns asset with the specified ID

GET api/Asset?type={type}

Returns all assets of the parameter type

POST api/Asset

Posts an asset

PUT api/Asset/{id}

Updates asset at index id with parameter asset

DELETE api/Asset/{id}

Deletes asset of index id. [NOT IMPLEMENTED YET]

Route

APIDescription
GET api/Route

Returns all routes

GET api/Route/{id}

Returns route at index id

POST api/Route

Post route to api with parameter newRoute

POST api/Route?start={start}&end={end}

Post route to api with parameter start and end location as strings

PUT api/Route/{id}

Update route at index id with parameter route

DELETE api/Route/{id}

Delete route at index id [NOT IMPLEMENTED YET]

Group

APIDescription
GET api/Group

Returns all groups

GET api/Group/{id}

Returns group at index id

POST api/Group

Post group

POST api/Group?name={name}

Post group with parameter name

PUT api/Group/{id}

Updates group using put

DELETE api/Group/{id}

Delete group