GEBenefitsStatus

The GEBenefitsStatus API let's you check the status of a previous submitted patient via GEBenefits API.

You can query using patient ID.

Response:

FieldValue
GeResultsnull if no status is available yet, Yes if the customer is not eligible for Government Benefits and No if the customer is eligible for Government benefits.

Authorization

  • Name
    Bearer Token
    Type
    e865a1e59daa629a8ade53bdae8ae659
    Description

Header

  • Name
    Content-Type
    Type
    application/json
    Description

Body

  • Name
    raw
    Type
    json
    Description

    JSON

    {
      "ServiceName": "GEBenefitsStatus",
      "data": {
          "CustId": "2022040502",
          "ProgramId": "7140"
      }
    }
    

Request

POST
https://YOURENDPOINT.virtualrx.co/jsonapi.php
curl
--location 'https://YOURENDPOINT.virtualrx.co/jsonapi.php' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic WU9VUlVTRVJOQU1FOllPVVJQQVNTV09SRA==' \
--data '{
    "ServiceName": "GEBenefitsStatus",
    "data": {
        "CustId": "2022040502",
        "ProgramId": "7140"
    }
}'

Response200 OK

{
  "ResponseDetails": {
      "ServiceName": "GEBenefitsStatus",
      "SessionId": "lcz5h-41skf-5764t-4oxwn-r6fph",
      "StatusCode": 0,
      "StatusName": "StatusOK",
      "StatusDescription": "NA",
      "ServiceDate": "2022-04-06 07:56:25",
      "ServiceId": "lcz5h-41skf-5764t-4oxwn-r6fph"
  },
  "ResponseParams": {
      "GeResults": "Yes"
  }
}

GEBenefitsStatus