ЕСОЗ - публічна документація

Get Person List/Details GraphQL

n/n
description
inputs
expected result GraphQlactual result GraphQl
GPL1Get list without scopes
  • token
missing allowance person:readmissing allowance person:read
GPL2Get list with scope
  • token
200200
GPL3Get list without Personal Filter
  • token
  • "filter": {
    "documents": {
    "taxId": "3067305998",
    "number": "СМ123321"
    }
    }
"message": "Argument \"filter\" has invalid value $filter.\nIn field \"personal\": Expected type \"PersonPersonalFilter!\", found null.""message": "Argument \"filter\" has invalid value $filter.\nIn field \"personal\": Expected type \"PersonPersonalFilter!\", found null."
GPL4Get list without Document Filter
  • token
  • "filter": {
    "personal": {
    "birthDate": "1989-10-02",
    "authenticationMethod": {
    "phoneNumber": "+380672242252"
    }
    }
    }
"message": "Argument \"filter\" has invalid value $filter.\nIn field \"documents\": Expected type \"PersonDocumentsFilter!\", found null.""message": "Argument \"filter\" has invalid value $filter.\nIn field \"documents\": Expected type \"PersonDocumentsFilter!\", found null."
GPL5Get list by Personal and Documents Filter
  • token
  • "filter": {
    "documents": {
    "taxId": "3067305998",
    "number": "СМ123321"
    },
    "personal": {
    "birthDate": "1989-10-02",
    "authenticationMethod": {
    "phoneNumber": "+380672242252"
    }
    }
    }
filtered by documents and personalfiltered by documents and personal
GPL6Get inactive person by Personal and Documents Filter
  • token
  • filter
nullnull
GPL7Get list person databaseID
  • token
filtered by by databaseID
GPL8Get list  ordered by ContractOrderBy
  • token

OrderBy:

BIRTH_DATE_ASC
BIRTH_DATE_DESC
INSERTED_AT_ASC
INSERTED_AT_DESC
TAX_ID_ASC
TAX_ID_DESC

OrderBy:

BIRTH_DATE_ASC - done
BIRTH_DATE_DESC - done
INSERTED_AT_ASC - done
INSERTED_AT_DESC - done
TAX_ID_ASC - done
TAX_ID_DESC - done

GP9Get Person Details by globally unique ID 

token

id

get details by IDget details by ID

ЕСОЗ - публічна документація