Trendsic Platform Service

<back to all web services

FormGoAudienceRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/go-audience
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class FormGoAudienceRequest
    {
        public virtual Guid FormUID { get; set; }
    }

    public partial class FormGoAudienceResponse
    {
        public virtual string Audience { get; set; }
        public virtual List<FormGoPosition> Positions { get; set; } = [];
        public virtual int Workers { get; set; }
        public virtual int Seeing { get; set; }
        public virtual int Submitted { get; set; }
        public virtual string Note { get; set; }
        public virtual string Empty { get; set; }
        public virtual ResponseStatus ResponseStatus { get; set; }
    }

    public partial class FormGoPosition
    {
        public virtual string SkillUID { get; set; }
        public virtual string Name { get; set; }
        public virtual bool Active { get; set; }
        public virtual bool Ticked { get; set; }
        public virtual int Count { get; set; }
    }

}

C# FormGoAudienceRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}}}