This is an old revision of the document!
Update Device Description [RESTful]
Akcija
Služi za izmenu opisa ranije registrovanog uredjaja.
Sintaksa
UpdateDevDesc(token, id, http body)
HTTP metod | Primer URLa |
---|---|
POST | http://<server>/rs/login/updatedevdesc?token=<>&id=<> |
Parametri
Parametar | Tip | Opis |
---|---|---|
token | String | Važeći token supervizora |
id | String | Jedinstveni ID uredjaja |
HTTP Body | String | Request body |
Request body
Body zatheva sadrži jedinstveni opis uredjaja, dužine do 50 znakova. Primer
računar 3 u centrali
Rezultat
Status | Opis |
---|---|
200 OK | Sve je u redu, korisnici odobreni |
401 Unauthorised | Nalog nije Supervizorski |
406 Not Accepted | Greška u ulaznim parametrima |
500 Server Error | Došlo je do greške na serveru, opercija nije izvršena |