API object reference

BETA documentation generated on: December 06th 2018

Service ID: 1 - Social

Object ID: 1 - Media

Field
Data Type
Description
Example
baseid
string
Internal index used by digi.me
"4_1542271900260495153_182042"
cameramodelentityid
string
Internal index used by digi.me
commentcount
number
commententityid
string
Internal index used by digi.me
createddate
number
Created date, expressed as a unix timestamp
1498073159000
description
string
displayshorturl
string
displayurlindexend
number
displayurlindexstart
number
entityid
string
Internal index used by digi.me
"4_1542271900260495153_182042"
filter
string
"Gingham"
interestscore
number
itemlicenceentityid
string
Internal index used by digi.me
latitude
number
likecount
number
14
link
string
"https://www.instagram.com/p/BVnQB86F-8xlEERyS_PisN_g2p5-V-o3aUBd7A0/"
locationentityid
string
Internal index used by digi.me
longitude
number
mediaalbumentityid
string
Internal index used by digi.me
"4_182042_182042_1"
mediaalbumname
string
mediaid
string
"1542271900260495153_182042"
mediaobjectid
string
mediaobjectlikeid
string
name
string
"Team"s getting smaller by 1. Good luck @mheap"
originatortype
number
2
personentityid
string
Internal index used by digi.me
"4_182042_182042"
personfilerelativepath
string
personfileurl
string
"https://scontent.cdninstagram.com/t51.2885-19/11356960_1625044604420020_264796266_a.jpg"
personfullname
string
"Pascal Wheeler"
personusername
string
"pascalw"
postentityid
string
Internal index used by digi.me
"4_182042_1542271900260495153_182042"
resources
Internal Object reference
[
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 150,
      "mimetype": "image/jpeg",
      "type": 0,
      "url": "https://scontent.cdninstagram.com/t51.2885-15/s150x150/e35/c135.0.809.809/19367043_122168111710592_7572307112722694144_n.jpg",
      "width": 150
   },
   {
      "aspectratio": {
         "accuracy": 99.581589958159,
         "actual": "320:239",
         "closest": "4:3"
      },
      "height": 239,
      "mimetype": "image/jpeg",
      "type": 0,
      "url": "https://scontent.cdninstagram.com/t51.2885-15/s320x320/e35/19367043_122168111710592_7572307112722694144_n.jpg",
      "width": 320
   }
]
tagcount
number
taggedpeoplecount
number
type
number
updateddate
number
Updated date, express as a unix timestamp
1498073159000

Object ID: 2 - Post

Field
Data Type
Description
Example
annotation
string
baseid
string
Internal index used by digi.me
"4_182042_1542271900260495153_182042"
cameramodelentityid
string
Internal index used by digi.me
commentcount
number
commententityid
string
Internal index used by digi.me
createddate
number
Created date, expressed as a unix timestamp
1498073159000
description
string
entityid
string
Internal index used by digi.me
"4_182042_1542271900260495153_182042"
favouritecount
number
iscommentable
number
1
isfavourited
number
islikeable
number
1
islikes
number
isshared
number
istruncated
number
latitude
number
likecount
number
14
longitude
number
originalcrosspostid
number
originalpostid
number
originalposturl
string
personentityid
string
Internal index used by digi.me
"4_182042_182042"
personfilerelativepath
string
personfileurl
string
"https://scontent.cdninstagram.com/t51.2885-19/11356960_1625044604420020_264796266_a.jpg"
personfullname
string
"Pascal Wheeler"
personusername
string
"pascalw"
postentityid
string
Internal index used by digi.me
postid
string
"1542271900260495153_182042"
postreplycount
number
posturl
string
"https://www.instagram.com/p/BVnQB86F-8xlEERyS_PisN_g2p5-V-o3aUBd7A0/"
rawtext
string
referenceentityid
string
Internal index used by digi.me
"4_182042"
referenceentitytype
number
15
sharecount
number
socialnetworkuserentityid
string
Internal index used by digi.me
"4_182042"
source
string
text
string
"Team"s getting smaller by 1. Good luck @mheap"
title
string
type
number
20
updateddate
number
Updated date, express as a unix timestamp
1498073159000
visibility
string

Object ID: 7 - Comment

Field
Data Type
Description
Example
appid
string
baseid
string
Internal index used by digi.me
"4_182042_17858982733161786"
commentcount
number
commentid
string
"17858982733161786"
commentreplyid
string
Links to a parent comment (by Comment.commentid) where the post is a reply
createddate
number
Created date, expressed as a unix timestamp
1497373638000
entityid
string
Internal index used by digi.me
"4_182042_17858982733161786"
likecount
number
link
string
metaid
string
personentityid
string
Internal index used by digi.me
"4_182042_1545946064"
personfilerelativepath
string
personfileurl
string
"https://scontent.cdninstagram.com/t51.2885-19/s150x150/19051047_1129050077200786_761246497533591552_a.jpg"
personfullname
string
"Sarah Lamb"
personusername
string
"iamgirlygeekdom"
privacy
number
referenceentityid
string
Internal index used by digi.me
"4_1536332454209789316_182042"
referenceentitytype
number
1
socialnetworkuserentityid
string
Internal index used by digi.me
"4_182042"
text
string
"Oooh I missed out! Mint magnums are my favourite!"
updateddate
number
Updated date, express as a unix timestamp
1497373638000

Service ID: 2 - Medical

Object ID: 127 - Allergy Intolerance

