For the complete documentation index, see llms.txt. This page is also available as Markdown.

Punch

This page includes all endpoints available for the categories of Logiciel Actif.

List all punch

GET https://app.gem-books.com/api/punch

This endpoint allows you to get the list of your categories.

Headers

Name
Type
Description

Authentication*

string

Bearer Token

Accept

string

Should be application/json

{
  "data": [
    {
      "id": 2504,
      "appointment_id": 909,
      "user_id": 205,
      "date": "2026-08-18",
      "start_time": "08:43:20",
      "end_time": null,
      "ptotal": "0.00",
      "note": null,
      "system_id": 99125
    },
  "success": true
}

Retrieve a specific sale product

GET https://app.gem-books.com/api/categories/:id

This endpoint allows you to get one specific category.

Path Parameters

Name
Type
Description

id

integer

The ID of the category to retrieve.

Headers

Name
Type
Description

Authentication*

string

Bearer Token

Accept

string

Should be application/json

Create a punch

POST https://app.gem-books.com/api/punch

Headers

Name
Type
Description

Authentication

string

Bearer Token

Content-type

string

Should be application/json

Accept

string

Should be application/json

Request Body

Name
Type
Description

user_id

int

User id

date

date

Date of the punch

start_time

time

Start of punch (HH:MM)

end_time

time

End of punch (HH:MM)

Body Example

Update a punch

PUT https://app.gem-books.com/api/punch/:id

This endpoint allows you to update a specific punch. Returns the updated punch.

Path Parameters

Name
Type
Description

id

integer

Punch ID to update.

Headers

Name
Type
Description

Authentication

string

Bearer Token

Content-Type

string

Should be application/json

Accept

string

Should be application/json

Body Example

Last updated