| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Trainingvideo/{BroadcastId} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Trainingvideo |
"use strict";
export class Trainingvideo {
/** @param {{TrainingvideoId?:number,TrainingvideoTitle?:string,TrainingvideoURL?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
TrainingvideoId;
/** @type {string} */
TrainingvideoTitle;
/** @type {string} */
TrainingvideoURL;
}
export class TrainingvideoResponse {
/** @param {{ResponseStatus?:ResponseStatus,Trainingvideo?:Trainingvideo[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {Trainingvideo[]} */
Trainingvideo = [];
}
export class TrainingvideoRequest {
/** @param {{Trainingvideo?:Trainingvideo[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Trainingvideo[]} */
Trainingvideo = [];
}
JavaScript TrainingvideoRequest DTOs
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/Trainingvideo/{BroadcastId} 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"}},"Trainingvideo":[{"TrainingvideoId":0,"TrainingvideoTitle":"String","TrainingvideoURL":"String"}]}