Benachrichtigung Upload VerwahrungsApp
This commit is contained in:
@@ -88,7 +88,8 @@ Namespace ApiController.Controllers
|
||||
If result = "OK" Then
|
||||
response = Request.CreateResponse(HttpStatusCode.OK, "Die Dokumente wurden erfolgreich hochgeladen.")
|
||||
|
||||
|
||||
Dim avisoObjekt As cAviso
|
||||
avisoObjekt = cAviso.getAvisoById(avisoId)
|
||||
' Benachrichtigung senden
|
||||
Dim code As Integer = cAvisoBenachrichtigungenCodes.Verwahrung_Foto
|
||||
Dim TXT_Titel As String = "Verwahrung Foto hinzugefügt"
|
||||
@@ -99,10 +100,11 @@ Namespace ApiController.Controllers
|
||||
sendungsId,
|
||||
TXT_Titel,
|
||||
TXT_Mitteilung,
|
||||
code
|
||||
code,
|
||||
avisoObjekt.FIRMA
|
||||
)
|
||||
|
||||
If benachrichtigungErfolg Then
|
||||
If benachrichtigungErfolg <> False Then
|
||||
response = Request.CreateResponse(HttpStatusCode.OK, "Die Benachrichtigung wurde gesendet.")
|
||||
Else
|
||||
response = Request.CreateResponse(HttpStatusCode.OK, "Die Dokumente wurden erfolgreich hochgeladen, aber die Benachrichtigung konnte nicht gesendet werden.")
|
||||
|
||||
Reference in New Issue
Block a user