Versions Compared

Key

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


n/n
description
inputs
expected_result
actual_result
GCE1Get Contract employees without scope
  • HR owner access_token
  • contract_id
  • 403
403, Your scope does not allow to access this resource. Missing allowances: contract:read
GCE2Get Contract employees by contract which doesn't exist
  • HR accessowner access_token
  • contract_id
  • 404
404, not found
GCE3Get Contract employees by contract which doesn't belong to MSP  
  • HR accessowner access_token
  • contract_id
  • 403
403, You are not allowed to view this contract
GCE4Get Contract employees by contract with nhs_access token 
  • NHS access_token
  • contract_id
  • 200
200
GCE5Get  contract employees by contract with status TERMINATED 
  • NHS access_token
  • contract_id
  • 200
200
GCE6Get employees filtered  by is_avaliableactive=true 
  • HR access_token
  • contract_id
  • 200,
  • respond contains data according to apiary
200, return available employees
GCE7Get employees filtered by is_avaliableactive=false 
  • HR access_token
  • contract_id
  • 200,
  • respond contains data according to apiary
200, return not available employees
GCE8Get employees filtered by employee_id 
  • HR access_token
  • contract_id
  • 200,
  • respond contains data according to apiary
200, return employees by employee_id
GCE9Get employee filtered by division_id
  • HR access_token
  • contract_id
  • 200,
  • respond contains data according to apiary
200, return employees by division_id