createMockSDKHealthPackets
Create a maximum of 3 SDK Health packets (one per each request) for the users listed in the request on a given day.
POST
https://iql.zendrive.com/iql/v1/mock-sdk-healths H ‘Authorization: APIKEY <api_key>
Headers
Name
Type
Description
Authorization*
String
APIKEY <api_key>
Request Body
Name
Type
Description
user_ids*
Array
A list of user ids for which mock SDK health is to be created. For example: -["mock_c2c198984bab11ed", “mock_9331acde48001122”]
Maximum length: 5.
date*
String
Format: YYYY-MM-DD. The date should be within the driver activation date and a future date.
is_location_permission_enable
String
Whether the SDK health packet is healthy or not. If the value is true
, then the packet created is
healthy. The default value is false
.
{
// Response
}
Sample Request
{
"user_ids" : ["mock_52c278564dd511edb7f9025911cb366b", “mock_cd474a844dd511ed8b6d025911cb366b”],
"date": "2022-10-15"
}
Sample Response
{
"sdk_health": [
{
"user_id": "mock_52c278564dd511edb7f9025911cb366b",
"timestamp": 1665705600000
},
{
"user_id": "mock_cd474a844dd511ed8b6d025911cb366b",
"timestamp": 1665705600000
}
]
}