Field
Data Type
Example
accountentityid
string
"16_3003765099"
asserteddate
number
1449247364000
baseid
string
clinicalstatus
string
code
{
   "text": "1234568790123456879012345687901234568790123456879012345687901234568790123456879012345687901234568790",
   "coding": [
      {
         "display": "efnaofnæmi"
      }
   ]
}
createddate
number
1449247364000
criticality
string
entityid
string
"16_3003765099_127_1449247364000_"
id
string
identifier
lastoccurence
number
note
[
   {
      "text": [

      ]
   }
]
onsetdatetime
number
reaction
recorder
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
updateddate
number
verificationstatus
string

Object ID: 128 - Condition

Field
Data Type
Example
accountentityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b"
asserteddate
number
1446854400000
asserter
{
   "display": "moore, sean",
   "reference": "https://open-ic.epic.com/fhir/api/fhir/dstu2/practitioner/titwfhjchtlo0pfh9nzctsqb"
}
baseid
string
category
[
   {
      "text": "diagnosis",
      "coding": [
         {
            "system": "http://loinc.org",
            "code": "29308-4",
            "display": "diagnosis"
         },
         {
            "system": "http://snomed.info/sct",
            "code": "439401001",
            "display": "diagnosis"
         },
         {
            "system": "http://hl7.org/fhir/condition-category",
            "code": "diagnosis",
            "display": "diagnosis"
         },
         {
            "system": "http://argonautwiki.hl7.org/extension-codes",
            "code": "problem",
            "display": "problem"
         }
      ]
   }
]
clinicalstatus
string
code
{
   "text": "dog bite",
   "coding": [
      {
         "system": "urn:oid:2.16.840.1.113883.6.90",
         "code": "w54.0xxa",
         "display": "dog bite"
      },
      {
         "system": "http://snomed.info/sct",
         "code": "283734005",
         "display": "dog bite - wound (disorder)"
      }
   ]
}
createddate
number
1446854400000
entityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b_tt4fnwwh8zm2zgwsbocyvuab"
id
string
"tt4fnwwh8zm2zgwsbocyvuab"
identifier
onsetdatetime
number
1446854400000
referenceentityid
string
referenceentitytype
number
severity
{
   "text": "medium",
   "coding": [
      {
         "system": "urn:oid:2.16.840.1.113883.6.90",
         "code": "w54.0xxa",
         "display": "dog bite"
      },
      {
         "system": "http://snomed.info/sct",
         "code": "283734005",
         "display": "dog bite - wound (disorder)"
      }
   ]
}
socialnetworkuserentityid
string
updateddate
number
verificationstatus
string

Object ID: 129 - Immunization

Field
Data Type
Example
accountentityid
string
"16_3003765099"
baseid
string
createddate
number
1089158400000
date
number
1089158400000
encounter
{
   "entityid": "16_3003765099_136_27987",
   "createddate": 1274107221000,
   "accountentityid": "16_3003765099",
   "period": {
      "start": 1275319680000
   },
   "id": "27987",
   "participant": [
      {
         "individual": {
            "identifier": {
               "value": "raxx0761"
            }
         }
      }
   ],
   "location": [
      {
         "location": {
            "description": "sögu dev skema"
         }
      }
   ],
   "serviceprovider": {
      "name": "saga_skema - tms"
   },
   "type": [
      {
         "coding": [
            {
               "code": "56092"
            }
         ]
      }
   ],
   "class": {
      "code": "emer",
      "display": "emergency"
   }
}
entityid
string
"16_3003765099_129_j07bd52"
id
string
identifier
lotnumber
string
notgiven
boolean
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
status
string
updateddate
number
vaccinationprotocol
[
   {
      "targetdisease": [
         {
            "coding": [
               {
                  "code": " ",
                  "display": "mislingar"
               }
            ],
            "text": "mislingar"
         },
         {
            "coding": [
               {
                  "code": " ",
                  "display": "hettusótt"
               }
            ],
            "text": "hettusótt"
         },
         {
            "coding": [
               {
                  "code": " ",
                  "display": "rauðir hundar"
               }
            ],
            "text": "rauðir hundar"
         }
      ]
   }
]
vaccinecode
{
   "text": "priorix® misl + hettus + r. hund / mmr",
   "coding": [
      {
         "code": "j07bd52",
         "display": "priorix® misl + hettus + r. hund / mmr",
         "system": "atc"
      }
   ]
}

Object ID: 130 - Medication Request

Field
Data Type
Example
accountentityid
string
"16_3003765099"
authoredon
number
baseid
string
createddate
number
-621355968000
dispenserequest
{
   "validityperiod": {
      "start": -621355968000,
      "end": 1500163200000
   },
   "numberofrepeatsallowed": "0"
}
dosageinstruction
[
   {
      "dosequantity": {
         "unit": "mg",
         "value": 10
      },
      "text": "2 töflur á dag",
      "sequence": 0
   }
]
entityid
string
"16_3003765099_130_-621355968000_n06ab05"
id
string
identifier
medicationreference
{
   "code": {
      "text": "seroxat"
   },
   "form": {
      "text": "mixt.kyr"
   },
   "package": {
      "container": {
         "text": "0"
      },
      "content": [
         {
            "amount": {
               "value": "100",
               "unit": null
            }
         }
      ]
   }
}
recorder
referenceentityid
string
referenceentitytype
number
requester
socialnetworkuserentityid
string
status
string
updateddate
number
1499040000000

Object ID: 131 - Family Member History

