Beispielanfrage
POST https://api.jupiter-erp.com/api/account/text-templates
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/text-templates' \
-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",
"type": "document",
"document_type": "all",
"position": "subject",
"is_default": true,
"visible_for_me": true,
"content": "string"
}'Request Body
Optional
| Feld | Typ | Beschreibung |
|---|---|---|
| content* | string | — |
| document_type | string | string
|
| is_default | boolean | — |
| name* | string | — |
| position* | string | string
|
| type* | string | string
|
| visible_for_me | boolean | — |
Beispiel Request
{
"name": "string",
"type": "document",
"document_type": "all",
"position": "subject",
"is_default": true,
"visible_for_me": true,
"content": "string"
}Antworten
201Created
ModellTextTemplate
| Feld | Typ | Beschreibung |
|---|---|---|
| content* | string | — |
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. |
| document_type | string | string
|
| id* | integer | — |
| is_default | boolean | — |
| name* | string | — |
| position* | string | string
|
| type* | string | string
|
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
| visible_for_me | boolean | — |
Beispiel Response
{
"id": 0,
"name": "string",
"type": "document",
"document_type": "all",
"position": "subject",
"is_default": true,
"content": "string"
}TextTemplates