import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetJsonPicklistItems : JsonDto()
{
open var TemplateGuid:String? = null
open var Guid:String? = null
open var Answers:HashMap<String,String>? = null
}
open class JsonDto
{
}
open class JsonPicklistItemsResponse : JsonDto()
{
open var Guid:String? = null
open var Items:ArrayList<JsonPicklistItem>? = null
}
open class JsonPicklistItem
{
open var Key:String? = null
open var Value:String? = null
}
Kotlin GetJsonPicklistItems DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetJsonPicklistItems HTTP/1.1
Host: dmsshow.kyocerasolutions.cz
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TemplateGuid: String,
Guid: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Guid: String,
Items:
[
{
Key: String,
Value: String
}
]
}