docs.bingli.io Open in urlscan Pro
54.167.136.12  Public Scan

URL: https://docs.bingli.io/
Submission: On December 04 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (5)

 * Body
 * Headers (4)




Public


Documentation Settings

ENVIRONMENT
No Environment

LAYOUT
Double Column

LANGUAGE
cURL - cURL



Bingli documentation
Introduction
Authentication
Patient
Organisation
Create survey


BINGLI DOCUMENTATION

Welcome to the Bingli API Integration Guide.

This document is designed to provide a comprehensive guide for individuals and
organizations seeking to integrate with Bingli's advanced API services. Bingli
offers a seamless and efficient way for healthcare providers and systems to
enhance patient engagement and streamline medical consultations through digital
surveys and patient information management


AUTHENTICATION


KEY PARAMETERS OVERVIEW

Integrating with the Bingli API involves a series of parameters that must be
correctly configured to ensure a successful and seamless integration. This
section provides an overview of all the essential parameters you will need to
set up and utilize the Bingli API effectively.


ESSENTIAL PARAMETERS FOR INTEGRATION

   

 * Tenant Reference (Tenant_ID):
   
     
   * Description: A unique identifier provided by Bingli for each tenant.
     
   * Usage: Used in API requests to link the data to the specific tenant.
     
   * Example: 3955a7c5-5804-4bab-bfb0-c1aac4f12f5a
     
   

 * User/password:
   
     
   * Description: A user account with password for request a valid JWT token
     
   * Usage: Required for authentication in API requests.
     
   

 * Healthcare Service ID (HCS_ID):
   
     
   * Description: A unique identifier for each healthcare service or category
     provided by an organization.
     
   * Usage: Used to specify the particular service in API requests.
     
   * Note: This is unique per tenant
     
   

 * Patient Information:
   
     
   
   * Fields:
     
       
     * Gender (e.g., "m" for male)
       
     * First Name (e.g., "John")
       
     * Last Name (e.g., "Doe")
       
     * Email (e.g., "john.doe@email.com")
       
     * Phone Number (e.g., "+32471234567")
       
     
   
   * Description: Basic information about the patient.
   
     
   
   * Note: Mandatory fields for proper display in the dashboard and Multi-Factor
     Authentication (MFA) are First Name, Last Name, and Phone Number.
   
     
   




POSTFETCH BEARER TOKEN

https://app-boss-test.azurewebsites.net/security-api/token

Purpose: This endpoint is integral for secure access, facilitating user
authentication and token generation within our system.EndFragment

HEADERS
Content-Type

application/json

Accept

application/json

Bodyraw (json)
json


{
  "credentialType": 10,
  "account": <EMAIL>,
  "credential": <PASSWORD>,
  "tenantId": <TENANTID>
}

Example Request
Success JWT

curl


curl --location -g '{{bossurl}}/security-api/token' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
  "credentialType": 10,
  "account": <EMAIL>,
  "credential": <PASSWORD>,
  "tenantId": <TENANTID>
}'

200 OK
Example Response
 * Body
 * Headers (5)

View More
json


{
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJCaW5nbGkiLCJpYXQiOiIxNjg0ODM1MTIzLjU5ODA3MjgiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IldpemFyZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJXaXphcmQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJXaXphcmQiLCJVc2VySWQiOiIwOTY0NWMwNC1lZjRmLTQwMDQtYWQ4MS0xZTA1OTM4NTA2MTkiLCJVc2VyUmlnaHRzIjoiMDEwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwiVGVuYW50SWQiOiIiLCJIZWFsdGhDYXJlU2VydmljZUlkIjoiIiwiQ2xpZW50SWQiOiJCaW5nbGlVbml2ZXJzZSIsImV4cCI6MTY4NDg3ODMyMywiaXNzIjoiaHR0cHM6Ly9hcHAtYm9zcy10ZXN0LmF6dXJld2Vic2l0ZXMubmV0IiwiYXVkIjoiTXlCaW5nbGkifQ.Ob95u_0cA_cwoM5_h_JDbyaTJUo2ujIYYJROewarY7Q",
    "refreshToken": "IuTLeBgFB3IxnZPmpsVP0KtK5grlsuLWNSwBtmeTRVIQf12BxsTZdGuYOzRyIfjvvTsKCOzyYWKXrtbMNvZLA"
  },
  "responseType": 200,
  "responseMessages": [
    "Sucessfully created Bingli.Core.Data.Security.JwtToken"
  ]
}

Content-Type

application/json; charset=utf-8

Date

Tue, 23 May 2023 09:45:23 GMT

Server

Kestrel

Transfer-Encoding

chunked

Request-Context

appId=cid-v1:5f968d63-16b7-4b62-80da-910bf8dc4f4e

PATIENT




POSTCREATE PATIENT


https://app-fhirgateway-test.azurewebsites.net/tenant-api/patient
AUTHORIZATIONBearer Token
Token

<token>

HEADERS
Content-Type

application/fhir+json

Bodyraw (json)
View More
json


{
    "resourceType": "Patient",
    "id": "PATIENT0",
    "language": "nl-BE",
    "identifier": [
        {
            "system": "http://rrn.fgov.be/be-rrn",
            "value": "RRN"
        },
        {
            "system": "https://fhir.tenant.com/ns/hospital-patient-number",
            "value": "HOSPITALNR"
        }
    ],
    "name": [
        {
            "family": "Rousseau",
            "given": [
                "Francis"
            ]
        }
    ],
    "telecom": [
        {
            "system": "email",
            "value": "frr@mybingli.com"
        },
        {
            "system": "sms",
            "value": "+32 471 810 697"
        }
    ],
    "gender": "male",
    "birthDate": "2000-01-01"
}

Example Request
Create patient

View More
curl


curl --location 'https://app-fhirgateway-test.azurewebsites.net/tenant-api/patient' \
--header 'Content-Type: application/fhir+json' \
--data-raw '{
    "resourceType": "Patient",
    "id": "1564103c-7821-4820-928b-72cc07db8580",
    "language": "nl-BE",
    "identifier": [
        {
            "system": "http://rrn.fgov.be/be-rrn",
            "value": "RRN"
        },
        {
            "system": "https://fhir.tenant.com/ns/hospital-patient-number",
            "value": "HOSPITALNR"
        }
    ],
    "name": [
        {
            "family": "Rousseau",
            "given": [
                "Francis"
            ]
        }
    ],
    "telecom": [
        {
            "system": "email",
            "value": "frr@mybingli.com"
        },
        {
            "system": "sms",
            "value": "+32 471 810 697"
        }
    ],
    "gender": "male",
    "birthDate": "2000-01-01"
}'

200 OK
Example Response
 * Body
 * Headers (4)

View More
json


{
  "resourceType": "Patient",
  "id": "1564103c-7821-4820-928b-72cc07db8580",
  "language": "nl-BE",
  "identifier": [
    {
      "system": "http://rrn.fgov.be/be-rrn",
      "value": "RRN"
    },
    {
      "system": "https://fhir.tenant.com/ns/hospital-patient-number",
      "value": "HOSPITALNR"
    }
  ],
  "name": [
    {
      "family": "Rousseau",
      "given": [
        "Francis"
      ]
    }
  ],
  "telecom": [
    {
      "system": "email",
      "value": "frr@mybingli.com"
    },
    {
      "system": "sms",
      "value": "+32 471 810 697"
    }
  ],
  "gender": "male",
  "birthDate": "2000-01-01"
}

Content-Length

623

Content-Type

application/fhir+json

Date

Mon, 04 Dec 2023 12:17:12 GMT

Server

Kestrel