integrator API definition (1.0.0)
integrator API definition
/v1/alio-account-organizations/
query Parameters
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "account-name": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-account-organizations"
}
], - "meta": { }
}
/v1/alio-account-organizations/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "alio-account-organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "account-name": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-account-organizations"
}, - "meta": { }
}
/v1/alio-accounts/
query Parameters
filter[name] | string <= 32 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-accounts"
}
], - "meta": { }
}
/v1/alio-accounts/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "system": "dev"
}, - "type": "alio-accounts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-accounts"
}, - "meta": { }
}
/v1/alio-accounts/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "system": "dev"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-accounts"
}, - "meta": { }
}
/v1/alio-attachments/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[end-time] | string <datetime> |
filter[filename] | string <= 255 characters |
filter[start-time] | string <datetime> |
filter[with-url] | boolean Default: false |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "timestamp": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-attachments"
}
], - "meta": { }
}
/v1/alio-maps/
query Parameters
filter[device-id] | string <= 17 characters |
filter[device-types] | Array of strings Items Enum: "gateway" "kit" "patchbox" "smartpatch" |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[status] | Array of strings Items Enum: "active" "deleted" "expired" "registered" "running" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "barcode": "string",
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "ended-at": "string",
- "firmware-version": "string",
- "first-data-time": "string",
- "hardware-version": "string",
- "hub-device-id": "string",
- "hwi-device-id": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-connection": "string",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "mac-address": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "patch-box-id": "string",
- "patch-ids": [
- {
- "device-id": "string"
}
], - "software-version": "string",
- "started-at": "string",
- "status": "active"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-maps"
}
], - "meta": { }
}
/v1/alio-maps/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "device-type": "gateway",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "alio-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "barcode": "string",
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "ended-at": "string",
- "firmware-version": "string",
- "first-data-time": "string",
- "hardware-version": "string",
- "hub-device-id": "string",
- "hwi-device-id": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-connection": "string",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "mac-address": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "patch-box-id": "string",
- "patch-ids": [
- {
- "device-id": "string"
}
], - "software-version": "string",
- "started-at": "string",
- "status": "active"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "barcode": "string",
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "ended-at": "string",
- "firmware-version": "string",
- "first-data-time": "string",
- "hardware-version": "string",
- "hub-device-id": "string",
- "hwi-device-id": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-connection": "string",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "mac-address": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "patch-box-id": "string",
- "patch-ids": [
- {
- "device-id": "string"
}
], - "software-version": "string",
- "started-at": "string",
- "status": "active"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-maps"
}, - "meta": { }
}
/v1/alio-users/
query Parameters
filter[external-id] | string <= 12 characters |
filter[first-name] | string <= 255 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[last-name] | string <= 255 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[username] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}
], - "meta": { }
}
/v1/alio-users/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "enable-simulator": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "alio-users"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
/v1/alio-users/{id}/start-sim/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
mode | string Value: "STANDARD" |
scenario | string Enum: "HIGH POTASSIUM" "HIGH POTASSIUM (With Data Gap)" "LOW POTASSIUM" "LOW POTASSIUM (With Data Gap)" "NORMAL" "NORMAL (With Data Gap)" |
Responses
Request samples
- Payload
{- "mode": "STANDARD",
- "scenario": "HIGH POTASSIUM"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
/v1/alio-users/{id}/stop-monitor/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reason | string <= 255 characters |
Responses
Request samples
- Payload
{- "reason": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
/v1/alio-users/{id}/stop-sim/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
/v1/alio-users/{id}/sync/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
start-time | string <datetime> |
Responses
Request samples
- Payload
{- "start-time": "string"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "external-id": "string",
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "alio-users"
}, - "meta": { }
}
/v1/bodytrace-collectors/
Request Body schema: application/json
imei required | string <= 32 characters |
ts required | integer |
values required | object |
property name* additional property | any |
Responses
Request samples
- Payload
{- "imei": "string",
- "ts": 0,
- "values": { }
}
Response samples
- 201
- 4XX
{ }
/v1/bodytrace-maps/
query Parameters
filter[device-type] | string Enum: "" "scale" "sphygmomanometer" |
filter[imei] | string <= 15 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "anchor-time": "string",
- "anchor-value": 0,
- "connected": true,
- "created-at": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}
], - "meta": { }
}
Use the `integrator:bodytrace-map:v2:post` Deprecated
Use the integrator:bodytrace-map:v2:post
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "barcode": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "bodytrace-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "anchor-time": "string",
- "anchor-value": 0,
- "connected": true,
- "created-at": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "anchor-time": "string",
- "anchor-value": 0,
- "connected": true,
- "created-at": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}, - "meta": { }
}
/v1/bodytrace-maps/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "anchor-value": 0,
- "device-type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "anchor-time": "string",
- "anchor-value": 0,
- "connected": true,
- "created-at": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}, - "meta": { }
}
/v1/bodytrace-maps/{id}/sync/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
start-time | string <datetime> |
Responses
Request samples
- Payload
{- "start-time": "string"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "anchor-time": "string",
- "anchor-value": 0,
- "connected": true,
- "created-at": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "bodytrace-maps"
}, - "meta": { }
}
/v1/device-bledata/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "characteristic-id": "string",
- "data": [
- 0
], - "device-id": "string",
- "device-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "tz-offset-mins": 0
}, - "type": "device-bledata"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "series": [
- "string"
]
}
/v1/device-debuggers/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "debugger-type": "bodytrace",
- "method": "string"
}, - "type": "device-debuggers"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "debugger-type": "string",
- "error": { },
- "last-modified-at": "string",
- "method": "string",
- "result": { },
- "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-debuggers"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "debugger-type": "string",
- "error": { },
- "last-modified-at": "string",
- "method": "string",
- "result": { },
- "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-debuggers"
}, - "meta": { }
}
/v1/device-manufacturers/
query Parameters
filter[manufacturer] | string <= 32 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "manufacturer": "string"
}, - "type": "device-manufacturers"
}
], - "meta": { }
}
/v1/device-orders/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[external-order-id] | string <= 64 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-orders"
}
], - "meta": { }
}
/v1/device-orders/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "notes": "string",
- "order-email": "user@example.com",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "user@example.com"
}, - "type": "device-orders"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-orders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-orders"
}, - "meta": { }
}
/v1/device-orders/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "notes": "string",
- "order-email": "user@example.com",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "user@example.com"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-orders"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-orders"
}, - "meta": { }
}
/v1/device-shipments/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[order-id] | string <uuid> Example: filter[order-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "items": [
- {
- "description": "string",
- "id": "string",
- "quantity": 0,
- "serial-number": "string"
}
], - "last-modified-at": "string",
- "order": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "order-id": "11111111-1111-1111-1111-111111111111",
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-log": { },
- "tracking-status": "created",
- "tracking-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-shipments"
}
], - "meta": { }
}
/v1/device-shipments/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "order-id": "11111111-1111-1111-1111-111111111111",
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-status": "created"
}, - "type": "device-shipments"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "items": [
- {
- "description": "string",
- "id": "string",
- "quantity": 0,
- "serial-number": "string"
}
], - "last-modified-at": "string",
- "order": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "order-id": "11111111-1111-1111-1111-111111111111",
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-log": { },
- "tracking-status": "created",
- "tracking-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-shipments"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "items": [
- {
- "description": "string",
- "id": "string",
- "quantity": 0,
- "serial-number": "string"
}
], - "last-modified-at": "string",
- "order": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "order-id": "11111111-1111-1111-1111-111111111111",
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-log": { },
- "tracking-status": "created",
- "tracking-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-shipments"
}, - "meta": { }
}
/v1/device-shipments/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-status": "created"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-shipments"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-at": "string",
- "items": [
- {
- "description": "string",
- "id": "string",
- "quantity": 0,
- "serial-number": "string"
}
], - "last-modified-at": "string",
- "order": {
- "created-at": "string",
- "destination-address": "string",
- "destination-city": "string",
- "destination-state": "string",
- "destination-to": "string",
- "destination-zipcode": "string",
- "external-order-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "notes": "string",
- "order-email": "string",
- "order-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "payer-company": "string",
- "payer-name": "string",
- "recipient-email": "string"
}, - "order-id": "11111111-1111-1111-1111-111111111111",
- "shipper": "fedex",
- "tracked": true,
- "tracking-id": "string",
- "tracking-log": { },
- "tracking-status": "created",
- "tracking-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "device-shipments"
}, - "meta": { }
}
/v1/devices/
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
user-id | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "platform-model": "string",
- "platform-os": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "devices"
}
], - "meta": { }
}
/v1/devices/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "device-model": "string",
- "firmware-revision": "string",
- "hardware-revision": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "manufacturer-name": "string",
- "model-number": "string",
- "platform-model": "string",
- "platform-os": "string",
- "serial-number": "string",
- "software-revision": "string",
- "system-id": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "devices"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "platform-model": "string",
- "platform-os": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "devices"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "platform-model": "string",
- "platform-os": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "devices"
}, - "meta": { }
}
/v1/display-devices/
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "brand": "alio",
- "connection-info": [
- {
- "external-id": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "display-name": "string",
- "oauth": {
- "allow-disconnect": true,
- "connected": true,
- "connection-time": "string",
- "description": "string",
- "display-name": "string",
- "has-oauth": true,
- "image-url": "string",
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "last-collection": "string",
- "last-data-time": "string",
- "logos-authorized": true,
- "name": "string",
- "scopes": { }
}, - "type": "blood-pressure-cuff"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "display-devices"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "brand": "alio",
- "connection-info": [
- {
- "external-id": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "display-name": "string",
- "oauth": {
- "allow-disconnect": true,
- "connected": true,
- "connection-time": "string",
- "description": "string",
- "display-name": "string",
- "has-oauth": true,
- "image-url": "string",
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "last-collection": "string",
- "last-data-time": "string",
- "logos-authorized": true,
- "name": "string",
- "scopes": { }
}, - "type": "blood-pressure-cuff"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "display-devices"
}, - "meta": { }
}
/v1/exposomes/{id}/update-location/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
latitude required | string <decimal> |
longitude required | string <decimal> |
Responses
Request samples
- Payload
{- "latitude": "string",
- "longitude": "string"
}
Response samples
- 201
- 4XX
null
/v1/health-kit-files/
Request Body schema: application/json
individual-id required | string <uuid> |
filename | string <= 255 characters |
Responses
Request samples
- Payload
{- "filename": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "expiration-time": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "upload-data": { },
- "upload-url": "string"
}
}
/v1/marsonik-account-organizations/
query Parameters
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "account-name": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-account-organizations"
}
], - "meta": { }
}
/v1/marsonik-account-organizations/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "marsonik-account-organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "account-name": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-account-organizations"
}, - "meta": { }
}
/v1/marsonik-accounts/
query Parameters
filter[name] | string <= 32 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-accounts"
}
], - "meta": { }
}
/v1/marsonik-accounts/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "marsonik-accounts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-accounts"
}, - "meta": { }
}
/v1/marsonik-maps/
query Parameters
filter[device-id] | string [ 5 .. 15 ] characters |
filter[device-type] | string Enum: "gateway" "pulsox" "scale" "smart-watch" "sphygmomanometer" |
filter[hwi-device-id] | string <uuid> Example: filter[hwi-device-id]=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[manufacturer-model] | string <= 64 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "manufacturer-model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-maps"
}
], - "meta": { }
}
/v1/marsonik-maps/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "marsonik-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "manufacturer-model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "manufacturer-model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "marsonik-maps"
}, - "meta": { }
}
/v1/nutrition-favorite-items/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}
], - "meta": { }
}
/v1/nutrition-favorite-items/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string"
}, - "type": "nutrition-favorite-items"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}, - "meta": { }
}
/v1/nutrition-historic-nutrients-goals/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "creator": {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email": "user@example.com",
- "email-verified": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true
}, - "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "original-created-at": "string",
- "original-last-modified-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-historic-nutrients-goals"
}
], - "meta": { }
}
/v1/nutrition-historic-nutrients-goals/{id}/
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "creator": {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email": "user@example.com",
- "email-verified": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true
}, - "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "original-created-at": "string",
- "original-last-modified-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-historic-nutrients-goals"
}, - "meta": { }
}
/v1/nutrition-individual-summaries/{id}/
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "avg-calories": 0,
- "avg-carb": 0,
- "avg-carb-pct": 0,
- "avg-fat": 0,
- "avg-fat-pct": 0,
- "avg-protein": 0,
- "avg-protein-pct": 0,
- "days": 0,
- "goal-calories": 0,
- "goal-protein": 0,
- "goal-protein-pct": 0,
- "goal-set-as": "grams",
- "goal-total-carbohydrate": 0,
- "goal-total-carbohydrate-pct": 0,
- "goal-total-fat": 0,
- "goal-total-fat-pct": 0,
- "start-date": "2019-08-24"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-individual-summaries"
}, - "meta": { }
}
/v1/nutrition-item-lookups/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "item-id": "string",
- "upc": "string"
}, - "type": "nutrition-item-lookups"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
/v1/nutrition-log-occasions/
query Parameters
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "default-time": "14:15:22Z",
- "display-name": "string",
- "icon-name": "string",
- "name": "string",
- "sort-order": 0,
- "x-display-name": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-log-occasions"
}
], - "meta": { }
}
/v1/nutrition-log-occasions/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "default-time": "14:15:22Z",
- "display-name": { },
- "icon-name": "string",
- "name": "string",
- "sort-order": 0
}, - "type": "nutrition-log-occasions"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "default-time": "14:15:22Z",
- "display-name": "string",
- "icon-name": "string",
- "name": "string",
- "sort-order": 0,
- "x-display-name": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-log-occasions"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "default-time": "14:15:22Z",
- "display-name": "string",
- "icon-name": "string",
- "name": "string",
- "sort-order": 0,
- "x-display-name": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-log-occasions"
}, - "meta": { }
}
/v1/nutrition-log-occasions/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "default-time": "14:15:22Z",
- "display-name": { },
- "icon-name": "string",
- "name": "string",
- "sort-order": 0
}, - "type": "nutrition-log-occasions"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "default-time": "14:15:22Z",
- "display-name": "string",
- "icon-name": "string",
- "name": "string",
- "sort-order": 0,
- "x-display-name": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-log-occasions"
}, - "meta": { }
}
/v1/nutrition-log-summaries/
query Parameters
days required | integer [ 1 .. 14 ] Default: 1 |
entry-date required | string <date> |
include-averages required | boolean Default: false |
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "entry-date": "2019-08-24",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "nutrient-alcohol": 0,
- "nutrient-alcohol-pct": 0,
- "nutrient-calories": 0,
- "nutrient-cholesterol": 0,
- "nutrient-dietary-fiber": 0,
- "nutrient-other": 0,
- "nutrient-other-pct": 0,
- "nutrient-potassium": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 0,
- "nutrient-saturated-fat": 0,
- "nutrient-sodium": 0,
- "nutrient-sugars": 0,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 0,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 0
}, - "type": "nutrition-log-summaries"
}
], - "meta": {
- "nutrient-alcohol-avg": 0,
- "nutrient-calories-avg": 0,
- "nutrient-cholesterol-avg": 0,
- "nutrient-dietary-fiber-avg": 0,
- "nutrient-potassium-avg": 0,
- "nutrient-protein-avg": 0,
- "nutrient-saturated-fat-avg": 0,
- "nutrient-sodium-avg": 0,
- "nutrient-sugars-avg": 0,
- "nutrient-total-carbohydrate-avg": 0,
- "nutrient-total-fat-avg": 0
}
}
/v1/nutrition-logged-items/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[include-hidden] | boolean Default: false |
occasion-name | string <= 255 characters |
page[limit] | integer [ 1 .. 100 ] Default: 100 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "hidden": true,
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "id": "string",
- "type": "nutrition-logged-items"
}
], - "meta": { }
}
/v1/nutrition-logged-items/{id}/hide/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "hidden": true,
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "id": "string",
- "type": "nutrition-logged-items"
}, - "meta": { }
}
/v1/nutrition-logs/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[entry-date] | string <date> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}
], - "meta": { }
}
/v1/nutrition-logs/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "consumed-at": "string",
- "entry-date": "2019-08-24",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "occasion-name": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}, - "type": "nutrition-logs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}, - "meta": { }
}
/v1/nutrition-logs/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "consumed-at": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}, - "meta": { }
}
/v1/nutrition-meal-plans/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- { }
], - "name": "string",
- "photo": {
- "highres": null,
- "is-user-uploaded": null,
- "thumb": null
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}
], - "meta": { }
}
/v1/nutrition-meal-plans/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion-name": "string"
}
]
}, - "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
/v1/nutrition-meal-plans/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion-name": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
/v1/nutrition-meal-plans/{id}/log-plan/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-date required | string <date> | ||||
required | Array of objects | ||||
Array
|
Responses
Request samples
- Payload
{- "entry-date": "2019-08-24",
- "occasion-items": [
- {
- "consumed-at": "string",
- "occasion-name": "string"
}
]
}
Response samples
- 201
- 4XX
{- "data": [
- {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}
], - "meta": { }
}
/v1/nutrition-meals/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": null,
- "calories": null,
- "cholesterol": null,
- "dietary-fiber": null,
- "potassium": null,
- "protein": null,
- "saturated-fat": null,
- "sodium": null,
- "sugars": null,
- "total-carbohydrate": null,
- "total-fat": null
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}
], - "meta": { }
}
/v1/nutrition-meals/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
/v1/nutrition-meals/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
/v1/nutrition-meals/{id}/log-meal/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-date required | string <date> |
occasion-name required | string <= 255 characters |
consumed-at | string <datetime> |
Responses
Request samples
- Payload
{- "consumed-at": "string",
- "entry-date": "2019-08-24",
- "occasion-name": "string"
}
Response samples
- 201
- 4XX
{- "data": [
- {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}
], - "meta": { }
}
/v1/nutrition-nutrients-goals/ Deprecated
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}
], - "meta": { }
}
/v1/nutrition-nutrients-goals/ Deprecated
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "nutrient-calories": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
/v1/nutrition-nutrients-goals/{id}/ Deprecated
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
/v1/nutrition-nutrients-goals/{id}/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "nutrient-calories": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat-pct": 100
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
/v1/nutrition-searches/
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "input": "string"
}, - "type": "nutrition-searches"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
/v1/nutrition-user-items/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "last-modified-at": "string",
- "name": "string",
- "nutrient-calories": 0,
- "nutrient-cholesterol": 0,
- "nutrient-dietary-fiber": 0,
- "nutrient-potassium": 0,
- "nutrient-protein": 0,
- "nutrient-saturated-fat": 0,
- "nutrient-sodium": 0,
- "nutrient-sugars": 0,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-fat": 0,
- "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-user-items"
}
], - "meta": { }
}
/v1/nutrition-user-items/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "nutrient-calories": 9999.99,
- "nutrient-cholesterol": 9999.99,
- "nutrient-dietary-fiber": 9999.99,
- "nutrient-potassium": 9999.99,
- "nutrient-protein": 9999.99,
- "nutrient-saturated-fat": 9999.99,
- "nutrient-sodium": 9999.99,
- "nutrient-sugars": 9999.99,
- "nutrient-total-carbohydrate": 9999.99,
- "nutrient-total-fat": 9999.99,
- "serving-qty": 1,
- "serving-unit": "",
- "serving-weight": 0
}, - "type": "nutrition-user-items"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "last-modified-at": "string",
- "name": "string",
- "nutrient-calories": 0,
- "nutrient-cholesterol": 0,
- "nutrient-dietary-fiber": 0,
- "nutrient-potassium": 0,
- "nutrient-protein": 0,
- "nutrient-saturated-fat": 0,
- "nutrient-sodium": 0,
- "nutrient-sugars": 0,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-fat": 0,
- "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-user-items"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "last-modified-at": "string",
- "name": "string",
- "nutrient-calories": 0,
- "nutrient-cholesterol": 0,
- "nutrient-dietary-fiber": 0,
- "nutrient-potassium": 0,
- "nutrient-protein": 0,
- "nutrient-saturated-fat": 0,
- "nutrient-sodium": 0,
- "nutrient-sugars": 0,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-fat": 0,
- "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-user-items"
}, - "meta": { }
}
/v1/nutrition-users/
query Parameters
user-id required | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "api-counts": 0,
- "nix-user-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-users"
}
], - "meta": { }
}
/v1/oauth/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
type required | string Enum: "alio" "bodytrace" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tellihealth" "tenovi" "transtek" |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "error-state": {
- "code": "string",
- "display": "string",
- "timestamp": "string"
}, - "external-id": "string",
- "type": "alio",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-sessions"
}, - "meta": { }
}
/v1/oauth/{id}/request/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
extra required | object |
method required | string <= 32 characters |
oauth-url required | string <= 255 characters |
type required | string <= 32 characters |
Responses
Request samples
- Payload
{- "extra": { },
- "method": "string",
- "oauth-url": "string",
- "type": "string"
}
Response samples
- 201
- 4XX
{- "js": { },
- "status-code": 0
}
/v1/oauth/{id}/start/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
type required | string Enum: "alio" "bodytrace" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tellihealth" "tenovi" "transtek" |
final-url | string <= 255 characters |
scopes | string <= 9999 characters |
Responses
Request samples
- Payload
{- "final-url": "string",
- "scopes": "string",
- "type": "alio"
}
Response samples
- 201
- 4XX
{- "oauth-url": "string"
}
/v1/oauth/{id}/types/
path Parameters
id required | string Resource identifier |
query Parameters
filter[include-beta] | boolean [deprecated] new optional type needs to be explicitly specified in |
filter[type] | string Enum: "alio" "bodytrace" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tellihealth" "tenovi" "transtek" |
includes | Array of strings[ items <= 32 characters ] |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "allow-disconnect": true,
- "connected": true,
- "connection-time": "string",
- "description": "string",
- "display-name": "string",
- "error-state": {
- "code": "string",
- "display": "string",
- "timestamp": "string"
}, - "fetch-record": { },
- "has-oauth": true,
- "image-urls": [
- {
- "file-type": "string",
- "url": "string"
}
], - "image_url": "string",
- "last-collection": "string",
- "last-data-time": "string",
- "logos-authorized": true,
- "name": "string",
- "scopes": { },
- "types": [
- "string"
]
}
]
}
/v1/oauth-config/
query Parameters
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[type] | string Enum: "alio" "bodytrace" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tellihealth" "tenovi" "transtek" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "collector-fetch-history-days": 0,
- "collector-fetch-history-months": 0,
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config"
}
], - "meta": { }
}
/v1/oauth-config/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "collector-fetch-history-days": 7,
- "collector-fetch-history-months": 12,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "type": "oauth-config"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "collector-fetch-history-days": 0,
- "collector-fetch-history-months": 0,
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "collector-fetch-history-days": 0,
- "collector-fetch-history-months": 0,
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config"
}, - "meta": { }
}
/v1/oauth-config/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "collector-fetch-history-days": 365,
- "collector-fetch-history-months": 24
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "collector-fetch-history-days": 0,
- "collector-fetch-history-months": 0,
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config"
}, - "meta": { }
}
/v1/oauth-config-feature/
query Parameters
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[type] | string Enum: "alio" "bodytrace" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tellihealth" "tenovi" "transtek" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "feature": "dexcom-legacy",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config-feature"
}
], - "meta": { }
}
/v1/oauth-config-feature/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "feature": "dexcom-legacy",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "type": "oauth-config-feature"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "feature": "dexcom-legacy",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config-feature"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "feature": "dexcom-legacy",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "type": "alio"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth-config-feature"
}, - "meta": { }
}
/v1/oauth-dexcom/
query Parameters
state required | string <= 255 characters |
code | string <= 255 characters |
error | string <= 255 characters |
session_state | string <= 255 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/oauth-fitbit/
query Parameters
state required | string <= 255 characters |
code | string <= 255 characters |
error | string <= 255 characters |
session_state | string <= 255 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/oauth-googlefit/
query Parameters
state required | string <= 255 characters |
code | string <= 255 characters |
error | string <= 255 characters |
session_state | string <= 255 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/oauth-omron/
query Parameters
state required | string <= 255 characters |
code | string <= 255 characters |
error | string <= 255 characters |
session_state | string <= 255 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/opsis-collectors/
Request Body schema: application/json
data required | object |
time required | string <datetime> |
user-email | string <email> |
user-id | string <uuid> |
property name* additional property | any |
Responses
Request samples
- Payload
{- "data": { },
- "time": "string",
- "user-email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "log-id": "11111111-1111-1111-1111-111111111111"
}
/v1/opsis-maps/
query Parameters
filter[external-id] | string <= 64 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "external-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "opsis-maps"
}
], - "meta": { }
}
/v1/opsis-maps/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "external-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "opsis-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "external-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "opsis-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "external-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "opsis-maps"
}, - "meta": { }
}
/v1/purge-data/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "archive": false,
- "entity-id": "string",
- "entity-type": "individual",
- "reference-id": "string",
- "request-id": "string"
}, - "type": "system-purges"
}, - "meta": { }
}
Response samples
- 201
null
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}
], - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}, - "meta": { }
}
/v1/smartmeter-collectors/
Request Body schema: application/json
date_recorded required | string <= 19 characters |
device_id required | string <= 32 characters |
reading_type required | string <= 32 characters |
property name* additional property | any |
Responses
Request samples
- Payload
{- "date_recorded": "string",
- "device_id": "string",
- "reading_type": "string"
}
Response samples
- 201
- 4XX
{ }
/v1/smartmeter-maps/
query Parameters
filter[device-id] | string [ 5 .. 15 ] characters |
filter[device-type] | string Enum: "" "glucometer" "pulsox" "scale" "sphygmomanometer" |
filter[imei] | string = 15 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}
], - "meta": { }
}
/v1/smartmeter-maps/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "device-type": "",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "smartmeter-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}, - "meta": { }
}
/v1/smartmeter-maps/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}, - "meta": { }
}
/v1/smartmeter-maps/{id}/sync/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
start-time | string <datetime> |
Responses
Request samples
- Payload
{- "start-time": "string"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "first-data-time": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "smartmeter-maps"
}, - "meta": { }
}
/v1/sniffers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "type": "sniffers"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
/v1/sniffers/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "body": "string",
- "content_type": "string",
- "created-time": "string",
- "message": "string",
- "method": "string",
- "path": "string",
- "query-string": "string",
- "request-id": "string",
- "response": "string",
- "status-code": 0,
- "trace-id": "string",
- "user-agent": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffer-logs"
}
], - "meta": { }
}
/v1/tellihealth-collectors/
Request Body schema: application/json
deviceId required | string <= 64 characters |
readingType required | string <= 64 characters |
time required | string <= 32 characters |
data | object |
property name* additional property | any |
Responses
Request samples
- Payload
{- "data": { },
- "deviceId": "string",
- "readingType": "string",
- "time": "string"
}
Response samples
- 201
{ }
/v1/tellihealth-maps/
query Parameters
filter[device-id] | string <= 64 characters |
filter[device-type] | string Enum: "pulsox" "scale" "sphygmomanometer" "thermometer" |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-type": "pulsox",
- "first-data-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tellihealth-maps"
}
], - "meta": { }
}
/v1/tellihealth-maps/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "device-type": "pulsox",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "ticket-duplicates": true
}, - "type": "tellihealth-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-type": "pulsox",
- "first-data-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tellihealth-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-type": "pulsox",
- "first-data-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tellihealth-maps"
}, - "meta": { }
}
/v1/tellihealth-maps/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-type": "pulsox"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tellihealth-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-type": "pulsox",
- "first-data-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tellihealth-maps"
}, - "meta": { }
}
/v1/tenovi-accounts/
query Parameters
filter[name] | string <= 32 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "base-url": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-accounts"
}
], - "meta": { }
}
/v1/tenovi-accounts/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "api-key": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "tenovi-accounts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "base-url": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "base-url": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-accounts"
}, - "meta": { }
}
/v1/tenovi-maps/
query Parameters
filter[device-id] | string [ 5 .. 15 ] characters |
filter[device-type] | string Enum: "gateway" "glucometer" "peakflow" "pulsox" "scale" "sphygmomanometer" "thermometer" |
filter[hwi-device-id] | string <uuid> Example: filter[hwi-device-id]=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-maps"
}
], - "meta": { }
}
/v1/tenovi-maps/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "tenovi-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-maps"
}, - "meta": { }
}
/v1/tenovi-maps/{id}/sync/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
start-time | string <datetime> |
Responses
Request samples
- Payload
{- "start-time": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "gateway",
- "first-data-time": "string",
- "hwi-device-id": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "tenovi-maps"
}, - "meta": { }
}
/v1/transtek-maps/
query Parameters
filter[device-id] | string [ 5 .. 15 ] characters |
filter[device-type] | string Enum: "" "pulsox" "scale" "sphygmomanometer" |
filter[imei] | string [ 5 .. 15 ] characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[shared-with-org-id] | string <uuid> Example: filter[shared-with-org-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "iccid": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "signal-strength": 31
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "transtek-maps"
}
], - "meta": { }
}
/v1/transtek-maps/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-id": "string",
- "device-type": "",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "ticket-duplicates": true
}, - "type": "transtek-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "iccid": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "signal-strength": 31
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "transtek-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "iccid": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "signal-strength": 31
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "transtek-maps"
}, - "meta": { }
}
/v1/transtek-maps/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "device-type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "transtek-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "connected": true,
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "device-type": "",
- "iccid": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-data-time": "string",
- "last-event-time": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "signal-strength": 31
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "transtek-maps"
}, - "meta": { }
}
/v2/bodytrace-maps/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "barcode": "string",
- "imei": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-time": "string",
- "ticket-duplicates": true
}, - "type": "bodytrace-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "task-id": "string"
}
/v2/nutrition-nutrients-goals/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}
], - "meta": { }
}
/v2/nutrition-nutrients-goals/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "nutrient-calories": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
/v2/nutrition-nutrients-goals/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "nutrient-calories": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat-pct": 100
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "goal-set-as": "grams",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modifier": {
- "birth-date": "2019-08-24",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true
}, - "nutrient-calories": 0,
- "nutrient-protein": 0,
- "nutrient-protein-pct": 100,
- "nutrient-total-carbohydrate": 0,
- "nutrient-total-carbohydrate-pct": 100,
- "nutrient-total-fat": 0,
- "nutrient-total-fat-pct": 100,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-nutrients-goals"
}, - "meta": { }
}