administration - trashed
Testing Env
https://testhr.vodoglobal.com
Testing Env
https://testhr.vodoglobal.com
GET
/api/v1/trashed/administration
Last modified:2025-03-26 12:40:51
GET
request to /api/v1/trashed/administration
endpoint retrieves trashed administration data. The response is a JSON object with a status
field indicating the success status, a message
field for any additional information, and a response
field containing an array of trashed administrations along with pagination details.{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"response": {
"type": "object",
"properties": {
"administrations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"company_id": {
"type": "string"
},
"company_name": {
"type": "string"
},
"calendar_id": {
"type": "string"
},
"calendar_name": {
"type": ["string", "null"]
},
"active": {
"type": "string"
},
"type": {
"type": "string"
},
"activation_date": {
"type": "string"
},
"deactivation_date": {
"type": "string"
},
"latitude": {
"type": ["number", "null"]
},
"longitude": {
"type": ["number", "null"]
}
},
"required": ["id", "image", "name", "company_id", "company_name", "calendar_id", "active", "type", "activation_date", "deactivation_date"]
}
},
"pagination": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"per_page": {
"type": "integer"
},
"current_page": {
"type": "integer"
},
"last_page": {
"type": "integer"
},
"from": {
"type": "integer"
},
"to": {
"type": "integer"
}
},
"required": ["total", "per_page", "current_page", "last_page", "from", "to"]
}
},
"required": ["administrations", "pagination"]
}
},
"required": ["status", "response"]
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://testhr.vodoglobal.com/api/v1/trashed/administration' \
--header 'uuid: 630ca2f4885f8' \
--header 'secure_business_key: 4765066450c0bd66325.48403130'
Response Response Example
{
"status": true,
"message": "success",
"response": {
"administrations": [
{
"id": 127,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "Human Resources 1",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": "328,330,331",
"calendar_name": null,
"active": "yes",
"type": "sub",
"activation_date": "2024-12-26",
"deactivation_date": "2025-12-31",
"latitude": null,
"longitude": null
},
{
"id": 72,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "اداره تيست",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 70,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test admin 10",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": "22",
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": "2024-10-15",
"deactivation_date": "2024-10-30",
"latitude": null,
"longitude": null
},
{
"id": 68,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "teest1",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "sub",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 63,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test administration",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "sub",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 62,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test admin",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": "259",
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": "2024-09-22",
"deactivation_date": "2024-10-22",
"latitude": null,
"longitude": null
},
{
"id": 57,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "no",
"type": "sub",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 54,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 52,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
},
{
"id": 51,
"image": "https://testhr.vodoglobal.com/data/employee/profile/user.png",
"name": "test",
"company_id": "259",
"company_name": "تجريبى فودو",
"calendar_id": null,
"calendar_name": null,
"active": "yes",
"type": "main",
"activation_date": null,
"deactivation_date": null,
"latitude": null,
"longitude": null
}
],
"pagination": {
"total": 17,
"per_page": 10,
"current_page": 1,
"last_page": 2,
"from": 1,
"to": 10
}
}
}
Request
Query Params
keyword
string
optional
Example:
tes
company_id
string
optional
Example:
4
admin_id
string
optional
Example:
8
per_page
string
optional
Example:
12
Header Params
uuid
string
required
Example:
{{uuid}}
secure_business_key
string
required
Example:
{{secure_business_key}}