Cryos API documentation - Mock Data

Cryos API mock data refers to dummy data that mimics the structure and format of the actual data that the APIs would return. Instead of having general mock data, we are creating tailored mock data aimed for your specific needs. The reason is that not every EMR vendors needs is the same, and therefore to better meet your requirements, we create tailored mock data.

Here are some key aspects of API mock data:

  1. Purpose:

    • Development: Developers use mock data to simulate API responses and test how the frontend of an application interacts with the backend before the actual API is implemented.

    • Testing: Quality assurance (QA) teams use mock data to perform tests on various scenarios and ensure that the application behaves as expected.

  2. Format:

    • Structured Data: The mock data is structured in the same way as the real Cryos API responses. It includes similar data types, nested structures, and formats.

    • Variety: It should cover a range of scenarios, including successful responses, error responses, and edge cases. Although right now we have a success response, and will provide with more examples.

  3. Content:

    • Realistic Values: While the data may be dummy, it often contains real data in some form, but since we cannot provide with a real world example data wise due to sensitive data, we provide made up data.

  4. Generation:

    • Automated Tools: There are tools available that can generate mock data based on API specifications or JSON schemas, providing a quicker and more standardized approach.

  5. Endpoints and Routes:

    • Matching API Endpoints: Mock data is organized to match the endpoints and routes of the actual API, allowing developers to simulate different API calls.

Below here you will see an example of the JSON output from the test API for donor data - be aware this is just test data

We at Cryos knows that every EMR system is not the same, and the same goes for handling and integrating data. As mentioned, our mock data is custom made, tailored to your specific needs. When we start the work we will discuss what you need for your prior development, task breakdowns, test cases etc. And we will quickly provide this for you.