n/n | description | inputs | expected_result | actual_result |
---|---|---|---|---|
1 | GET LE by Id without scope | invalid token id | 200, "code": "FORBIDDEN", "message": "Your scope does not allow to access this resource" | |
2 | GET LE with not valid token | invalid token id | 401, "error": { "message": "Invalid access token", "type": "access_denied" } | 401, "error": { "message": "Invalid access token", "type": "access_denied" } |
3 | GET LE by invalid ID (global) | token invalid id | not found | |
4 | GET LE by valid ID (global) | |||
5 | GET LE by EDRPOU | token fields | "message": "Cannot query field \"fieldName\" on type \"LegalEntityMergeJob\" |
6 | GET LE by invalid EDRPOU |
7 | GET LE by non-existing EDRPOU | not found |
8 | GET list of LE | token fields | 200, data |
9 | GET list of LE filtered by nhsVerified | token, fields, LegalEntityMergeJobFilter | 200, data filtered by nhsVerified |
10 | GET list of LE filtered by area | token, fields, LegalEntityMergeJobFilter | 200, data filtered by |
area |
11 | GET list of LE filtered by settlement | token, fields, LegalEntityMergeJobFilter | 200, data filtered by settlement |
12 | Sort list of LE by LegalEntityOrderBy | token, | 200, sorted by LegalEntityMergeJobOrderBy
|
13 | GET LE List by valid ID (database) | token, fields, LegalEntityMergeJobFilter | 200, data filtered by databaseId | |
14 | GET LE List by not valid ID (database) | GET LE List by valid ID (database) | not found |