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

HTTP + XML

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

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

<Admin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoschApi.Services">
  <DateMax>0001-01-01T00:00:00</DateMax>
  <DateMin>0001-01-01T00:00:00</DateMin>
  <includeErrors>false</includeErrors>
  <includeNotification>false</includeNotification>
  <includeTrackers>false</includeTrackers>
  <includeUsers>false</includeUsers>
</Admin>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AdminResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoschApi.Services">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/RoschApi.Model">
    <d2p1:Error>
      <d2p1:app>String</d2p1:app>
      <d2p1:error>String</d2p1:error>
      <d2p1:errordate>0001-01-01T00:00:00</d2p1:errordate>
      <d2p1:id>0</d2p1:id>
    </d2p1:Error>
  </Errors>
  <MobileUsers xmlns:d2p1="http://schemas.datacontract.org/2004/07/RoschApi">
    <d2p1:MobileUser>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate>
      <d2p1:DateAuthorized>0001-01-01T00:00:00</d2p1:DateAuthorized>
      <d2p1:DeviceId>String</d2p1:DeviceId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:LastAccessDate>0001-01-01T00:00:00</d2p1:LastAccessDate>
      <d2p1:Manufacturer>String</d2p1:Manufacturer>
      <d2p1:Model>String</d2p1:Model>
      <d2p1:NotificationToken>String</d2p1:NotificationToken>
      <d2p1:OS>String</d2p1:OS>
      <d2p1:OSVer>String</d2p1:OSVer>
      <d2p1:PatientId>0</d2p1:PatientId>
      <d2p1:ShouldNotifyAfter>false</d2p1:ShouldNotifyAfter>
      <d2p1:ShouldNotifyBefore>false</d2p1:ShouldNotifyBefore>
      <d2p1:ShouldNotifyBroadcast>false</d2p1:ShouldNotifyBroadcast>
      <d2p1:Token>String</d2p1:Token>
    </d2p1:MobileUser>
  </MobileUsers>
  <Notifications xmlns:d2p1="http://schemas.datacontract.org/2004/07/RoschApi.Model">
    <d2p1:Notification>
      <d2p1:datesent>0001-01-01T00:00:00</d2p1:datesent>
      <d2p1:id>0</d2p1:id>
      <d2p1:patient_id>0</d2p1:patient_id>
      <d2p1:request>String</d2p1:request>
      <d2p1:response>String</d2p1:response>
      <d2p1:token>String</d2p1:token>
    </d2p1:Notification>
  </Notifications>
  <TrackerEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/RoschApi.Model">
    <d2p1:TrackerEntry>
      <d2p1:Activity>String</d2p1:Activity>
      <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
      <d2p1:LoggedDate>0001-01-01T00:00:00</d2p1:LoggedDate>
      <d2p1:Model>String</d2p1:Model>
      <d2p1:Os>String</d2p1:Os>
      <d2p1:PatientId>0</d2p1:PatientId>
      <d2p1:Token>String</d2p1:Token>
      <d2p1:Version>String</d2p1:Version>
      <d2p1:Zone>String</d2p1:Zone>
      <d2p1:id>0</d2p1:id>
    </d2p1:TrackerEntry>
  </TrackerEntries>
</AdminResponse>