Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. http://api-inovace360.com/api/v1/devices/{identifier}?api_token=token
  2.  
  3. HTTP PUT request
  4.  
  5. body :
  6. {
  7. "phone_number" : "01557834567",
  8. "description" : "very good device",
  9. "location" : "Dhaka",
  10. "type" : "both"
  11. }
  12.  
  13. type can have only three values : entry, exit , both
  14.  
  15. response :
  16.  
  17. {
  18. "code": 200,
  19. "context": "devices",
  20. "message": "Device Information successfully updated",
  21. "payload": {
  22. "identifier": "0007",
  23. "phone_number": "777",
  24. "description": "very good device",
  25. "location": "Dhaka",
  26. "timezone_offset_minutes": 360,
  27. "type": "both",
  28. "has_enrollment_feature": 0
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement