Reward History

This API provides you with information of rewards that have been awarded to drivers. Rewards are gift cards given to drivers based on their driving behaviour. The API response includes status of the rewards, reward amount, driver names etc.

📘

Sample Request

https://api.azuga.com/azuga-ws/v1/rewards/history.json?fromDate=1448955906000&toDate=1451375106000&status=all

API Response explanation

Field

Description

code

API Status Code

message

API Message

reason

Reason for failure

generatedAtInMillis

API generation timestamp in milliseconds

rewardsHistory

An array of rewardsHistory objects

driverName

Name of the driver

rewardId

Unique identifier of the reward

rewardAmount

Amount that has been rewarded to the driver

rewardSubject

Subject of the Reward

rewardMessage

Message from the supervisor in the reward

brand

Brand at which the reward was redeemed

status

Status of the reward

sentAt

Timestamp at which the reward was sent (in milliseconds)

sender

Sender of the reward

vehicleName

Name of the vehicle

redeemedAt

Timestamp at which the reward was redeemed (in milliseconds)

redemptionCode

Code for redeeming the reward

challengeKey

PIN used for obtaining the redemption code

brandId

Unique identifier of the brand

Language
Credentials
Header
Click Try It! to start a request and see the response here!