Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Specification

Apiary

WS logic

  1. Only authenticated and authorized user can use this service

  2. Deleted records won't be shown in response

Authentication

  1. Verify the validity of api-key

    1. Return 401 in case validation fails

  2. Check scopes in order to perform this action (scope = 'private_mis_contracts:read')

    1. Return 403 in case invalid scope(s)

Process

  1. Show requested contract. If requested contract was deleted (is_active = false) or not exist, show 404 Not found instead