ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

n/ndescriptioninputsexpected result
actual result
CCR1Create Contract Request
  • owner_token
  • json include
    • contractor_employee_divisions
    • external_contractors
    • external_contractors_flag
200, created contract request
CCR2Create contract request without external_contractors_flag and with external_contractors
  • owner_token
  • json include
    • contractor_employee_divisions
    • external_contractors
422, external_contractors_flag
CCR3Create Contract Request with doctor_token
  • doctor_token
  • json 
403, invalid access token
CCR4Create contract request without scope
  • owner_token
403
CCR5Create contract request with owner in other legal entity
  • another owner_token
  • json
403
CCR6Create contract request with DISMISSED owner
  • owner_token - status='DISMISSED'
422
CCR7Create contract request with info from nhs side
  • json
422
CCR8contract request with invalid start_datestart_date='2020-01-01'422
CCR9contract request with invalid end_dateend_date='2020-12-01'422
CCR10Contractor_employee_division with dismissed doctorcontractor_employee_divisions.employee_id.status='DISMISSED'422, employee
CCR11Contractor_employee_division with inactive divisioncontractor_employee_divisions.division_id.status=INACTIVE422, division
CCR12Contractor_employee_division with doctor and different division

contractor_employee_divisions:

  • employee_id doesn't match division_id
422
CCR12Update contract using contract_numberactive contract by contract_number

CCR12Update contract using terminated contract_numberterminated contract by contract_number422
CCR13Create Contract Request within same dates as existing contract request
  • start_date & end_date as start_date and end_date existing NEW/APPROVED request
200, previous request is terminated
CCR14Create Contract Request within same dates as existing contract request
  • start_date & end_date as start_date and end_date existing SIGNED request
200, previous request in status=SIGNED





  • No labels