| GET,OPTIONS | /v1/projects/{ProjectID}/dbe-eeo |
|---|
export class DbeEeoRow
{
public Label: string;
public ActualValue: number;
public GoalValue: number;
public IsPercent: boolean;
public constructor(init?: Partial<DbeEeoRow>) { (Object as any).assign(this, init); }
}
export class DbeEeoResponse
{
public ResponseStatus: ResponseStatus;
public ProjectID: number;
public Rows: DbeEeoRow[] = [];
public constructor(init?: Partial<DbeEeoResponse>) { (Object as any).assign(this, init); }
}
export class DbeEeoRequest
{
public ProjectID: number;
public Week: string;
public constructor(init?: Partial<DbeEeoRequest>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/projects/{ProjectID}/dbe-eeo 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"}},"ProjectID":0,"Rows":[{"Label":"String","ActualValue":0,"GoalValue":0,"IsPercent":false}]}