| GET | /v1/forms/go-audience |
|---|
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type FormGoPosition() =
member val SkillUID:String = null with get,set
member val Name:String = null with get,set
member val Active:Boolean = new Boolean() with get,set
member val Ticked:Boolean = new Boolean() with get,set
member val Count:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type FormGoAudienceResponse() =
member val Audience:String = null with get,set
member val Positions:ResizeArray<FormGoPosition> = new ResizeArray<FormGoPosition>() with get,set
member val Workers:Int32 = new Int32() with get,set
member val Seeing:Int32 = new Int32() with get,set
member val Submitted:Int32 = new Int32() with get,set
member val Note:String = null with get,set
member val Empty:String = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
[<AllowNullLiteral>]
type FormGoAudienceRequest() =
member val FormUID:Guid = new Guid() with get,set
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"}}}