ЕСОЗ - публічна документація
Get Contract List tests
n/n | description | inputs | expected result | actual result | expected result GraphQl | actual result GraphQl |
---|---|---|---|---|---|---|
GCL1 | Get list without scopes |
| 403 | 403 | ||
GCL2 | Get list by NHS ADMIN SIGNER |
| return all contracts | 200, return all contracts | ||
GCL3 | Get list by contractor owner |
| return contracts within legal entity | return contracts within legal entity | ||
GCL4 | Get list by status |
| return contracts with input status | 200, return contracts with input status | filtered by status | status - done |
GCL5 | Get list by contractor_legal_entity_id |
| return contracts with input contractor_legal_entity_id | return contracts with input contractor_legal_entity_id | ||
GCL6 | Get list by contractor_owner_id |
| return contracts with input contractor_owner_id | 200, return contracts with input contractor_owner_id | ||
GCL7 | Get list by contract_number |
| return contracts with input contract_number | 200, return contracts with input contract_number | filtered by contractNumber | contractNumber - done |
GCL8 | Get list by nhs_signer_id |
| returGet Contract List testsn contracts with input nhs_signer_id | return contracts with input nhs_signer_id | ||
GCL9 | Get list by edrpou |
| return contracts with input edrpou | return contracts with input edrpou | filtered by contractorLegalEntity.edrpou | filtered by contractorLegalEntity.edrpou |
GCL10 | Get list by is_suspended |
| return contracts with input is_suspended | return contracts with input is_suspended | filtered by is_suspended | filtered by is_suspended |
GCL11 | Get list by date_from_start_date and date_to_start_date |
| return contracts with input dates | return contracts with input dates | filtered by startDate | filtered by startDate - done |
GCL12 | Get list by date_from_end_date and date_to_end_date |
| return contracts with input dates | return contracts with input dates | filtered by endDate | filtered by endDate - done |
GCL13 | Get list databaseID |
| filtered by by databaseID | databaseID - done | ||
GCL14 | Get list legalEntityRelation |
| filtered by legalEntityRelation | legalEntityRelation - done | ||
GCL15 | Get list ordered by ContractOrderBy |
| OrderBy: CONTRACTOR_LEGAL_ENTITY_EDRPOU_ASC | OrderBy: CONTRACTOR_LEGAL_ENTITY_EDRPOU_ASC - 500 | ||
- |
ЕСОЗ - публічна документація