| GET | /v1/forms/go-audience |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class FormGoAudienceRequest
{
open var FormUID:UUID? = null
}
open class FormGoAudienceResponse
{
open var Audience:String? = null
open var Positions:ArrayList<FormGoPosition> = ArrayList<FormGoPosition>()
open var Workers:Int? = null
open var Seeing:Int? = null
open var Submitted:Int? = null
open var Note:String? = null
open var Empty:String? = null
open var ResponseStatus:ResponseStatus? = null
}
open class FormGoPosition
{
open var SkillUID:String? = null
open var Name:String? = null
open var Active:Boolean? = null
open var Ticked:Boolean? = null
open var Count:Int? = null
}
Kotlin FormGoAudienceRequest 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 /v1/forms/go-audience HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Audience":"String","Positions":[{"SkillUID":"String","Name":"String","Active":false,"Ticked":false,"Count":0}],"Workers":0,"Seeing":0,"Submitted":0,"Note":"String","Empty":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}