Difference between revisions of "Internal Assign API Subsystem"

From GrandCare Systems
Jump to navigation Jump to search
(Created page with "The Assign subsystem allows you to assign and delete wellness readings from a system via GCAPI. = Operations = == assign == Assigns a wellness reading to a resident === Pa...")
 
m (Eumhoefer moved page Assign API Subsystem to Internal Assign API Subsystem without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The Assign subsystem allows you to assign and delete wellness readings from a system via [[GCAPI]].
The Assign subsystem allows you to assign and delete wellness readings from a system via [[Internal GCAPI]].
= Operations =
= Operations =
== assign ==
== assign ==

Latest revision as of 21:18, 14 July 2017

The Assign subsystem allows you to assign and delete wellness readings from a system via Internal GCAPI.

Operations

assign

Assigns a wellness reading to a resident

Parameters

  • loid - [required] - Resident/Love One ID to assign reading to
  • prefix - [required] - Device type: [gluc|weight|bp|oxi|ecg]
  • device_id - [required] - The wellness device where the reading originated from
  • date - [required] - Date of reading
  • time - [required] - Time of reading

Results

SUCCESS, empty resultset

xml

<gcapi>
	<result>SUCCESS</result>
</gcapi>

json

{
   "gcapi": {
       "result": "SUCCESS"
   }
}

delete

Marks a wellness reading as deleted

Parameters

  • prefix - [required] - Device type: [gluc|weight|bp|oxi|ecg]
  • device_id - [required] - The wellness device where the reading originated from
  • date - [required] - Date of reading
  • time - [required] - Time of reading

Results

SUCCESS, empty resultset

xml

<gcapi>
	<result>SUCCESS</result>
</gcapi>

json

{
   "gcapi": {
       "result": "SUCCESS"
   }
}