Generate timeline estimation
Generate a timeline up to a week of the minimum daily amount required to meet the goal.
Query Parameters
Possible values: [QURAN_TIME
, QURAN_PAGES
, QURAN_RANGE
, COURSE
]
The type of the goal.
The amount of the goal. Depending on the goal type, the amount value and format will be different
Possible values: >= 1
The duration of the goal in days. If it's empty it means the goal is a daily goal and not duration-based.
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
, 11
, 19
]
The id of the Mushaf being used.
1 = QCFV2
2 = QCFV1
3 = Indopak
4 = UthmaniHafs
5 = KFGQPCHAFS
6 = Indopak15Lines
7 = Indopak16Lines
11 = Tajweeed
19 = QCFTajweedV4
Header Parameters
The current timezone of the user. Not providing the value might affect the accuracy of how we calculate days and streaks.
- 200
- 403
- 404
- 422
- 500
Request has been handled successfully.
Schema
- Array [
- ]
data object
week object[]
The date of the estimated day
amount object required
The amount of the day's goal.
string
The amount of the day's goal.
integer
The amount of the day's goal.
{
"success": true,
"data": {
"week": [
{
"date": "2023-01-21T07:28:13.023Z",
"amount": "1:5-1:10"
}
]
}
}
Forbidden error. Can either be due to access token not being passed, having been expired or the caller trying to access a resource without enough permissions.
Schema
error object
{
"success": false,
"error": {
"code": "ForbiddenError",
"message": "Token expired"
}
}
Not Found. The resource being accessed does not exist.
Schema
error object
{
"success": false,
"error": {
"code": "NotFoundError",
"message": "The resource you're looking for does not exist"
}
}
Validation Error. The request includes one or more invalid params. Please check the request params and try again.
Schema
error object
{
"success": false,
"error": {
"code": "ValidationError",
"message": "`id` is required"
}
}
Server Error. Something went wrong, try again later.
Schema
error object
{
"success": false,
"error": {
"code": "ServerError",
"message": "Something went wrong"
}
}