sfgboxapi

<back to all web services

UsersRolesAutoQueryEdit

"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 .other suffix or ?format=other

HTTP + OTHER

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

POST /jsonl/reply/UsersRolesAutoQueryEdit HTTP/1.1 
Host: api-stage.smartfarmertech.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":0,"appUserId":0,"rolesId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":0,"appUserId":0,"rolesId":0}