Versions Compared

Key

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


n/ndescriptioninputsexpected resultactual resultexpected_result
graphQL
actual_result
graphQL
GCRL1Get list without scopes
  • token
403403
{
"extensions": {
"code": "FORBIDDEN",
"exception": {
"missingAllowances": [
"contract_request:read"
]}},
"message": "Current client is not allowed to access this resource",
"path": [
"contractRequests"
]}
{
"extensions": {
"code": "FORBIDDEN",
"exception": {
"missingAllowances": [
"contract_request:read"
]}},
"message": "Current client is not allowed to access this resource",
"path": [
"contractRequests"
]}
GCRL2Get list by NHS ADMIN SIGNER
  • token
return all requests200, return all requestsfiltered datafiltered data
GCRL3Get list by contractor owner
  • token
return requests within legal entity200, return requests within legal entity
"message": "Invalid access token",
"type": "access_denied"
"message": "Invalid access token",
"type": "access_denied"
GCRL4Get list by status
  • token
return requests with input status200, return requests with input statusdata filtered by statusdata filtered by status
GCRL5Get list by contractor_legal_entity_id
  • token
return requests with input contractor_legal_entity_id200, return requests with input contractor_legal_entity_id

GCRL6Get list by contractor_owner_id
  • token
return requests with input contractor_owner_id200, return requests with input contractor_owner_id

GCRL7Get list by contract_number
  • token
return requests with input contract_number200, return requests with input contractor_numberdata filtered by statusdata filtered by status
GCRL8Get list by nhs_signer_id
  • token
return requests with input nhs_signer_id200, return requests with input nhs_signer_id

GCRL9Get list by issue_city
  • token
return requests with input issue_city200, return requests with input issue_city

GCRL10Get list by ContractRequestFilter
  • databaseId
  • contractorLegalEntityedrpou
  • startDateFrom
  • startDateTo
  • endDateFrom
  • endDateTo
  • assigneeId
  • assigneeName
  • token
  • ContractRequestFilter


Get list filtered by ContractRequestFilter
  • databaseId
  • contractorLegalEntityedrpou
  • startDateFrom
  • startDateTo
  • endDateFrom
  • endDateTo
  • assigneeId
  • assigneeName
Get list filtered by ContractRequestFilter
  • databaseId - not done
  • contractorLegalEntityedrpou - 500 (internal error)
  • "startDate": "2018-01-01/2018-02-01" 
  • "endDate": "2018-01-01/2018-02-01"
  • assigneeId - done
  • assigneeName  - done

    in case dates like 2018-03-01/2018-02-01 - 500 

GCRL11

Get list by ContractRequestOrderBy

  • END_DATE_ASC
  • END_DATE_DESC
  • INSERTED_AT_ASC
  • INSERTED_AT_DESC
  • START_DATE_ASC
  • START_DATE_DESC
  • STATUS_ASC
  • STATUS_DESC
  • token
  • ContractRequestOrderBy


Get list  ordered by ContractRequestOrderBy

  • END_DATE_ASC
  • END_DATE_DESC
  • INSERTED_AT_ASC
  • INSERTED_AT_DESC
  • START_DATE_ASC
  • START_DATE_DESC
  • STATUS_ASC
  • STATUS_DESC

Get list  ordered by ContractRequestOrderBy

  • END_DATE_ASC - done
  • END_DATE_DESC - done
  • INSERTED_AT_ASC - ? should add to schema 
  • INSERTED_AT_DESC - ? should add to schema
  • START_DATE_ASC - done
  • START_DATE_DESC - done
  • STATUS_ASC - 500
  • STATUS_DESC -done

...