TicketUserServices

<back to all web services

SharedTicketLinkResendRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/SharedTicketLink/Resend
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class SharedTicketLinkResendRequest
    {
        public String token = null;
        public Integer id = null;
        
        public String getToken() { return token; }
        public SharedTicketLinkResendRequest setToken(String value) { this.token = value; return this; }
        public Integer getId() { return id; }
        public SharedTicketLinkResendRequest setId(Integer value) { this.id = value; return this; }
    }

    public static class SharedTicketLinkResendResult
    {
        public Boolean success = null;
        public String token = null;
        public String url = null;
        public Date validTo = null;
        public String status = null;
        public String recipientEmail = null;
        public String recipientPhone = null;
        public Integer statusCode = null;
        public String message = null;
        
        public Boolean isSuccess() { return success; }
        public SharedTicketLinkResendResult setSuccess(Boolean value) { this.success = value; return this; }
        public String getToken() { return token; }
        public SharedTicketLinkResendResult setToken(String value) { this.token = value; return this; }
        public String getUrl() { return url; }
        public SharedTicketLinkResendResult setUrl(String value) { this.url = value; return this; }
        public Date getValidTo() { return validTo; }
        public SharedTicketLinkResendResult setValidTo(Date value) { this.validTo = value; return this; }
        public String getStatus() { return status; }
        public SharedTicketLinkResendResult setStatus(String value) { this.status = value; return this; }
        public String getRecipientEmail() { return recipientEmail; }
        public SharedTicketLinkResendResult setRecipientEmail(String value) { this.recipientEmail = value; return this; }
        public String getRecipientPhone() { return recipientPhone; }
        public SharedTicketLinkResendResult setRecipientPhone(String value) { this.recipientPhone = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public SharedTicketLinkResendResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public SharedTicketLinkResendResult setMessage(String value) { this.message = value; return this; }
    }

}

Java SharedTicketLinkResendRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /SharedTicketLink/Resend HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	success: False,
	token: String,
	url: String,
	validTo: 0001-01-01,
	status: String,
	recipientEmail: String,
	recipientPhone: String,
	statusCode: 0,
	message: String
}