| Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
| POST | /SharedTicketLink/Extend |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class SharedTicketLinkExtendRequest
{
var token:String? = null
var id:Int? = null
var validToDays:Int? = null
}
open class SharedTicketLinkExtendResult
{
var success:Boolean? = null
var token:String? = null
var url:String? = null
var validTo:Date? = null
var status:String? = null
var recipientEmail:String? = null
var recipientPhone:String? = null
var seatsReblocked:Int? = null
var statusCode:Int? = null
var message:String? = null
}
Kotlin SharedTicketLinkExtendRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SharedTicketLink/Extend HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SharedTicketLinkExtendRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Id>0</Id>
<Token>String</Token>
<ValidToDays>0</ValidToDays>
</SharedTicketLinkExtendRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SharedTicketLinkExtendResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <Message>String</Message> <RecipientEmail>String</RecipientEmail> <RecipientPhone>String</RecipientPhone> <SeatsReblocked>0</SeatsReblocked> <Status>String</Status> <StatusCode>0</StatusCode> <Success>false</Success> <Token>String</Token> <Url>String</Url> <ValidTo>0001-01-01T00:00:00</ValidTo> </SharedTicketLinkExtendResult>