"use strict";
export class UsersRoles {
/** @param {{id?:number,appUserId?:number,rolesId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {number} */
appUserId;
/** @type {number} */
rolesId;
}
export class UsersRolesAutoQueryEdit extends UsersRoles {
/** @param {{id?:number,appUserId?:number,rolesId?:number}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
}
JavaScript UsersRolesAutoQueryEdit DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/UsersRolesAutoQueryEdit HTTP/1.1
Host: api-stage.smartfarmertech.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"id":0,"appUserId":0,"rolesId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"id":0,"appUserId":0,"rolesId":0}