POST ...
...
Authorization: You must be logged in to view this information
...
Parameter | API | Beschreibung |
---|---|---|
encoding | all |
Dateiformat Possible values: UTF-8 (standardmäßig), ISO-8859-1, ...
|
clear_items_not_modified | items | Clear automatically items? Possible values:
Standardmäßig: false
|
replace_users_association | users |
Replace clients/users associations oder add only new clients/users associations? Possible values: 0 oder 1
Standardmäßig: 0
|
POST /api/items?encoding=UTF-8&clear_items_not_modified=true HTTP/1.1
...
data...
POST /api/items HTTP/1.1 Host: account.mydsomanager.com ... Authorization: You must be logged in to view this information ... "item_type";"item_number";"client_code";"item_date_issue";"item_date_due";"item_amount_initial_inc_tax";"item_currency" "FAC";"00000123";"C0001";"2022-08-16";"2022-08-23";"6 580,10";"USD" ...
Spalten | Beschreibung |
---|---|
client_address_city | Adresse (Ort) |
client_address_country | Adresse (Land) |
client_address_postbox | Adresse (Postfach) |
client_address_state | Adresse (Bundesland) |
client_address_street | Adresse (Straße) |
client_address_street_line2 | Adresse (Straße Line 2) |
client_address_street_line3 | Adresse (Straße Line 3) |
client_address_street_number | Adresse (n° Straße) |
client_address_zip | Adresse (PLZ) |
client_blocked |
Konto gesperrt (Ja / Nein) Possible values: 0, 1 (standardmäßig: 0 <=> Nein) |
client_blocked_date |
Konto gesperrt / Datum Datumsformat: YYYY-MM-DD |
client_business_line | Branche |
client_business_name * | Firma / Firmenname |
client_code * | Kundennummer |
client_comments | Kommentare |
client_commercial_email | Verkaufsmanager / Email |
client_commercial_fax | Verkaufsmanager / Fax |
client_commercial_firstname | Verkaufsmanager / Vorname |
client_commercial_lastname | Verkaufsmanager / Nachname |
client_commercial_phone | Verkaufsmanager / Telefon |
client_commercial_phone_cell | Verkaufsmanager / Mobiltelefon |
client_credit_limit | Risiko / Kreditlimit |
client_email | |
client_fax | Fax |
client_group |
Gruppen List of customer groups separated by commas |
client_guarantee_insurer | Risiko / Garantie des Versicherers |
client_guarantee_insurer_reference | Risiko / Versicherungsreferenz |
client_guarantee_score | Risiko / Rating Creditreform |
client_guarantee_temporary | Risiko / Temporäre Garantie |
client_guarantee_temporary_date_end | Risiko / Temporäre Garantie / Enddatum |
client_guarantee_temporary_date_start | Risiko / Temporäre Garantie / Startdatum |
client_guarantee_type | Risiko / Garantietyp |
client_guarantees_currency | Risiko / Währung der Garantien |
client_id | LEI-Code |
client_order_backlog | Auftragsportfolio |
client_others_guarantees | Risiko / Andere Garantien |
client_payment_mean | Zahlungsmittel |
client_payment_term | Zahlungsfrist |
client_phone | Telefon |
client_phone_cell | Mobiltelefon |
client_siret |
Siret (for French companies) |
client_trading_name | Handelsname |
client_unique_key | Unique client identifier |
client_url | Webseite |
client_vat | Steuernummer |
POST /api/clients HTTP/1.1 Host: account.mydsomanager.com ... Authorization: You must be logged in to view this information ... "client_business_name";"client_code";"client_id";"client_address_country" "My company";"C0001";"FR12345678";"France" ...
Spalten | Beschreibung |
---|---|
client_code * | Kundennummer |
contact_collection |
Kontakt für Mahnungen (Ja / Nein) Possible values: 0, 1 (standardmäßig: 0 <=> Nein) |
contact_comments | Kommentare |
contact_email | |
contact_fax | Fax |
contact_firstname | Vorname |
contact_lastname * | Nachname |
contact_phone | Telefon |
contact_phone_cell | Mobiltelefon |
contact_role |
Rolle Possible values:
|
contact_title | Anrede (Herr, Frau ...) |
contact_unique_key | Unique contact identifier |
POST /api/contacts HTTP/1.1 Host: account.mydsomanager.com ... Authorization: You must be logged in to view this information ... "contact_firstname";"contact_lastname";"contact_role";"client_code" "Mike";"Jackson";"other";"C0001" ...
Spalten | Beschreibung |
---|---|
client_code * | Kundennummer |
user_email | |
user_firstname | Vorname |
user_lastname * | Nachname |
POST /api/users HTTP/1.1 Host: account.mydsomanager.com ... Authorization: You must be logged in to view this information ... "user_firstname";"user_lastname";"client_code" "John";"Roy";"C0001" ...
Bereich | Beschreibung |
---|---|
success | Indicates if the import was done successfully Possible values: true, false
|
error_code | Error code (if there was an error) Possible values: ACCESS_DENIED, CSV_EMPTY, CSV_BAD_SYNTAX, ...
|
error_description | Error message (if there was an error) |
exception_lines | Lines ignored (not defined if no lines ignored) |
nb_client_added | Kunden hinzugefügt |
nb_client_modified | Kunden aktualisiert |
nb_contact_added | Kontakte hinzugefügt |
nb_item_added | Buchungsposten hinzugefügt |
nb_item_modified | Buchungsposten aktualisiert |
nb_user_added | Users added |
nb_user_modified | Users updated |
{ "success": "true", "nb_client_added": 0, "nb_client_modified": 0, "nb_contact_added": 0, "nb_item_added": 5, "nb_item_modified": 2, "nb_user_added": 0, "nb_user_modified": 0, "exception_lines": { "line 3": "Column count doesn't match (defined=8, found=10)", }, }