Field
Data Type
Example
accountentityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b"
baseid
string
condition
[
   {
      "onsetstring": "12",
      "code": {
         "text": "vitiligo"
      },
      "note": {
         "text": "also went by alias \"uncle ruckus\""
      }
   }
]
createddate
number
1459987200000
date
number
1459987200000
deceasedboolean
boolean
false
entityid
string
id
string
identifier
name
string
"joe"
referenceentityid
string
referenceentitytype
number
relationship
{
   "text": "brother",
   "coding": [
      {
         "system": "http://hl7.org/fhir/valueset/v3-familymember",
         "code": "bro",
         "display": "brother"
      }
   ]
}
socialnetworkuserentityid
string
status
string
"partial"
updateddate
number

Object ID: 132 - Observation

Field
Data Type
Example
accountentityid
string
"16_3003765099"
baseid
string
category
[
   {
      "text": "priorix® misl + hettus + r. hund / mmr",
      "coding": [
         {
            "system": 1722
         }
      ]
   }
]
comment
string
""
component
createddate
number
1505232000000
effectivedatetime
number
1505232000000
entityid
string
"16_3003765099_132_1722"
id
string
"1722"
identifier
interpretation
issued
number
1518192086560
performer
[
   {
      "display": "moore, sean",
      "reference": "https://open-ic.epic.com/fhir/api/fhir/dstu2/practitioner/titwfhjchtlo0pfh9nzctsqb",
      "patient": {
         "id": "3003765099",
         "name": [
            {
            }
         ]
      }
   }
]
referenceentityid
string
referenceentitytype
number
referencerange
socialnetworkuserentityid
string
status
string
updateddate
number
1518192086560
valueboolean
boolean
valuecodeableconcept
valuequantity
{
   "value": 36.8
}
valuerange
{
   "high": {
      "value": 0,
      "unit": ""
   },
   "low": {
      "value": 0,
      "unit": ""
   }
}
valueratio
valuestring
string
"36,8"

Object ID: 133 - Procedure

Field
Data Type
Example
accountentityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b"
baseid
string
code
{
   "text": "eye exam",
   "coding": [
      {
         "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.696580",
         "code": "40707",
         "display": "eye exam"
      }
   ]
}
createddate
number
1444159200000
entityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b_t5lc5zmmcn1ipoojr0hhgomdj2j97qp4is2elboi51w4b"
id
string
"t5lc5zmmcn1ipoojr0hhgomdj2j97qp4is2elboi51w4b"
identifier
[
   {
      "use": "usual",
      "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.696580",
      "value": "40707"
   }
]
location
notdone
boolean
false
performeddatetime
number
1444159200000
performer
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
status
string
"completed"
updateddate
number

Object ID: 134 - Diagnostic Report

Field
Data Type
Example
accountentityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b"
baseid
string
code
{
   "text": "eye exam",
   "coding": [

   ]
}
createddate
number
1444159200000
effectivedatetime
number
1444159200000
entityid
string
"20_tukrxl29bxe9lyacdtiyrwc6ln5gz-z7clr2r-2sy964b_tgb4cdorewzfnemd5sbcqpab"
id
string
"tgb4cdorewzfnemd5sbcqpab"
identifier
[
   {
      "use": "official",
      "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.798268",
      "value": "975888"
   }
]
issued
number
1444159200000
performer
{
   "actor": {
      "display": "physician adolescent",
      "reference": "https://open-ic.epic.com/fhir/api/fhir/dstu2/practitioner/tfpkggbo9haiyymhtol5qwab"
   }
}
referenceentityid
string
referenceentitytype
number
result
[
   {
      "createddate": 1505232000000,
      "effectivedatetime": 1505232000000,
      "issued": 1518192086560,
      "updateddate": 1518192086560,
      "accountentityid": "16_3003765099",
      "entityid": "16_3003765099_132_1722",
      "comment": "",
      "valuerange": {
         "high": {
            "value": 0,
            "unit": ""
         },
         "low": {
            "value": 0,
            "unit": ""
         }
      },
      "id": "1722",
      "valuestring": "36,8",
      "performer": [
         {
            "patient": {
               "id": "3003765099",
               "name": [
                  {
                  }
               ]
            }
         }
      ],
      "valuequantity": {
         "value": 36.8
      },
      "category": [
         {
            "coding": [
               {
                  "system": 1722
               }
            ],
            "text": ""
         }
      ],
      "display": "component: bicarbonate [mmol/l] in arterial blood",
      "reference": "https://open-ic.epic.com/fhir/api/fhir/dstu2/observation/tp3gv6pob3cmjt9myquqglisjf0i.vgyinudzbto1eyib"
   }
]
socialnetworkuserentityid
string
status
string
"final"
subject
updateddate
number

Object ID: 135 - Device

Field
Data Type
Example
accountentityid
string
baseid
string
createddate
number
entityid
string
expirationdate
number
id
string
identifier
model
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
status
string
udi
UDI
updateddate
number

Object ID: 136 - Encounter

Field
Data Type
Example
accountentityid
string
"16_3003765099"
baseid
string
class
{
   "code": "emer",
   "display": "emergency"
}
createddate
number
1274107221000
entityid
string
"16_3003765099_136_27987"
id
string
"27987"
identifier
location
[
   {
      "location": {
         "name": "saga_skema - tms"
      }
   }
]
participant
[
   {
      "individual": {
         "practitioner": {
            "name": [
               {
                  "text": "ake lindell pain"
               }
            ]
         }
      }
   }
]
period
{
   "start": 1275319680000
}
priority
referenceentityid
string
referenceentitytype
number
serviceprovider
{
   "name": "saga_skema - tms"
}
socialnetworkuserentityid
string
status
string
type
[
   {
      "text": "eye exam",
      "coding": [
         {
            "code": "56092"
         }
      ]
   }
]
updateddate
number

