~~NOTRANS~~
====== Correspondences ======
===== GET =====
==== Get correspondence via ID ====
''/rest/correspondences/correspondence/__5__''
* Get for correspondence ID 5
== Example result ==
5_7
91
5
92
88
Hallo
hallo_5.xlsx
3
...
===== POST/PUT =====
==== Add a new correspondence ====
''/rest/correspondences/correspondence''
* Add new
== Example request body ==
project=91&type=91&address=92&subject=Hallo&file=/Library/WebServer/Documents/upload1.png
== Example result ==
.../rest/correspondences/correspondence/6
=== Possible values ===
^ Field ^ Description ^ Valid Values ^ German Name ^
^ project | Project ID | required,integer | Projekt |
^ address | Address ID | required,integer | Adresse |
^ type | Correspondence type ID | required,integer | Art |
^ subject | Subject | required | Betrifft |
^ file | File path - Will be copied into the correct place according to project and type ((You can use empty.txt for testing only. This creates an empty file only. From X.1 10196)) | required | Datei |
^ work_area | Optional Work Area ID | integer | Bereich |
^ date | Optional Date | us_date | Datum |
^ staff_id | Optional Staff ID to save for | integer | Mitarbeiter |
^ is_valid | Optional Valid | boolean (true, false) | Gültig |
^ search_text | Optional Search text of document. Will otherwise be read from the document, if possible. | | Text für die Volltextsuche |