AlphaAlpha Docs
API ReferenceHr employee location

Upload a batch of GPS locations

POST
/hr/location/batch
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/hr/location/batch" \  -H "Content-Type: application/json" \  -d '{    "locations": [      {        "latitude": 0.1,        "longitude": 0.1,        "timestamp": "2019-08-24T14:15:22Z"      }    ]  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}