Object ID: 137 - Medication Dispense

Field
Data Type
Example
accountentityid
string
"16_3003765099"
baseid
string
createddate
number
dosageinstruction
[
   {
      "dosequantity": {
         "unit": "mg/ml",
         "value": 50
      },
      "text": "takist eftir þörfum",
      "sequence": 0
   }
]
entityid
string
"16_3003765099_137_1448021708000_j01ca04"
id
string
identifier
medicationcodeableconcept
medicationreference
{
   "code": {
      "coding": [
         {
            "code": "j01ca04"
         },
         {
            "code": "600999"
         },
         {
            "code": "969438"
         }
      ],
      "text": "amoxicillin sandoz"
   },
   "form": {
      "text": "mixt.kyr"
   },
   "package": {
      "container": {
         "text": "0"
      },
      "content": [
         {
            "amount": {
               "value": "100",
               "unit": null
            }
         }
      ]
   }
}
notdone
boolean
note
[
   {
      "text": [

      ]
   }
]
performer
quantity
{
   "value": 1
}
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
status
string
updateddate
number
whenhandedover
number
whenprepared
number

Object ID: 139 - Patient

Field
Data Type
Example
accountentityid
string
active
boolean
address
baseid
string
birthdate
number
communication
contact
createddate
number
deceasedboolean
boolean
deceaseddatetime
number
entityid
string
gender
string
id
string
identifier
maritalstatus
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
telecom
updateddate
number

Service ID: 3 - Finance

Object ID: 201 - Transaction

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"17_10019612"
amount
number
2.43
basetype
string
"DEBIT"
category
string
"Restaurants"
categoryid
number
22
categorysource
string
"SYSTEM"
categorytype
string
"EXPENSE"
checknumber
string
consumerref
string
createddate
number
Created date, expressed as a unix timestamp
1490832000000
currency
string
"GBP"
entityid
string
Internal index used by digi.me
"17_10019612_10945571"
highlevelcategoryid
number
10000011
id
string
"10945571"
ismanual
boolean
merchantaddress1
string
merchantaddress2
string
merchantcity
string
merchantcountry
string
merchantid
string
"costacoffee"
merchantname
string
"Costa Coffee"
merchantstate
string
merchantzip
string
originalref
string
"Debit COSTA COFFEE ON 26 MAR CPM"
postdate
number
1490832000000
runningbalance
number
113.55
runningbalancecurrency
string
"GBP"
simpleref
string
"Costa Coffee"
status
string
"POSTED"
subtype
string
"PURCHASE"
transactiondate
number
type
string
"PURCHASE"

Service ID: 4 - Health & Fitness

Object ID: 300 - Activity

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"18_4W73QJ"
activitylevel
Internal Object reference
[
   {
      "minutes": 0,
      "name": "sedentary"
   },
   {
      "minutes": 2,
      "name": "lightly"
   }
]
activityname
string
"Walk"
activitytypeid
string
"90013"
averageheartrate
number
119
calories
number
251
createddate
number
Created date, expressed as a unix timestamp
1475276448000
distance
number
durations
Internal Object reference
{
   "active": 1587000,
   "original": 1587000,
   "total": 1587000
}
elevationgain
number
entityid
string
Internal index used by digi.me
"18_4W73QJ_4268169673"
heartratezones
Internal Object reference
[
   {
      "max": 96,
      "min": 30,
      "minutes": 2,
      "name": "Out of Range"
   },
   {
      "max": 134,
      "min": 96,
      "minutes": 19,
      "name": "Fat Burn"
   }
]
id
string
"4268169673"
logtype
string
"auto_detected"
manualvaluesspecified
Internal Object reference
{
   "calories": false,
   "distance": false,
   "steps": false
}
originalstartdate
number
1475276448000
speed
number
steps
number
2303
updateddate
number
Updated date, express as a unix timestamp
1475278546000

Object ID: 301 - Daily Activity Summary

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"18_4W73QJ"
activescore
number
-1
activitycalories
number
636
caloriesbmr
number
1893
caloriesout
number
2519
createddate
number
Created date, expressed as a unix timestamp
1472601600000
distances
Internal Object reference
[
   {
      "activity": "total",
      "distance": 1.62
   },
   {
      "activity": "tracker",
      "distance": 1.62
   }
]
elevation
number
30.48
entityid
string
Internal index used by digi.me
"18_4W73QJ_1472601600000"
fairlyactiveminutes
number
floors
number
10
goals
Internal Object reference
{
   "activeminutes": 30,
   "caloriesout": 3082,
   "distance": 8.05,
   "floors": 10,
   "steps": 10000
}
heartratezones
Internal Object reference
[
   {
      "caloriesout": 2078.8569,
      "max": 96,
      "min": 30,
      "minutes": 1196,
      "name": "Out of Range"
   },
   {
      "caloriesout": 159.49737,
      "max": 134,
      "min": 96,
      "minutes": 32,
      "name": "Fat Burn"
   }
]
id
string
"1472601600000"
lightlyactiveminutes
number
147
marginalcalories
number
319
restingheartrate
number
64
sedentaryminutes
number
896
steps
number
2749
veryactiveminutes
number

