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
return
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 contractorLegalEntityEdrpou500,
{
"type": "internal_error"
}
GCL10Get list by is_suspended
  • token
return contracts with input is_suspendedreturn contracts with input is_suspendedfiltered by is_suspendedisSuspended: Boolean 
"message": "Argument \"filter\" has invalid value $filter.\nIn field \"isSuspended\": Expected type \"String\", found true."
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 - not 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  - not done
CONTRACTOR_LEGAL_ENTITY_EDRPOU_DESC - not done
END_DATE_ASC - done
END_DATE_DESC - done
INSERTED_AT_ASC - done, should be added to Contract type
INSERTED_AT_DESC - done, should be added to Contract type
IS_SUSPENDED_ASC - not done
IS_SUSPENDED_DESC. - not done
START_DATE_ASC - done
START_DATE_DESC - done
STATUS_ASC - done
STATUS_DESC - done

-