| Requires the role: | Admin | Requires the permission: | ReadData |
| GET | /stig/history |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
open class StigHistoryRequest
{
var fullPhoneNumber:String? = null
var skip:Int? = null
var take:Int? = null
var includeHolds:Boolean? = null
}
open class StigHistoryResult
{
var fullPhoneNumber:String? = null
var known:Boolean? = null
var items:ArrayList<StigHistoryEntry> = ArrayList<StigHistoryEntry>()
var totalCount:Int? = null
var skip:Int? = null
var take:Int? = null
var statusCode:Int? = null
var message:String? = null
}
open class StigHistoryEntry
{
var id:Int? = null
var kind:String? = null
var label:LocalizedMessage? = null
var amount:Int? = null
var affectsBalance:Boolean? = null
var eventId:Int? = null
var eventName:String? = null
var eventTimeUtc:Date? = null
var ownerId:Int? = null
var ownerName:String? = null
var ticketId:Int? = null
var orderReference:String? = null
var sourceAmountMinor:Int? = null
var multiplierBasisPoints:Int? = null
var campaignCode:String? = null
var status:String? = null
var createdUtc:Date? = null
var note:String? = null
}
open class LocalizedMessage
{
@SerializedName("is") var Is:String? = null
var en:String? = null
}
Kotlin StigHistoryRequest 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.
GET /stig/history HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<StigHistoryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<FullPhoneNumber>String</FullPhoneNumber>
<Items>
<StigHistoryEntry>
<AffectsBalance>false</AffectsBalance>
<Amount>0</Amount>
<CampaignCode>String</CampaignCode>
<CreatedUtc>0001-01-01T00:00:00</CreatedUtc>
<EventId>0</EventId>
<EventName>String</EventName>
<EventTimeUtc>0001-01-01T00:00:00</EventTimeUtc>
<Id>0</Id>
<Kind>String</Kind>
<Label>
<En>String</En>
<Is>String</Is>
</Label>
<MultiplierBasisPoints>0</MultiplierBasisPoints>
<Note>String</Note>
<OrderReference>String</OrderReference>
<OwnerId>0</OwnerId>
<OwnerName>String</OwnerName>
<SourceAmountMinor>0</SourceAmountMinor>
<Status>String</Status>
<TicketId>0</TicketId>
</StigHistoryEntry>
</Items>
<Known>false</Known>
<Message>String</Message>
<Skip>0</Skip>
<StatusCode>0</StatusCode>
<Take>0</Take>
<TotalCount>0</TotalCount>
</StigHistoryResult>