Object ID: 302 - Achievement

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"18_3J8QQG"
category
string
"Daily Steps"
description
string
"35,000 steps in a day"
earnedmessage
string
"Congrats on earning your first Hiking Boot badge!"
entityid
string
Internal index used by digi.me
"18_3J8QQG_228TPW"
gradientendcolor
string
"FF677C"
gradientstartcolor
string
"D24958"
id
string
"228TPW"
marketingdescription
string
"You"ve walked 35,000 steps And
mobiledescription
string
"Woot, woot! There"s no mountain you can"t
name
string
"Hiking Boot (35,000 steps in a day)"
resources
Internal Object reference
[
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 100,
      "mimetype": "image/png",
      "type": 0,
      "url": "https://static0.fitbit.com/images/badges_new/100px/badge_daily_steps35k.png",
      "width": 100
   },
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 125,
      "mimetype": "image/png",
      "type": 0,
      "url": "https://static0.fitbit.com/images/badges_new/125px/badge_daily_steps35k.png",
      "width": 125
   }
]
sharetext
string
"I took 35,000 steps and earned
shortdescription
string
"35,000 steps"
shortname
string
"Hiking Boot"
timesachieved
number
1
type
string
"DAILY_STEPS"
updateddate
number
Updated date, express as a unix timestamp
1473984000000
value
number
35000

Object ID: 303 - Sleep

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"18_4W73QJ"
awakeduration
number
createddate
number
Created date, expressed as a unix timestamp
1472601600000
deepsleepduration
number
duration
number
24600000
efficiency
number
97
enddate
number
1472622240000
entityid
string
Internal index used by digi.me
"18_4W73QJ_12444346788"
id
string
"12444346788"
infocode
number
ismainsleep
boolean
levels
Internal Object reference
[
   {
      "createddate": 1472597610000,
      "level": "awake",
      "seconds": 180
   },
   {
      "createddate": 1472597790000,
      "level": "restless",
      "seconds": 120
   }
]
lightsleepduration
number
minutesafterwakeup
number
minutesasleep
number
398
minutesawake
number
12
minutestofallasleep
number
startdate
number
1472597610000
summary
Internal Object reference
{
   "deep": {
      "count": 5,
      "minutes": 88,
      "thirtydayavgminutes": 72
   },
   "light": {
      "count": 45,
      "minutes": 333,
      "thirtydayavgminutes": 283
   },
   "rem": {
      "count": 9,
      "minutes": 109,
      "thirtydayavgminutes": 55
   },
   "wake": {
      "count": 43,
      "minutes": 70,
      "thirtydayavgminutes": 68
   }
}
timeinbed
number
410
type
string
"classic"

Service ID: 5 - Entertainment

Object ID: 404 - Saved Album

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an"
album
Internal Object reference
{
   "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
   "artists": [
      {
         "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
         "entityid": "19_xqonjx408hdv0e8upnvqg98an_4F0b9Cx0VIVVOLFgehonr6",
         "followerscount": 8252,
         "genres": [
            "turbo folk",
            "yugoslav rock"
         ],
         "id": "4F0b9Cx0VIVVOLFgehonr6",
         "link": "https://open.spotify.com/artist/4F0b9Cx0VIVVOLFgehonr6",
         "name": "Halid Bešlić",
         "popularity": 41,
         "resources": [
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 640,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/e7b3fe7ab8a6d76d3c3268a3b015904d8aa7054d",
               "width": 640
            },
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 300,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/89c0bb13286ab59fcf9f27d8ea3af4d0334357d3",
               "width": 300
            }
         ]
      }
   ],
   "availablemarkets": [

   ],
   "copyrights": [
      {
         "text": "1988 Jugoton/Gold AV",
         "type": "C"
      },
      {
         "text": "1988 Jugoton/Gold AV",
         "type": "P"
      }
   ],
   "entityid": "19_xqonjx408hdv0e8upnvqg98an_42tZWXpR9jtfgquaLf8OVb",
   "genres": [

   ],
   "id": "42tZWXpR9jtfgquaLf8OVb",
   "label": "Gold Audio Video",
   "link": "https://open.spotify.com/album/42tZWXpR9jtfgquaLf8OVb",
   "name": "Mostovi tuge",
   "popularity": 1,
   "releasedate": 567993600000,
   "resources": [
      {
         "aspectratio": {
            "accuracy": 100,
            "actual": "1:1",
            "closest": "1:1"
         },
         "height": 640,
         "mimetype": "application/octet-stream",
         "type": 0,
         "url": "https://i.scdn.co/image/6823c3d920ae1be705417f74c1d227018f50cb9c",
         "width": 640
      },
      {
         "aspectratio": {
            "accuracy": 100,
            "actual": "1:1",
            "closest": "1:1"
         },
         "height": 300,
         "mimetype": "application/octet-stream",
         "type": 0,
         "url": "https://i.scdn.co/image/47410d5c4760714133aebd62f3d5fc8375a608ef",
         "width": 300
      }
   ],
   "tracks": [
      {
         "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
         "artists": [
            {
               "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
               "entityid": "19_xqonjx408hdv0e8upnvqg98an_4F0b9Cx0VIVVOLFgehonr6",
               "id": "4F0b9Cx0VIVVOLFgehonr6",
               "link": "https://open.spotify.com/artist/4F0b9Cx0VIVVOLFgehonr6",
               "name": "Halid Bešlić"
            }
         ],
         "availablemarkets": [

         ],
         "discnumber": 1,
         "duration": 193453,
         "entityid": "19_xqonjx408hdv0e8upnvqg98an_7rBTPxrnwpnZbnQoTqE3mg",
         "explicit": false,
         "id": "7rBTPxrnwpnZbnQoTqE3mg",
         "link": "https://open.spotify.com/track/7rBTPxrnwpnZbnQoTqE3mg",
         "name": "Mostovi tuge",
         "number": 1
      },
      {
         "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
         "artists": [
            {
               "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
               "entityid": "19_xqonjx408hdv0e8upnvqg98an_4F0b9Cx0VIVVOLFgehonr6",
               "id": "4F0b9Cx0VIVVOLFgehonr6",
               "link": "https://open.spotify.com/artist/4F0b9Cx0VIVVOLFgehonr6",
               "name": "Halid Bešlić"
            }
         ],
         "availablemarkets": [

         ],
         "discnumber": 1,
         "duration": 219360,
         "entityid": "19_xqonjx408hdv0e8upnvqg98an_69d0OcADV4x128JfkMqeeb",
         "explicit": false,
         "id": "69d0OcADV4x128JfkMqeeb",
         "link": "https://open.spotify.com/track/69d0OcADV4x128JfkMqeeb",
         "name": "Daleko je sreca",
         "number": 2
      }
   ],
   "type": "album"
}
createddate
number
Created date, expressed as a unix timestamp
1514454801000
entityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an_1514454801000_42tZWXpR9jtfgquaLf8OVb"
id
string
"1514454801000_42tZWXpR9jtfgquaLf8OVb"

