Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


n/n
description
inputs
expected result GraphQlactual result GraphQl
GDL1Get list without scopes
  • token
missing allowance declaration:read"exception": {
"missingAllowances": [
"declaration:read"
]
}
}
GDL1.1Get attached documents without scope declaration_documents:read
  • token
missing allowance declaration_documents:read200"missingAllowances": [
"declaration_documents:read"]
GDL2Get list by doctor 
  • doctor token
401, Invalid access tokenFORBIDDEN, Client is not allowed to access this source
GPL3Get list with scope
  • token
200200
GPL4Get list without  Filter
  • token
get all declarations in status pending_verificationget all declarations in status pending_verification
GPL5Get list with  PendingDeclarationFilter
  • token
  • "filter": {
    "reason": "NO_TAX_ID"
    }
get only declarations with reason='no_tax_id'get only declarations with reason='no_tax_id'
GPL6Get list by ordered by order by 
  • token
  • order by 

    REASON_ASC

    REASON_DESC
    START_DATE_ASC
    START_DATE_DESC
    STATUS_ASC
    STATUS_DESC


  • INSERTED_AT_ASC
    INSERTED_AT_DESC

  • order by 

    REASON_ASC

    REASON_DESC
    START_DATE_ASC
    START_DATE_DESC
    STATUS_ASC
    STATUS_DESC

  • order by 

    REASON_ASC

    REASON_DESC

should add 
  • START_DATE_ASC
    START_DATE_DESC
    STATUS_ASC
    STATUS_DESC

INSERTED_AT_ASC
INSERTED_AT_DESC

GP7Get Declaration Details by globally unique ID 

token

id

get details by ID

get details by ID

can't receive documents as receive an error 

<Error>
<Code>ExpiredToken</Code>
<Message>The provided token has expired.</Message>
<Details>
Request signature expired at: 2019-01-22T14:29:54+00:00
</Details>
</Error>