digitaluapi

<back to all web services

CSVRequests

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
All Verbs/scadmeta/csv/upload
"use strict";
export class MetaParseUpload {
    /** @param {{Data?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Data;
}
export class CSVRequests extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}
export class CSVRequestsResponse extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}

JavaScript CSVRequests 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 /scadmeta/csv/upload HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

[]