Beispielanfrage
POST https://api.jupiter-erp.com/api/account/contact-fields
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/contact-fields' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
],
"default_value": null
}'Request Body
Optional
| Feld | Typ | Beschreibung |
|---|---|---|
| default_value | object | default value |
| description | string | — |
| key* | string | — |
| name* | string | — |
| ordering | integer | — |
| select_values | string[] | array Elemente string |
| type* | string | — |
Beispiel Request
{
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
],
"default_value": null
}Antworten
201Created
ModellContactField
| Feld | Typ | Beschreibung |
|---|---|---|
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. |
| default_value | object | default value |
| description | string | — |
| id* | integer | — |
| key* | string | — |
| name* | string | — |
| ordering | integer | — |
| select_values | string[] | array Elemente string |
| type* | string | — |
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
Beispiel Response
{
"id": 0,
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
]
}ContactFields