Beispielanfrage
GET https://api.jupiter-erp.com/api/account/contact-groups
Code
curl -X GET 'https://api.jupiter-erp.com/api/account/contact-groups' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| name | query | nein | Search by name. Supports SQL-like syntax: - `test*`: begins with `test` - `*test`: ends with `test` - `*test*`: contains `test` - `test`: exact match. |
| ids[] | query | nein | — |
| order_by | query | nein | Sort by a specific field |
| #/components/parameters/OrderDirParameter | |||
| #/components/parameters/PerPageParameter | |||
| #/components/parameters/PageParameter | |||
Antworten
200OK
| Feld | Typ | Beschreibung | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data* | object[] | array Elemente
| |||||||||||||||||||||
| meta* | object |
|
Beispiel Response
{
"data": [
{
"id": 0,
"name": "string",
"contacts_count": 0
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1,
"items_from": 1,
"items_to": 1
}
}ContactGroups