Object ID: 405 - Saved Track

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an"
createddate
number
Created date, expressed as a unix timestamp
1520859957000
entityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an_1520859957000_52wm7k3WvWXdtmy5ijqyrA"
id
string
"1520859957000_52wm7k3WvWXdtmy5ijqyrA"
track
Internal Object reference
{
   "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
   "album": {
      "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
      "artists": [
         {
            "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
            "entityid": "19_xqonjx408hdv0e8upnvqg98an_0LyfQWJT6nXafLPZqxe9Of",
            "id": "0LyfQWJT6nXafLPZqxe9Of",
            "link": "https://open.spotify.com/artist/0LyfQWJT6nXafLPZqxe9Of",
            "name": "Various Artists"
         }
      ],
      "availablemarkets": [
         "AD",
         "AR"
      ],
      "copyrights": [
         {
            "text": "Croatia Records",
            "type": "C"
         },
         {
            "text": "Croatia Records",
            "type": "P"
         }
      ],
      "entityid": "19_xqonjx408hdv0e8upnvqg98an_4Tyb8HuDO4b47fuORGqdtq",
      "genres": [

      ],
      "id": "4Tyb8HuDO4b47fuORGqdtq",
      "label": "Croatia Records",
      "link": "https://open.spotify.com/album/4Tyb8HuDO4b47fuORGqdtq",
      "name": "40 Velikih Hitova (Opusti Se I Uživaj)",
      "popularity": 21,
      "releasedate": 1498608000000,
      "resources": [
         {
            "aspectratio": {
               "accuracy": 100,
               "actual": "1:1",
               "closest": "1:1"
            },
            "height": 640,
            "mimetype": "application/octet-stream",
            "type": 0,
            "url": "https://i.scdn.co/image/1be0cd93902f944a46f7b2c206ca9c52730d37bc",
            "width": 640
         },
         {
            "aspectratio": {
               "accuracy": 100,
               "actual": "1:1",
               "closest": "1:1"
            },
            "height": 300,
            "mimetype": "application/octet-stream",
            "type": 0,
            "url": "https://i.scdn.co/image/665b6803d9c89dc3e432e41cd1cfaf255b3af8d1",
            "width": 300
         }
      ],
      "type": "compilation"
   },
   "artists": [
      {
         "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
         "entityid": "19_xqonjx408hdv0e8upnvqg98an_60CQNohiJxVssiJysT2XOB",
         "followerscount": 2244,
         "genres": [
            "croatian pop",
            "yugoslav rock"
         ],
         "id": "60CQNohiJxVssiJysT2XOB",
         "link": "https://open.spotify.com/artist/60CQNohiJxVssiJysT2XOB",
         "name": "Magazin",
         "popularity": 34,
         "resources": [
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 640,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/1cc518fa0f772b75a58b095000d02cc9f026841b",
               "width": 640
            },
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 300,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/21fe53f2d40ae957445fa7fb0df576a6e10ed282",
               "width": 300
            }
         ]
      }
   ],
   "availablemarkets": [
      "AD",
      "AR"
   ],
   "discnumber": 1,
   "duration": 222533,
   "entityid": "19_xqonjx408hdv0e8upnvqg98an_52wm7k3WvWXdtmy5ijqyrA",
   "explicit": false,
   "id": "52wm7k3WvWXdtmy5ijqyrA",
   "link": "https://open.spotify.com/track/52wm7k3WvWXdtmy5ijqyrA",
   "name": "Kad Bi Bio Blizu",
   "number": 15,
   "popularity": 6,
   "resources": [
      {
         "duration": 30000,
         "mimetype": "audio/mp3",
         "type": 2,
         "url": "https://p.scdn.co/mp3-preview/f5006b1c23b8a7d3c2bc7f63edc2e627c0d24277?cid=8f62e65c31d74c15b9c8129505694ee1"
      }
   ]
}

