Purpose
This service is designed to obtain list of contract_requests by NHS employee.
Overview
- only nhs employee with scope "contract_requests:read" can get list of contract_requests
- list of contract_request could be filtered
- nhs employee can change only some fields in contract - issue_city, nhs_base, price
Specification
- Apiary
- json schema
- websequensediagram
Request
List of contract requests could be filtered by
- id
- legal_entity_id
- contractor_id
- status
- contract_number
Validation
Validate token
- token is active
- token is not expired
validate scopes
- scope = contract_requests:read
validate nhs employee
- is active
- has nhs_le
- nhs_le=client_id in token
Response
list of contract_request