Beispielanfrage
GET https://api.jupiter-erp.com/api/account/files
Code
curl -X GET 'https://api.jupiter-erp.com/api/account/files' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| folder_id | query | nein | Filter by folder ID |
| inbox | query | nein | Selects only inbox files |
| trash | query | nein | Selects only deleted files |
| category | query | nein | Supports SQL-like syntax: - `test*`: begins with `test` - `*test`: ends with `test` - `*test*`: contains `test` - `test`: exact match. |
| date_from | query | nein | Search from date |
| date_to | query | nein | Search to date |
| contact_id | query | nein | Filter by contact ID |
| file_name | query | nein | Supports SQL-like syntax: - `test*`: begins with `test` - `*test`: ends with `test` - `*test*`: contains `test` - `test`: exact match. |
| created_user_id | query | nein | Filter by user ID |
| created_at_from | query | nein | Search from created_at |
| created_at_to | query | nein | Search to created_at |
| order_by | query | nein | Sort by a specific field |
| #/components/parameters/OrderDirParameter | |||
| #/components/parameters/PerPageParameter | |||
| #/components/parameters/PageParameter | |||
Antworten
200OK
ModellListFiles200Response
| Feld | Typ | Beschreibung | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data* | object[] | array Elemente
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta* | object |
|
Beispiel Response
{
"data": [
{
"id": 0,
"category": "string",
"date": "string",
"reference_number": "string",
"protected": true,
"new": true,
"file_name": "string"
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1,
"items_from": 1,
"items_to": 1
}
}Files