Beispielanfrage
POST https://api.jupiter-erp.com/api/account/file-folders
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/file-folders' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"hex_color": "string",
"parent_id": 0
}'Request Body
Optional
ModellCreateFileFolderRequest
| Feld | Typ | Beschreibung |
|---|---|---|
| hex_color | string | — |
| name* | string | — |
| parent_id | integer | — |
Beispiel Request
{
"name": "string",
"hex_color": "string",
"parent_id": 0
}Antworten
201Created
ModellFileFolder
| Feld | Typ | Beschreibung |
|---|---|---|
| child_folders_count* | integer | — |
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. |
| files_count* | integer | — |
| hex_color | string | — |
| id* | integer | — |
| name* | string | — |
| parent_id | integer | — |
| protected | boolean | — |
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
Beispiel Response
{
"id": 0,
"parent_id": 0,
"name": "string",
"protected": true,
"hex_color": "string",
"files_count": 0,
"child_folders_count": 0
}FileFolders