whoami #
Use a whoami
call to make sure the connection is working.
Who am I? #
Checks the connection to the API and returns the name and other information about the authorised user, and the range of claim types available to that user, eg Medicare, DVA etc.
GET
/whoami
#
Endpoint:
{{base_url}}/{{version}}/whoami
Headers:
Header | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer {{oauth_token}} |
Example Request:
curl --location 'https://sandbox.claiming.com.au/v2/whoami' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer '
Example Response:
Body:
{
"authGroup": null,
"vendor": {
"id": XX,
"name": "Dummy Vendor",
"functions": [
"DVA",
"VAA",
"InPatientMedical",
"BulkBill",
"Medicare",
"OEC",
"OVS",
"AIR"
],
"minorIdStems": []
}
}
Headers:
Header | Value |
---|---|
Server | nginx/1.19.3 |
Date | Tue, 08 Jun 2021 04:49:28 GMT |
Content-Type | application/json |
Content-Length | 183 |
Connection | keep-alive |
Access-Control-Allow-Origin | * |
Access-Control-Allow-Methods | GET, POST, OPTIONS |