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

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

« Previous Version 2 Next »

n/ndescriptioninputsexpected_resultactual_result
1GET LE by Id without scopeinvalid token
id
200,  "code": "FORBIDDEN",
"message": "Your scope does not allow to access this resource"

2GET LE with not valid tokeninvalid token
id
401, 
"error": {
"message": "Invalid access token",
"type": "access_denied"
}
401, 
"error": {
"message": "Invalid access token",
"type": "access_denied"
}
3GET LE by invalid ID (global)token
invalid id
not found
4GET LE by valid ID (global)


5GET LE by EDRPOUtoken
fields
"message": "Cannot query field \"fieldName\" on type \"LegalEntityMergeJob\"
6GET LE by invalid EDRPOU


7GET LE by non-existing EDRPOU
not found
8GET list of LE

token

fields

200, data
9GET list of LE filtered by nhsVerifiedtoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by nhsVerified
10GET list of LE filtered by areatoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by area
11GET list of LE filtered by settlementtoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by settlement 
12Sort list of LE by LegalEntityOrderBy

token, 
fields,
LegalEntityMergeJobOrderBy

200, sorted by LegalEntityMergeJobOrderBy

  • EDRPOU_ASC
  • EDRPOU_DESC
  • INSERTED_AT_ASC
  • INSERTED_AT_DESC
  • NHS_VERIFIED_ASC
  • NHS_VERIFIED_DESC
  • STATUS_ASC
  • STATUS_DESC

13GET LE List  by valid ID (database)token, 
fields,
LegalEntityMergeJobFilter
200, data filtered by databaseId
14GET LE List  by not valid ID (database)GET LE List  by valid ID (database)not found
  • No labels