Versions Compared

Key

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


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\"
5

6GET LE by invalid EDRPOU
6



7GET LE by non-existing EDRPOU
not found
5

8GET list of LE

token

fields

200, data
6

9GET list of LE filtered by nhsVerifiedtoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by nhsVerified
7

10GET list of LE filtered by areatoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by 
are
area
8

11GET list of LE filtered by settlementtoken, 
fields,
LegalEntityMergeJobFilter
200, data filtered by settlement 
9

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
10

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