Partner Access Information
The following API is used to get the information about the API Key. It will return the list of temple(s) for which the partner has access.
Request parameters
Responses
{
"partner": {
"id": 2,
"partnerName": "Ap Tourism",
"partnerCode": "APT",
"createdAt": "2024-01-09T19:52:38.898Z",
"updatedAt": "2024-01-10T17:27:39.537Z",
"deletedAt": null
},
"permissions": {
"items": [
{
"id": 2,
"permissions": [
"SEVA_ONLINE_BOOKING",
"DARSHANAM_ONLINE_BOOKING"
],
"createdAt": "2024-01-09T19:52:38.918Z",
"updatedAt": "2024-01-09T20:07:07.620Z",
"temple": {
"id": 1,
"shortName": "APEDP",
"name": "AP Endowment Department",
"description": "Andhra Pradesh endowment department",
"logo": "https://sbmsd.fra1.cdn.digitaloceanspaces.com/public/KANIPAKAM-LOGO.JPG"
}
},
{
"id": 3,
"permissions": [
"SEVA_ONLINE_BOOKING",
"DARSHANAM_ONLINE_BOOKING"
],
"createdAt": "2024-01-09T20:07:07.634Z",
"updatedAt": "2024-01-09T20:07:07.634Z",
"temple": {
"id": 2,
"shortName": "Test",
"name": "Test",
"description": "sak mak tuk",
"logo": "https://sbmsd.fra1.digitaloceanspaces.com/public/srisailam_logo.png"
}
}
],
"meta": {
"currentPage": 1,
"itemCount": 2,
"itemsPerPage": 100,
"totalItems": 2,
"totalPages": 1
}
}
}
Last modified: 04 December 2024