RoschApi Services

<back to all web services

Admin

The following routes are available for this service:
GET/admin

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/Admin HTTP/1.1 
Host: rvapi.boystown.org 
Content-Type: application/json
Content-Length: length

{"DateMin":"0001-01-01T00:00:00.0000000","DateMax":"0001-01-01T00:00:00.0000000","includeUsers":false,"includeTrackers":false,"includeNotification":false,"includeErrors":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"MobileUsers":[{"Id":0,"PatientId":0,"DeviceId":"String","Token":"String","NotificationToken":"String","ShouldNotifyBefore":false,"ShouldNotifyAfter":false,"ShouldNotifyBroadcast":false,"CreationDate":"0001-01-01T00:00:00.0000000","LastAccessDate":"0001-01-01T00:00:00.0000000","Active":false,"DateAuthorized":"0001-01-01T00:00:00.0000000","Manufacturer":"String","Model":"String","OS":"String","OSVer":"String"}],"TrackerEntries":[{"id":0,"Zone":"String","Activity":"String","Version":"String","Os":"String","Model":"String","Date":"0001-01-01T00:00:00.0000000","LoggedDate":"0001-01-01T00:00:00.0000000","PatientId":0,"Token":"String"}],"Errors":[{"id":0,"error":"String","errordate":"0001-01-01T00:00:00.0000000","app":"String"}],"Notifications":[{"id":0,"datesent":"0001-01-01T00:00:00.0000000","patient_id":0,"request":"String","response":"String","token":"String"}]}