| GET,POST,PUT,DELETE,OPTIONS | /v1/Project/Activities/{ProjectID} |
|---|
"use strict";
export class ProjectActivity {
/** @param {{Id?:number,Name?:string,Type?:string,Status?:string,Note?:string,DateAdded?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
Name;
/** @type {string} */
Type;
/** @type {string} */
Status;
/** @type {string} */
Note;
/** @type {string} */
DateAdded;
}
export class ProjectActivitiesListResponse {
/** @param {{ResponseStatus?:ResponseStatus,ProjectActivities?:ProjectActivity[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {ProjectActivity[]} */
ProjectActivities = [];
}
export class ProjectActivitiesListRequest {
/** @param {{ProjectID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ProjectID;
}
JavaScript ProjectActivitiesListRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/Project/Activities/{ProjectID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ProjectID":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectActivities":[{"Id":0,"Name":"String","Type":"String","Status":"String","Note":"String","DateAdded":"0001-01-01T00:00:00.0000000"}]}