| Requires any of the roles: | Client, Admin, Partner |
// @DataContract
export class MetaParseUpload
{
// @DataMember(Order=1)
public Data: string;
public constructor(init?: Partial<MetaParseUpload>) { (Object as any).assign(this, init); }
}
export class CSVRequestsArrResponse extends Array<MetaParseUpload>
{
public constructor(init?: Partial<CSVRequestsArrResponse>) { super(); (Object as any).assign(this, init); }
}
export class Dictionary<T> { [Key: string]: T; }
export class JsonObject extends Dictionary<string>
{
public constructor(init?: Partial<JsonObject>) { super(); (Object as any).assign(this, init); }
}
export class CSVErrors
{
public type: string;
public code: string;
public message: string;
public row: string;
public constructor(init?: Partial<CSVErrors>) { (Object as any).assign(this, init); }
}
export class CSVRequestsArr
{
public BatchId: number;
public Data: JsonObject;
public Errors: CSVErrors[];
public constructor(init?: Partial<CSVRequestsArr>) { (Object as any).assign(this, init); }
}
export class Requests extends Array<CSVRequestsArr>
{
public constructor(init?: Partial<Requests>) { super(); (Object as any).assign(this, init); }
}
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.
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 [ ]