Trendsic Platform Service

<back to all web services

JobWageDeterminationSaveRequest

Requires Authentication
The following routes are available for this service:
POST,PUT,OPTIONS/v1/jobs/{JobID}/wage-determination
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class JobWageDeterminationSaveRequest
{
    open var JobID:Int? = null
    open var ProjectWageDeterminationID:Int? = null
}

open class JobWageDeterminationResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var JobID:Int? = null
    open var ProjectID:Int? = null
    open var WageDeterminationID:Int? = null
    open var Determinations:ArrayList<ProjectWageDetermination> = ArrayList<ProjectWageDetermination>()
}

open class ProjectWageDetermination
{
    open var ProjectWageDeterminationID:Int? = null
    open var ProjectWageDeterminationUID:UUID? = null
    open var ProjectID:Int? = null
    open var DeterminationNo:String? = null
    open var DeterminationType:String? = null
    open var EffectiveFrom:Date? = null
    open var EffectiveTo:Date? = null
    open var IsDefault:Boolean? = null
    open var SortOrder:Int? = null
    open var CreatedBy:String? = null
    open var CreatedAt:Date? = null
    open var UpdatedAt:Date? = null
}

Kotlin JobWageDeterminationSaveRequest 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.

POST /v1/jobs/{JobID}/wage-determination HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	JobID: 0,
	ProjectWageDeterminationID: 0
}
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
		}
	},
	JobID: 0,
	ProjectID: 0,
	WageDeterminationID: 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
		}
	]
}