| Requires any of the roles: | Agent, Administrator |
| GET | /v1/FactFillerQueue/{Id}/Complete |
|---|
"use strict";
export class FactFillerQueue {
/** @param {{Id?:string,AttachmentId?:string,AgentId?:number,DateCreated?:string,Locked?:boolean,DateLocked?:string,Completed?:boolean,DateCompleted?:string,CompletedBy?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Id;
/** @type {string} */
AttachmentId;
/** @type {number} */
AgentId;
/** @type {string} */
DateCreated;
/** @type {boolean} */
Locked;
/** @type {string} */
DateLocked;
/** @type {boolean} */
Completed;
/** @type {string} */
DateCompleted;
/** @type {string} */
CompletedBy;
}
export class FactFillerQueueResponse {
/** @param {{ResponseStatus?:ResponseStatus,FactFillerQueue?:FactFillerQueue,Success?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {FactFillerQueue} */
FactFillerQueue;
/** @type {boolean} */
Success;
}
export class FactFillerQueueCompleteRequest {
/** @param {{Id?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Id;
}
JavaScript FactFillerQueueCompleteRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/FactFillerQueue/{Id}/Complete HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
FactFillerQueue:
{
Id: 00000000000000000000000000000000,
AttachmentId: 00000000000000000000000000000000,
AgentId: 0,
DateCreated: 0001-01-01,
Locked: False,
DateLocked: 0001-01-01,
Completed: False,
DateCompleted: 0001-01-01,
CompletedBy: String
},
Success: False
}