DigiOffice Gateway Web Services

<back to all web services

GetSideStepDetails

Requires Authentication
"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 User extends UserOrGroup {
    /** @param {{Image?:string,ID?:number,Title?:string,IsChecked?:boolean,Image?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {string} */
    Image;
}
export class Group extends UserOrGroup {
    /** @param {{Image?:string,ID?:number,Title?:string,IsChecked?:boolean,Image?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {string} */
    Image;
}
export class WorkflowTaskDelay {
    /** @param {{DelayDate?:string,Reason?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?string} */
    DelayDate;
    /** @type {string} */
    Reason;
}
export class WorkflowTaskReason {
    /** @param {{Reason?:string,Required?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Reason;
    /** @type {boolean} */
    Required;
}
export class WorkflowTaskAdhocTransition {
    /** @param {{ID?:string,Title?:string,AssignmentAllowed?:boolean,AssignmentRequired?:boolean,UserEnvironment?:number,Users?:User[],Groups?:Group[],Delay?:WorkflowTaskDelay,Reason?:WorkflowTaskReason,UsersOrGroups?:UserOrGroup[],Value?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ID;
    /** @type {string} */
    Title;
    /** @type {boolean} */
    AssignmentAllowed;
    /** @type {boolean} */
    AssignmentRequired;
    /** @type {number} */
    UserEnvironment;
    /** @type {User[]} */
    Users;
    /** @type {Group[]} */
    Groups;
    /** @type {WorkflowTaskDelay} */
    Delay;
    /** @type {WorkflowTaskReason} */
    Reason;
    /** @type {UserOrGroup[]} */
    UsersOrGroups;
    /** @type {string} */
    Value;
}
export class AdhocTransitionDetails {
    /** @param {{AdhocTransitions?:WorkflowTaskAdhocTransition[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {WorkflowTaskAdhocTransition[]} */
    AdhocTransitions;
}
export class WorkflowTaskActionComment {
    /** @param {{Comment?:string,Required?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Comment;
    /** @type {boolean} */
    Required;
}
export class SideStepDetails extends AdhocTransitionDetails {
    /** @param {{Coordinator?:User,Comment?:WorkflowTaskActionComment,Urgent?:boolean,AdhocTransitions?:WorkflowTaskAdhocTransition[]}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {User} */
    Coordinator;
    /** @type {WorkflowTaskActionComment} */
    Comment;
    /** @type {boolean} */
    Urgent;
}
export class GetSideStepDetails {
    /** @param {{ProcessID?:number,WorkflowTaskID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    ProcessID;
    /** @type {number} */
    WorkflowTaskID;
}

JavaScript GetSideStepDetails DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetSideStepDetails HTTP/1.1 
Host: test-dogw.klokgroep.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ProcessID":0,"WorkflowTaskID":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Coordinator":{"Image":"Icons/User","ID":0,"Title":"String","IsChecked":false},"Comment":{"Comment":"String","Required":false},"Urgent":false,"AdhocTransitions":[{"ID":"00000000-0000-0000-0000-000000000000","Title":"String","AssignmentAllowed":false,"AssignmentRequired":false,"UserEnvironment":0,"Users":[{"Image":"Icons/User","ID":0,"Title":"String","IsChecked":false}],"Groups":[{"Image":"Icons/Group","ID":0,"Title":"String","IsChecked":false}],"Delay":{"DelayDate":"0001-01-01T00:00:00.0000000","Reason":"String"},"Reason":{"Reason":"String","Required":false},"UsersOrGroups":[{"__type":"IDB.API.DTO.User, IDB.API.DTO","Image":"Icons/User","ID":0,"Title":"String","IsChecked":false},{"__type":"IDB.API.DTO.Group, IDB.API.DTO","Image":"Icons/Group","ID":0,"Title":"String","IsChecked":false}],"Value":"String\r\nString"}]}