Object ID: 406 - Play History

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an"
createddate
number
Created date, expressed as a unix timestamp
1516894740726
entityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an_1516894740726_15GzLqxP5RzZHx6aYkFbuJ"
id
string
"1516894740726_15GzLqxP5RzZHx6aYkFbuJ"
track
Internal Object reference
{
   "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
   "album": {
      "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
      "artists": [
         {
            "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
            "entityid": "19_xqonjx408hdv0e8upnvqg98an_0LyfQWJT6nXafLPZqxe9Of",
            "id": "0LyfQWJT6nXafLPZqxe9Of",
            "link": "https://open.spotify.com/artist/0LyfQWJT6nXafLPZqxe9Of",
            "name": "Various Artists"
         }
      ],
      "availablemarkets": [
         "AD",
         "AR"
      ],
      "copyrights": [
         {
            "text": "Croatia Records",
            "type": "C"
         },
         {
            "text": "Croatia Records",
            "type": "P"
         }
      ],
      "entityid": "19_xqonjx408hdv0e8upnvqg98an_4Tyb8HuDO4b47fuORGqdtq",
      "genres": [

      ],
      "id": "4Tyb8HuDO4b47fuORGqdtq",
      "label": "Croatia Records",
      "link": "https://open.spotify.com/album/4Tyb8HuDO4b47fuORGqdtq",
      "name": "40 Velikih Hitova (Opusti Se I Uživaj)",
      "popularity": 21,
      "releasedate": 1498608000000,
      "resources": [
         {
            "aspectratio": {
               "accuracy": 100,
               "actual": "1:1",
               "closest": "1:1"
            },
            "height": 640,
            "mimetype": "application/octet-stream",
            "type": 0,
            "url": "https://i.scdn.co/image/1be0cd93902f944a46f7b2c206ca9c52730d37bc",
            "width": 640
         },
         {
            "aspectratio": {
               "accuracy": 100,
               "actual": "1:1",
               "closest": "1:1"
            },
            "height": 300,
            "mimetype": "application/octet-stream",
            "type": 0,
            "url": "https://i.scdn.co/image/665b6803d9c89dc3e432e41cd1cfaf255b3af8d1",
            "width": 300
         }
      ],
      "type": "compilation"
   },
   "artists": [
      {
         "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
         "entityid": "19_xqonjx408hdv0e8upnvqg98an_60CQNohiJxVssiJysT2XOB",
         "followerscount": 2244,
         "genres": [
            "croatian pop",
            "yugoslav rock"
         ],
         "id": "60CQNohiJxVssiJysT2XOB",
         "link": "https://open.spotify.com/artist/60CQNohiJxVssiJysT2XOB",
         "name": "Magazin",
         "popularity": 34,
         "resources": [
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 640,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/1cc518fa0f772b75a58b095000d02cc9f026841b",
               "width": 640
            },
            {
               "aspectratio": {
                  "accuracy": 100,
                  "actual": "1:1",
                  "closest": "1:1"
               },
               "height": 300,
               "mimetype": "application/octet-stream",
               "type": 0,
               "url": "https://i.scdn.co/image/21fe53f2d40ae957445fa7fb0df576a6e10ed282",
               "width": 300
            }
         ]
      }
   ],
   "availablemarkets": [
      "AD",
      "AR"
   ],
   "discnumber": 1,
   "duration": 222533,
   "entityid": "19_xqonjx408hdv0e8upnvqg98an_52wm7k3WvWXdtmy5ijqyrA",
   "explicit": false,
   "id": "52wm7k3WvWXdtmy5ijqyrA",
   "link": "https://open.spotify.com/track/52wm7k3WvWXdtmy5ijqyrA",
   "name": "Kad Bi Bio Blizu",
   "number": 15,
   "popularity": 6,
   "resources": [
      {
         "duration": 30000,
         "mimetype": "audio/mp3",
         "type": 2,
         "url": "https://p.scdn.co/mp3-preview/f5006b1c23b8a7d3c2bc7f63edc2e627c0d24277?cid=8f62e65c31d74c15b9c8129505694ee1"
      }
   ]
}

Internal Objects

Activity Level

Field
Data Type
Description
Example
minutes
number
name
string
"sedentary"

Address

Field
Data Type
Example
accountentityid
string
baseid
string
city
string
country
string
createddate
number
district
string
entityid
string
line
string[]
period
postalcode
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
state
string
text
string
type
string
updateddate
number
use
string

