Trendsic Platform Service

<back to all web services

PmAttentionRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/pm/attention
"use strict";
export class PmAttentionItem {
    /** @param {{ProjectUID?:string,ProjectName?:string,Branch?:string,Category?:string,Severity?:number,Title?:string,Detail?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ProjectUID;
    /** @type {string} */
    ProjectName;
    /** @type {string} */
    Branch;
    /** @type {string} */
    Category;
    /** @type {number} */
    Severity;
    /** @type {string} */
    Title;
    /** @type {string} */
    Detail;
}
export class PmAttentionResponse {
    /** @param {{Items?:PmAttentionItem[],HighCount?:number,MedCount?:number,ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {PmAttentionItem[]} */
    Items = [];
    /** @type {number} */
    HighCount;
    /** @type {number} */
    MedCount;
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class PmAttentionRequest {
    constructor(init) { Object.assign(this, init) }
}

JavaScript PmAttentionRequest 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/pm/attention HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Items":[{"ProjectUID":"String","ProjectName":"String","Branch":"String","Category":"String","Severity":0,"Title":"String","Detail":"String"}],"HighCount":0,"MedCount":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}