update 20250728

This commit is contained in:
Stefan Hutter
2025-07-28 18:45:01 +02:00
parent 2237be483d
commit e33c7ede5b
65 changed files with 436 additions and 212 deletions

View File

@@ -12,6 +12,7 @@ using System.Security.Cryptography;
using Newtonsoft.Json;
using System.Net.Mail;
using System.Net.Http;
using System.Diagnostics;
@@ -63,6 +64,7 @@ namespace OnDoc_Paketversand
Model.Versandpaket vp = JsonConvert.DeserializeObject<Model.Versandpaket>(dr[1].ToString());
Logging.VersandstrasseLog.Info("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Start Versand");
string jsonstring = dr[1].ToString();
Console.WriteLine(jsonstring);
string URL = URLBase + dr[0].ToString();
WebRequest request;
var data = Encoding.UTF8.GetBytes(jsonstring);

View File

@@ -11,9 +11,10 @@ namespace Model
public string bezeichnung { get; set; }
public string PaketNr { get; set; }
public string Versandoption { get; set; }
public string Mitteilung { get; set; }
public string Mitteilung { get; set; } = "";
public string GAS { get; set; }
public string GASAdresse { get; set; }
public string GASSize { get; set; }
public bool verified { get; set; } = false;
public int partnernr { get; set; } = 0;
public bool send_onbase_doc { get; set; }