| GET | /v1/workforce/burden |
|---|
"use strict";
export class BurdenRate {
/** @param {{BurdenRateID?:number,BranchId?:string,ClassCode?:string,Fica?:number,FutaSuta?:number,Wc?:number,Gl?:number,EffectiveFrom?:string,BurdenPct?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
BurdenRateID;
/** @type {?string} */
BranchId;
/** @type {string} */
ClassCode;
/** @type {number} */
Fica;
/** @type {number} */
FutaSuta;
/** @type {number} */
Wc;
/** @type {number} */
Gl;
/** @type {?string} */
EffectiveFrom;
/** @type {number} */
BurdenPct;
}
export class BurdenRatesResponse {
/** @param {{Burden?:BurdenRate[],ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {BurdenRate[]} */
Burden = [];
/** @type {ResponseStatus} */
ResponseStatus;
}
export class BurdenRatesRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript BurdenRatesRequest DTOs
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.
GET /v1/workforce/burden HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Burden:
[
{
BurdenRateID: 0,
BranchId: 00000000000000000000000000000000,
ClassCode: String,
Fica: 0,
FutaSuta: 0,
Wc: 0,
Gl: 0,
EffectiveFrom: 0001-01-01,
BurdenPct: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}