Album

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an"
artists
Internal Object reference
[
   {
      "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
      "entityid": "19_xqonjx408hdv0e8upnvqg98an_0LyfQWJT6nXafLPZqxe9Of",
      "id": "0LyfQWJT6nXafLPZqxe9Of",
      "link": "https://open.spotify.com/artist/0LyfQWJT6nXafLPZqxe9Of",
      "name": "Various Artists"
   }
]
availablemarkets
string
[
   "AD",
   "AR"
]
copyrights
Internal Object reference
[
   {
      "text": "Croatia Records",
      "type": "C"
   },
   {
      "text": "Croatia Records",
      "type": "P"
   }
]
entityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an_4Tyb8HuDO4b47fuORGqdtq"
genres
[

]
id
string
"4Tyb8HuDO4b47fuORGqdtq"
label
string
"Croatia Records"
link
string
"https://open.spotify.com/album/4Tyb8HuDO4b47fuORGqdtq"
name
string
"40 Velikih Hitova (Opusti Se I Uživaj)"
popularity
number
21
releasedate
number
1498608000000
resources
Internal Object reference
[
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 640,
      "mimetype": "application/octet-stream",
      "type": 0,
      "url": "https://i.scdn.co/image/1be0cd93902f944a46f7b2c206ca9c52730d37bc",
      "width": 640
   },
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 300,
      "mimetype": "application/octet-stream",
      "type": 0,
      "url": "https://i.scdn.co/image/665b6803d9c89dc3e432e41cd1cfaf255b3af8d1",
      "width": 300
   }
]
tracks
Internal Object reference
[
   {
      "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
      "artists": [
         {
            "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
            "entityid": "19_xqonjx408hdv0e8upnvqg98an_4F0b9Cx0VIVVOLFgehonr6",
            "id": "4F0b9Cx0VIVVOLFgehonr6",
            "link": "https://open.spotify.com/artist/4F0b9Cx0VIVVOLFgehonr6",
            "name": "Halid Bešlić"
         }
      ],
      "availablemarkets": [

      ],
      "discnumber": 1,
      "duration": 193453,
      "entityid": "19_xqonjx408hdv0e8upnvqg98an_7rBTPxrnwpnZbnQoTqE3mg",
      "explicit": false,
      "id": "7rBTPxrnwpnZbnQoTqE3mg",
      "link": "https://open.spotify.com/track/7rBTPxrnwpnZbnQoTqE3mg",
      "name": "Mostovi tuge",
      "number": 1
   },
   {
      "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
      "artists": [
         {
            "accountentityid": "19_xqonjx408hdv0e8upnvqg98an",
            "entityid": "19_xqonjx408hdv0e8upnvqg98an_4F0b9Cx0VIVVOLFgehonr6",
            "id": "4F0b9Cx0VIVVOLFgehonr6",
            "link": "https://open.spotify.com/artist/4F0b9Cx0VIVVOLFgehonr6",
            "name": "Halid Bešlić"
         }
      ],
      "availablemarkets": [

      ],
      "discnumber": 1,
      "duration": 219360,
      "entityid": "19_xqonjx408hdv0e8upnvqg98an_69d0OcADV4x128JfkMqeeb",
      "explicit": false,
      "id": "69d0OcADV4x128JfkMqeeb",
      "link": "https://open.spotify.com/track/69d0OcADV4x128JfkMqeeb",
      "name": "Daleko je sreca",
      "number": 2
   }
]
type
string
"compilation"

Annotation

Field
Data Type
Example
accountentityid
string
authorreference
authorstring
string
baseid
string
createddate
number
entityid
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
text
string
"undefined"
time
number
updateddate
number

Artists

Field
Data Type
Description
Example
accountentityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an"
entityid
string
Internal index used by digi.me
"19_xqonjx408hdv0e8upnvqg98an_60CQNohiJxVssiJysT2XOB"
followerscount
number
2244
genres
string
[
   "croatian pop",
   "yugoslav rock"
]
id
string
"60CQNohiJxVssiJysT2XOB"
link
string
"https://open.spotify.com/artist/60CQNohiJxVssiJysT2XOB"
name
string
"Magazin"
popularity
number
34
resources
Internal Object reference
[
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 640,
      "mimetype": "application/octet-stream",
      "type": 0,
      "url": "https://i.scdn.co/image/1cc518fa0f772b75a58b095000d02cc9f026841b",
      "width": 640
   },
   {
      "aspectratio": {
         "accuracy": 100,
         "actual": "1:1",
         "closest": "1:1"
      },
      "height": 300,
      "mimetype": "application/octet-stream",
      "type": 0,
      "url": "https://i.scdn.co/image/21fe53f2d40ae957445fa7fb0df576a6e10ed282",
      "width": 300
   }
]

Aspect Ratio

Field
Data Type
Description
Example
accuracy
number
100
actual
string
"1:1"
closest
string
"1:1"

Categories

Field
Data Type
Description
Example
codings
Internal Object reference
[
   {
      "code": "vital-signs",
      "display": "Vital Signs"
   }
]
text
string
"Vital Signs"

Category

Field
Data Type
Description
Example
codings
Internal Object reference
[
   {
      "system": "http://argonaut.hl7.org",
      "code": "problem",
      "display": "Problem"
   }
]
name
string
"Problem"

Codeable Concept

Field
Data Type
Example
accountentityid
string
baseid
string
coding
[
   {
      "code": "40707",
      "display": "eye exam",
      "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.696580"
   }
]
createddate
number
entityid
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
text
string
"eye exam"
updateddate
number

Coding

Field
Data Type
Example
accountentityid
string
baseid
string
code
string
"40707"
createddate
number
display
string
"eye exam"
entityid
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
system
string
"urn:oid:1.2.840.114350.1.13.0.1.7.2.696580"
updateddate
number
userselected
boolean
version
string

Codings

Field
Data Type
Description
Example
code
string
"tempreture"
display
string
"Lkamshiti"
system
string
"6"

Communication

Field
Data Type
Example
accountentityid
string
baseid
string
createddate
number
entityid
string
language
preferred
boolean
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
updateddate
number

Component

Field
Data Type
Example
accountentityid
string
baseid
string
createddate
number
entityid
string
referenceentityid
string
referenceentitytype
number
socialnetworkuserentityid
string
updateddate
number
valuequantity

Contact

Field
Data Type
Example
accountentityid
string
address
baseid
string
createddate
number
entityid
string
gender
string
name
organization
period
referenceentityid
string
referenceentitytype
number
relationship
socialnetworkuserentityid
string
telecom
updateddate
number

Contact Point