digitaluapi

<back to all web services

Requests

Requires Authentication
Requires any of the roles:Client, Admin, Partner
"use strict";
export class MetaParseUpload {
    /** @param {{Data?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Data;
}
export class CSVRequestsArrResponse extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}
class Dictionary {}
export class JsonObject extends Dictionary {
    constructor(init) { super(init); Object.assign(this, init) }
}
export class CSVErrors {
    /** @param {{type?:string,code?:string,message?:string,row?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    type;
    /** @type {string} */
    code;
    /** @type {string} */
    message;
    /** @type {string} */
    row;
}
export class CSVRequestsArr {
    /** @param {{BatchId?:number,Data?:JsonObject,Errors?:CSVErrors[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    BatchId;
    /** @type {JsonObject} */
    Data;
    /** @type {CSVErrors[]} */
    Errors;
}
export class Requests extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}

JavaScript Requests DTOs

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

HTTP + JSV

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

POST /jsv/reply/Requests HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

[
	
]
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]