| 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) }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/Requests HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ArrayOfCSVRequestsArr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfMetaParseUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel" />