Identification Bot

File-reference

For users from group robot endpoint api/1.0/verify will return details information. Request looks like:

GET /api/1.0/verify?id=14360570 HTTP/1.0
Authorization: Basic cm9ib3Q6cm9ib3Q=
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "meta": {
    "sourceDate": "2017-04-25T11:56:36+00:00",
    "detailsSourceDate": ["2017-04-25T11:56:36+00:00"]
  },
  "data": [{
    "additionalActivityKinds": [
      {
        "scheme": "КВЕД",
        "id": "64.92",
        "description": "Інші види кредитування"
      },
      {
        "scheme": "КВЕД",
        "id": "64.99",
        "description": "Надання інших фінансових послуг (крім страхування та пенсійного забезпечення), н. в. і. у."
      },
      {
        "scheme": "КВЕД",
        "id": "66.11",
        "description": "Управління фінансовими ринками"
      },
      {
        "scheme": "КВЕД",
        "id": "66.12",
        "description": "Посередництво за договорами по цінних паперах або товарах"
      },
      {
        "scheme": "КВЕД",
        "id": "66.19",
        "description": "Інша допоміжна діяльність у сфері фінансових послуг, крім страхування та пенсійного забезпечення"
      }
    ],
    "management": "ЗАГАЛЬНІ ЗБОРИ",
    "name": "ПАТ КБ \"ПРИВАТБАНК\"",
    "registrationStatusDetails": "зареєстровано",
    "registrationStatus": "registered",
    "identification": {
      "scheme": "UA-EDR",
      "id": "14360570",
      "legalName": "АКЦІОНЕРНЕ ТОВАРИСТВО КОМЕРЦІЙНИЙ БАНК \"ПРИВАТБАНК\""
    },
    "address": {
      "postalCode": "49094",
      "countryName": "УКРАЇНА",
      "streetAddress": "Дніпропетровська обл., місто Дніпропетровськ, Жовтневий район"
    },
    "founders": [
      {
        "role_text": "засновник",
        "role": 4,
        "name": "АКЦІОНЕРИ - ЮРИДИЧНІ ТА ФІЗИЧНІ ОСОБИ"
      }
    ],
    "activityKind": {
      "scheme": "КВЕД",
      "id": "64.19",
      "description": "Інші види грошового посередництва"
    }
  }]
}

File-reference name is edr_identification.yaml and is uploaded to tenders with status ` active.pre-qualification` and procurementMethodType: aboveThresholdEU, competitiveDialogueUA, competitiveDialogueEU and tender with status active.qualification with procurementMethodType: aboveThresholdUA, aboveThresholdUA.defense, aboveThresholdEU, competitiveDialogueUA.stage2, competitiveDialogueEU.stage2. Field identifier.scheme should have value UA-EDR. File-reference is uploaded to award/qualification with pending status and contains field documentType: registerExtract. If identifier:id is not found in EDR, then file will include next error {error: {code: notFound, errorDetails: Couldn’t find this code in EDR.}}.

File-reference also includes service information in meta.

  • author - author of file-reference, have value IdentificationBot,
  • id - unique identifier of file-reference,
  • sourceDate - creation date,
  • sourceRequests - list of request numbers to API, EDR-proxy,
  • version - file-reference format version.

Value meta.version now have value 1.1.1. First number - major version (delete field, rename, remove), second number - minor version (add field), third number - bugfix version (changes that do not change fields, but fix bugs). For example, changing of file-reference name from edr_request.yaml to edr_identification.yaml increased first number(major version), adding meta.author field increased second number (minor version).

Change value of meta.version filed to 1.2.1 after adding fields to file-reference:

  • registrationStatusDetails - text state of the entity (uk),
  • registrationStatus - text state of the entity.