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
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class JobWageDeterminationResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property JobID As Integer
            Public Overridable Property ProjectID As Integer
            Public Overridable Property WageDeterminationID As Integer?
            Public Overridable Property Determinations As List(Of ProjectWageDetermination) = New List(Of ProjectWageDetermination)
        End Class

        Public Partial Class JobWageDeterminationSaveRequest
            Public Overridable Property JobID As Integer
            Public Overridable Property ProjectWageDeterminationID As Integer?
        End Class

        Public Partial Class ProjectWageDetermination
            Public Overridable Property ProjectWageDeterminationID As Integer
            Public Overridable Property ProjectWageDeterminationUID As Guid
            Public Overridable Property ProjectID As Integer
            Public Overridable Property DeterminationNo As String
            Public Overridable Property DeterminationType As String
            Public Overridable Property EffectiveFrom As Date?
            Public Overridable Property EffectiveTo As Date?
            Public Overridable Property IsDefault As Boolean
            Public Overridable Property SortOrder As Integer
            Public Overridable Property CreatedBy As String
            Public Overridable Property CreatedAt As Date?
            Public Overridable Property UpdatedAt As Date?
        End Class
    End Namespace
End Namespace

VB.NET JobWageDeterminationSaveRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"JobID":0,"ProjectWageDeterminationID":0}
HTTP/1.1 200 OK
Content-Type: application/json
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-01T00:00:00.0000000","EffectiveTo":"0001-01-01T00:00:00.0000000","IsDefault":false,"SortOrder":0,"CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000"}]}