10. Dezember 2020

· Whitepaper

DeleteEvent

Inhaltsverzeichnis

xx Kapitel

Löschen eines Events

RequestParameter: DeleteEventRequest
ResponseParameter: DeleteEventResponse

Diese Methode kann zur Löschung eines bestehenden Events verwendet werden. Die Guid der zu löschenden Veranstaltung muss im DeleteEventRequest gesetzt werden.

DeleteEvent

Beispiel Request „Event löschen“

C#

//Create an instance of the service agent.
MailworxWebServiceAgent agent = new MailworxWebServiceAgent();

DeleteEventRequest request = new DeleteEventRequest();
request.EventId = new Guid("595b65b3-2113-455d-b137-3bf2cf73fba4");
request.SecurityContext = GetSecurityContext();

// Delete the event with the given id.
DeleteEventResponse response = agent.DeleteEvent(request);

Console.WriteLine("Successfully deleted the event with the id {0}", request.EventToDelete);

Need Support?

Can't find the answer you're looking for?
Contact Support