TEC Mailing Solutions LLC (WS) |
Version 6.0 |
5/22/2024 |
Removes an Origin Entry Point for use by the logged in user.
Document
The input of this method is the argument RemoveOriginEntryPointRequestMessage having the structure defined by the following table.
Name | Type | Occurs | Nillable? | Description |
---|---|---|---|---|
RemoveOriginEntryPointRequest | RemoveOriginEntryPointRequest | 0..1 | Yes |
The output of this method is the argument RemoveOriginEntryPointResponseMessage having the structure defined by the following table.
Name | Type | Occurs | Nillable? | Description |
---|---|---|---|---|
RemoveOriginEntryPointResponse | RemoveOriginEntryPointResponse | 0..1 | Yes |
removes an origin entry point from a user account
C# Example
--------------------------------------------------------------------------------
public class Results
{
public Boolean valid;
public string response;
}
public Results RemoveOriginEntryPoint(string authcookie, string originentrypointticket)
{
Results responsedata = new Results();
using (AdminServiceClient adminServiceClient = new AdminServiceClient())
{
using (OperationContextScope scope = new OperationContextScope(adminServiceClient.InnerChannel))
{
OperationContext.Current.SetOutgoingCookies(authcookie);
Guid ticket = new Guid(originentrypointticket);
RemoveOriginEntryPointRequest request = new RemoveOriginEntryPointRequest();
request.OriginEntryPointTicket=ticket;
try
{
RemoveOriginEntryPointResponse response = adminServiceClient.RemoveOriginEntryPoint(request);
responsedata.valid = true;
responsedata.response = "";
return responsedata;
}
catch (Exception ex)
{
responsedata.valid = false;
responsedata.response = ex.Message;
return responsedata;
}
}
}
}