Trendsic Platform Service

<back to all web services

QuoteScopeRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/project/{ProjectUID}/quote-scope

export class QuoteScopeItem
{
    public ItemType: string;
    public SourceRefId?: number;
    public JobID?: number;
    public JobName: string;
    public Name: string;
    public Quantity?: number;
    public UnitPrice?: number;

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

export class QuoteScopeResponse
{
    public ResponseStatus: ResponseStatus;
    public ScopeItems: QuoteScopeItem[] = [];

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

export class QuoteScopeRequest
{
    public ProjectUID: string;

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

TypeScript QuoteScopeRequest 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/project/{ProjectUID}/quote-scope HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ScopeItems":[{"ItemType":"String","SourceRefId":0,"JobID":0,"JobName":"String","Name":"String","Quantity":0,"UnitPrice":0}]}