Intro
# API Endpoint :
https://api.tacares.io/
The TA Cares API provides programmatic access to read Insurance Claim data.
To use this API, you need a token. Please register with us at https://api.tacares.io/Admin/signup.aspx to get your own api credentials.
Claim Details
# jQuery Example :
function GetClaimData() {
$.ajax({
type: "POST",
url: "https://api.tacares.io/Vendors/TAAPI/TAAPI.aspx/GetClaimDetails",
data: '{"ClaimNumber":"< claim number >","AdjusterID":"< adjuster id >"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
beforeSend: function (xhr) {
xhr.setRequestHeader('Authorization', "Basic " + < your token >);
},
success: function (data) {
alert(data.d + "\n\n\n");
},
error: function (msg) {
msg = "There is an error";
alert(msg);
}
});
}
To get a claim you need to make a POST call to the following url :
https://api.tacares.io/Vendors/TAAPI/TAAPI.aspx/GetClaimDetails
HEADER PARAMETERS
| Name |
Type |
Value |
| Token |
varchar(50) |
(required) < your token > |
BODY PARAMETERS
| Name |
Type |
Value |
| Claim Number |
nvarchar(25) |
(one required) < claim number > |
| Adjuster ID |
nvarchar(10) |
(one required) < adjuster id > |
TRY IT!
Results
# Result Example :
{
"ClaimID":1341344
}
PROPERTIES
| Name |
|
Type |
| ClaimID |
|
varchar(50) |
Errors
The TA API uses the following error codes:
| Error Code |
Meaning |
| 400 |
Bad Request – Your request sucks |
| 401 |
Unauthorized – Your API secret_key is wrong |
| 403 |
Forbidden – The claim requested is hidden for administrators only |
| 404 |
Not Found – The specified claim could not be found |
| 405 |
Method Not Allowed – You tried to access a claim with an invalid method |
| 406 |
Not Acceptable – You requested a format that isn’t json |
| 410 |
Gone – The claim requested has been removed from our servers |
| 418 |
I’m a little teapot |
| 429 |
Too Many Requests – You’re requesting too many claims! Slow down! |
| 500 |
Internal Server Error – We had a problem with our server. Try again later. |
| 503 |
Service Unavailable – We’re temporarially offline for maintanance. Please try again later. |