Download OpenAPI specification:
Managry API handles the management of time, attendance, and expenses. It's a backend service for the Current Timesheets and Traverse applications.
Authentication is the process of verifying the identity of a user. This process is necessary to ensure that the user is who they claim to be.
Authenticate a user and return a token for future requests
User credentials
email required | string |
password required | string |
{- "email": "string",
- "password": "string"
}
{- "idToken": "string"
}
Commands are the primary way to interact with the system. All changes to the system, including entities, are made through commands.
This endpoint receives a command and applies it to the system.
There are many types of commands, each with its own set of parameters. The command type is specified in the mime type of the request. Therefore, the endpoint supports many mime types. The command parameters are specified in the request body.
dateTime required | string <date-time> The time when the command was created. This is the local time on the device in UTC format. It might differ from server time. |
blobId required | string <uuid> |
fileName required | string |
ownerEntityType required | string |
ownerEntityId required | string <uuid> |
bytes required | string <byte> |
{- "dateTime": "2019-08-24T14:15:22Z",
- "blobId": "0f49f85e-7d44-46b5-bdff-ecf86c7fc0da",
- "fileName": "string",
- "ownerEntityType": "string",
- "ownerEntityId": "6da7bd98-1f0e-4b09-9a16-e8663f1e0b04",
- "bytes": "string"
}
{- "id": 0,
- "name": "string",
- "tag": "string"
}
Entities are the primary way to interact with the system. All data in the system is stored in entities. Entities are created, updated, and deleted through commands.
List all entities of a given type. The entities are returned in a paginated list. The list is sorted by the entity's server time.
entityName required | string Enum: "AttendanceTenant" "AttendanceUser" Name of the entity to retrieve. |
{- "code": "string",
- "message": "string"
}
Get an entity by its ID.
entityName required | string Enum: "AttendanceTenant" "AttendanceUser" Name of the entity to retrieve. |
entityId required | string The id of the entity to retrieve |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "serverTime": "2019-08-24T14:15:22Z",
- "stableHashCode": 0,
- "deleteTime": "2019-08-24T14:15:22Z",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "fileName": "string",
- "ownerEntityType": "string",
- "ownerEntityId": "6da7bd98-1f0e-4b09-9a16-e8663f1e0b04",
- "sizeInBytes": 0,
- "pictureWidth": 0,
- "pictureHeight": 0,
- "bytes": "string"
}