| GET | /api/workflowtransitions/{TransitionID}/getusersandgroups |
|---|
"use strict";
export class UserOrGroup {
/** @param {{ID?:number,Title?:string,IsChecked?:boolean,Image?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ID;
/** @type {string} */
Title;
/** @type {boolean} */
IsChecked;
/** @type {string} */
Image;
}
export class QuickAddOption {
/** @param {{Name?:string,EntityType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Name;
/** @type {string} */
EntityType;
}
export class UsersOrGroupsResponse {
/** @param {{NumberOfAllRecords?:number,UsersOrGroups?:UserOrGroup[],QuickAddOptions?:QuickAddOption[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
NumberOfAllRecords;
/** @type {UserOrGroup[]} */
UsersOrGroups;
/** @type {QuickAddOption[]} */
QuickAddOptions;
}
export class GetUsersAndGroupsForTransition {
/** @param {{TransitionID?:string,PageSize?:number,PageNumber?:number,SearchCriteria?:string,SelectedUserIDs?:number[],SelectedGroupIDs?:number[]}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description ID of the transition */
TransitionID;
/** @type {number} */
PageSize;
/** @type {number} */
PageNumber;
/** @type {string} */
SearchCriteria;
/** @type {number[]} */
SelectedUserIDs;
/** @type {number[]} */
SelectedGroupIDs;
}
JavaScript GetUsersAndGroupsForTransition 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.
GET /api/workflowtransitions/{TransitionID}/getusersandgroups HTTP/1.1
Host: dogw.klokgroep.nl
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"NumberOfAllRecords":0,"UsersOrGroups":[{}],"QuickAddOptions":[{"Name":"String","EntityType":"String"}]}