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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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
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

should add 

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>
  • No labels