Trendsic Platform Service

<back to all web services

ProjectWageDeterminationListRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/projects/{ProjectID}/wage-determinations
"use strict";
export class ProjectWageDetermination {
    /** @param {{ProjectWageDeterminationID?:number,ProjectWageDeterminationUID?:string,ProjectID?:number,DeterminationNo?:string,DeterminationType?:string,EffectiveFrom?:string,EffectiveTo?:string,IsDefault?:boolean,SortOrder?:number,CreatedBy?:string,CreatedAt?:string,UpdatedAt?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    ProjectWageDeterminationID;
    /** @type {string} */
    ProjectWageDeterminationUID;
    /** @type {number} */
    ProjectID;
    /** @type {string} */
    DeterminationNo;
    /** @type {string} */
    DeterminationType;
    /** @type {?string} */
    EffectiveFrom;
    /** @type {?string} */
    EffectiveTo;
    /** @type {boolean} */
    IsDefault;
    /** @type {number} */
    SortOrder;
    /** @type {string} */
    CreatedBy;
    /** @type {?string} */
    CreatedAt;
    /** @type {?string} */
    UpdatedAt;
}
export class ProjectWageDeterminationResponse {
    /** @param {{ResponseStatus?:ResponseStatus,ProjectID?:number,Determinations?:ProjectWageDetermination[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {number} */
    ProjectID;
    /** @type {ProjectWageDetermination[]} */
    Determinations = [];
}
export class ProjectWageDeterminationListRequest {
    /** @param {{ProjectID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    ProjectID;
}

JavaScript ProjectWageDeterminationListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /v1/projects/{ProjectID}/wage-determinations HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	ProjectID: 0,
	Determinations: 
	[
		{
			ProjectWageDeterminationID: 0,
			ProjectWageDeterminationUID: 00000000000000000000000000000000,
			ProjectID: 0,
			DeterminationNo: String,
			DeterminationType: String,
			EffectiveFrom: 0001-01-01,
			EffectiveTo: 0001-01-01,
			IsDefault: False,
			SortOrder: 0,
			CreatedBy: String,
			CreatedAt: 0001-01-01,
			UpdatedAt: 0001-01-01
		}
	]
}