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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	DateMin: 0001-01-01,
	DateMax: 0001-01-01,
	includeUsers: False,
	includeTrackers: False,
	includeNotification: False,
	includeErrors: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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