Trendsic Platform Service

<back to all web services

FormStartersRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/starters
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 FormStarter() = 
        member val TemplateUID:Guid = new Guid() with get,set
        member val Name:String = null with get,set
        member val Noun:String = null with get,set
        member val NumberPrefix:String = null with get,set
        member val Description:String = null with get,set
        member val Pack:String = null with get,set
        member val PackName:String = null with get,set
        member val IsTenantTemplate:Boolean = new Boolean() with get,set
        member val PayloadJson:String = null with get,set

    [<AllowNullLiteral>]
    type FormStartersResponse() = 
        member val Starters:ResizeArray<FormStarter> = new ResizeArray<FormStarter>() with get,set
        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type FormStartersRequest() = 
        class end

F# FormStartersRequest DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/forms/starters HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Starters":[{"TemplateUID":"00000000000000000000000000000000","Name":"String","Noun":"String","NumberPrefix":"String","Description":"String","Pack":"String","PackName":"String","IsTenantTemplate":false,"PayloadJson":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}