Developing a JSON API for 1C-Bitrix

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1183
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    813
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    657
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

Development of JSON:API for 1C-Bitrix

JSON:API is a specification for building consistent REST APIs using JSON. It standardizes request/response formats, error handling, relationships, and pagination, enabling better client-server interaction. Implementing JSON:API for 1C-Bitrix provides predictable, well-documented API contracts.

JSON:API Specification Compliance

Resource Objects: Bitrix entities (deals, contacts) represented with id, type, and attributes.

Relationships: Links between resources expressed as relationships with data member containing resource identifiers.

Error Handling: Standardized error responses with code, title, detail, and status.

Pagination: Consistent pagination using page[number] and page[size] parameters.

Implementation Structure

Define resource types, attributes, and relationships. Implement handlers for GET, POST, PATCH, DELETE operations.

Advantages

  • Standardization: Spec eliminates ambiguity in API design.
  • Tooling: Libraries and client code generation available.
  • Documentation: Clients know expected formats.

When to Use

Use JSON:API when implementing REST APIs consumed by third-party developers needing predictable contracts. For simple internal APIs, JSON:API may add unnecessary complexity.