Trendsic Platform Service

<back to all web services

FFFieldRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator, Agent, Administrator, Agent, Administrator
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/FFField/{Id}
GET,POST,PUT,DELETE,OPTIONS/v1/FFField

export class FFField
{
    public Id: string;
    public FFSectionId: string;
    public FieldTypeId: number;
    public x: number;
    public y: number;
    public height: number;
    public width: number;
    public Text: string;

    public constructor(init?: Partial<FFField>) { (Object as any).assign(this, init); }
}

export class FFFieldExtended extends FFField
{
    public Name: string;
    public IsYesNo: boolean;

    public constructor(init?: Partial<FFFieldExtended>) { super(init); (Object as any).assign(this, init); }
}

export class FFFieldResponse
{
    public ResponseStatus: ResponseStatus;
    public FFField: FFFieldExtended[] = [];

    public constructor(init?: Partial<FFFieldResponse>) { (Object as any).assign(this, init); }
}

export class FFFieldRequest
{
    public FFField: FFFieldExtended[] = [];

    public constructor(init?: Partial<FFFieldRequest>) { (Object as any).assign(this, init); }
}

TypeScript FFFieldRequest 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.

POST /v1/FFField/{Id} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"FFField":[{"Name":"String","IsYesNo":false,"Id":"00000000000000000000000000000000","FFSectionId":"00000000000000000000000000000000","FieldTypeId":0,"x":0,"y":0,"height":0,"width":0,"Text":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"FFField":[{"Name":"String","IsYesNo":false,"Id":"00000000000000000000000000000000","FFSectionId":"00000000000000000000000000000000","FieldTypeId":0,"x":0,"y":0,"height":0,"width":0,"Text":"String"}]}