Versions Compared

Key

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


n/n
description
inputs
expected result
actual result
expected result GraphQlactual result GraphQl
GCL1Get list without scopes
  • token
403403

GCL2Get list by NHS ADMIN SIGNER
  • token
return all contracts200,  return all contracts

GCL3Get list by contractor owner
  • token
return contracts within legal entityreturn contracts within legal entity

GCL4Get list by status
  • token
return contracts with input status200, return contracts with input statusfiltered by statusstatus - done
GCL5Get list by contractor_legal_entity_id
  • token
return contracts with input contractor_legal_entity_idreturn contracts with input contractor_legal_entity_id

GCL6Get list by contractor_owner_id
  • token
return contracts with input contractor_owner_id200, return contracts with input contractor_owner_id

GCL7Get list by contract_number
  • token
return contracts with input contract_number200, return contracts with input contract_numberfiltered by contractNumbercontractNumber - done
GCL8Get list by nhs_signer_id
  • token
returGet Contract List testsn contracts with input nhs_signer_idreturn contracts with input nhs_signer_id

GCL9Get list by edrpou
  • token
return contracts with input edrpoureturn contracts with input edrpoufiltered by contractorLegalEntity.edrpoufiltered by contractorLegalEntity.edrpou
GCL10Get list by is_suspended
  • token
return contracts with input is_suspendedreturn contracts with input is_suspendedfiltered by is_suspendedfiltered by is_suspended
GCL11Get list by date_from_start_date and date_to_start_date
  • token
return contracts with input datesreturn contracts with input datesfiltered by startDatefiltered by startDate - done
GCL12Get list by date_from_end_date and date_to_end_date
  • token
return contracts with input datesreturn contracts with input datesfiltered by endDatefiltered by endDate - done
GCL13Get list databaseID
  • token


filtered by by databaseIDdatabaseID -  done
GCL14Get list legalEntityRelation
  • token


filtered by legalEntityRelationlegalEntityRelation - done
GCL15Get list  ordered by ContractOrderBy
  • token


OrderBy:

CONTRACTOR_LEGAL_ENTITY_EDRPOU_ASC
CONTRACTOR_LEGAL_ENTITY_EDRPOU_DESC
END_DATE_ASC
END_DATE_DESC
INSERTED_AT_ASC
INSERTED_AT_DESC
IS_SUSPENDED_ASC
IS_SUSPENDED_DESC
START_DATE_ASC
START_DATE_DESC
STATUS_ASC
STATUS_DESC

OrderBy:

CONTRACTOR_LEGAL_ENTITY_EDRPOU_ASC  - 500
CONTRACTOR_LEGAL_ENTITY_EDRPOU_DESC - 500
END_DATE_ASC - done
END_DATE_DESC - done
INSERTED_AT_ASC - done,
INSERTED_AT_DESC - done,
IS_SUSPENDED_ASC - done
IS_SUSPENDED_DESC - done
START_DATE_ASC - done
START_DATE_DESC - done
STATUS_ASC - done
STATUS_DESC - done

-