| GET | /links/ |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class MicrositeDataRequest
{
}
open class MicrositeDataResponse
{
open var linkData:ArrayList<LinkData>? = null
open var Status:Response? = null
}
open class LinkData
{
open var LinkID:Int? = null
open var LinkText:String? = null
open var LinkUrl:String? = null
}
open class Response
{
open var Code:String? = null
open var Message:String? = null
}
Kotlin MicrositeDataRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /links/ HTTP/1.1 Host: webservices.mbukdatabase.co.uk Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"linkData":[{"LinkID":0,"LinkText":"String","LinkUrl":"String"}],"Status":{"Code":"String","Message":"String"}}