Skip to main content
POST
/
spakinect
/
gfe
/
location
/
{location_id}
/
sync
Sync Gfes
curl --request POST \
  --url https://api.decodahealth.com/spakinect/gfe/location/{location_id}/sync \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "gfesToImport": [
    {
      "spakinectGfeId": "<string>",
      "patientId": "<string>",
      "pdfLink": "<string>"
    }
  ],
  "gfesToCreatePatients": []
}
'
{
  "imported": [],
  "createdWithPatients": [],
  "failed": []
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

location_id
string
required

Body

application/json

Request to sync/import GFEs

gfesToImport
GFESyncImportItem · object[]
required
gfesToCreatePatients
GFESyncCreatePatientItem · object[]

Response

Successful Response

Response from sync import endpoint

imported
GFESyncImportedItem · object[]
createdWithPatients
GFESyncCreatedPatientItem · object[]
failed
GFESyncFailedItem · object[]