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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

Version 1 Next »

Purpose

This service is designed to obtain list of contract_requests by NHS employee.

Overview

  1. only nhs employee with scope "contract_requests:read" can get list of contract_requests
  2. list of contract_request could be filtered
  3. 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

validate status

  • status=new

validate changed fields

  • issue_city - місце укладання
  • nhs_base - що діє на підставі

  • price - Загальна орієнтовна Ціна Договору
  • status



 


Response

  • No labels