From 382f181cedb7cfb3314abfc7b0ab91b58052e4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 14 Aug 2026 11:33:18 +0200 Subject: [PATCH] feat(api): add IncoSheets API endpoints and local environment variables - Introduced 'Get Inco Sheet' and 'List Inco Sheets' endpoints. - Updated local environment variables to include INCOSHEET_ID. --- .../Api/V1/IncoSheets/Get Inco Sheet.yml | 19 +++++++ .../Api/V1/IncoSheets/List Inco Sheets.yml | 57 +++++++++++++++++++ .../Arcadia Api/Api/V1/IncoSheets/folder.yml | 7 +++ .../Arcadia Api/environments/Local Dev.yml | 5 +- 4 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/Get Inco Sheet.yml create mode 100644 documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/List Inco Sheets.yml create mode 100644 documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/folder.yml diff --git a/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/Get Inco Sheet.yml b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/Get Inco Sheet.yml new file mode 100644 index 0000000..212cdea --- /dev/null +++ b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/Get Inco Sheet.yml @@ -0,0 +1,19 @@ +info: + name: Get Inco Sheet + type: http + seq: 2 + +http: + method: GET + url: "{{ENDPOINT}}/api/{{APIV1}}/inco-sheets/:employeeId" + params: + - name: employeeId + value: "{{INCOSHEET_ID}}" + type: path + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 diff --git a/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/List Inco Sheets.yml b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/List Inco Sheets.yml new file mode 100644 index 0000000..e9d7f68 --- /dev/null +++ b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/List Inco Sheets.yml @@ -0,0 +1,57 @@ +info: + name: List Inco Sheets + type: http + seq: 1 + +http: + method: GET + url: "{{ENDPOINT}}/api/{{APIV1}}/inco-sheets?page=1&pageSize=25&sortBy=incoSheetId&sortDirection=Ascending" + params: + - name: page + value: "1" + type: query + description: 1-based page index + - name: pageSize + value: "25" + type: query + description: Number of items per page (max 10000) + - name: offset + value: "0" + type: query + description: Offset for offset-based pagination + disabled: true + - name: limit + value: "25" + type: query + description: Limit for offset-based pagination + disabled: true + - name: since + value: 2026-01-01T00:00:00Z + type: query + description: Filter INCO sheets updated since timestamp (RFC3339) + disabled: true + - name: brands[] + value: M01 + type: query + description: Filter by brand code + disabled: true + - name: short + value: "true" + type: query + description: Return short projection if true + disabled: true + - name: sortBy + value: incoSheetId + type: query + description: "Sort column: incoSheetId, createdAt, updatedAt" + - name: sortDirection + value: Ascending + type: query + description: "Sort direction: Ascending or Descending" + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 diff --git a/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/folder.yml b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/folder.yml new file mode 100644 index 0000000..59cb018 --- /dev/null +++ b/documentation/Bruno/Arcadia Api/Api/V1/IncoSheets/folder.yml @@ -0,0 +1,7 @@ +info: + name: IncoSheets + type: folder + seq: 3 + +request: + auth: inherit diff --git a/documentation/Bruno/Arcadia Api/environments/Local Dev.yml b/documentation/Bruno/Arcadia Api/environments/Local Dev.yml index 3c5d6ce..91b8040 100644 --- a/documentation/Bruno/Arcadia Api/environments/Local Dev.yml +++ b/documentation/Bruno/Arcadia Api/environments/Local Dev.yml @@ -8,4 +8,7 @@ variables: description: "" - name: EMPLOYEE_ID value: "01155902" - description: "Employee public matricule (7-8 digits)" + description: Employee public matricule (7-8 digits) + - name: INCOSHEET_ID + value: "1" + description: Arcadia ID of an IncoSheet