Trendsic Platform Service

<back to all web services

CertifiedPayrollListRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/projects/{ProjectID}/certified-payroll
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 CertifiedPayroll
            Public Overridable Property CertifiedPayrollID As Integer
            Public Overridable Property CertifiedPayrollUID As Guid
            Public Overridable Property ProjectID As Integer
            Public Overridable Property PayrollNumber As Integer
            Public Overridable Property WeekEnding As Date?
            Public Overridable Property Status As String
            Public Overridable Property DbeParticipationPct As Decimal
            Public Overridable Property DbeGoalPct As Decimal
            Public Overridable Property OjtApprenticeHours As Decimal
            Public Overridable Property OjtApprenticeGoalHours As Decimal
            Public Overridable Property WorkerCount As Integer
            Public Overridable Property TotalHoursST As Decimal
            Public Overridable Property TotalHoursOT As Decimal
            Public Overridable Property TotalGrossPay As Decimal
            Public Overridable Property FlaggedCount As Integer
            Public Overridable Property SubmittedBy As String
            Public Overridable Property SubmittedAt As Date?
            Public Overridable Property CreatedBy As String
            Public Overridable Property CreatedAt As Date?
            Public Overridable Property UpdatedAt As Date?
            Public Overridable Property Lines As List(Of CertifiedPayrollLine) = New List(Of CertifiedPayrollLine)
            Public Overridable Property DeterminationNo As String
            Public Overridable Property DeterminationType As String
        End Class

        Public Partial Class CertifiedPayrollLine
            Public Overridable Property CertifiedPayrollLineID As Integer
            Public Overridable Property CertifiedPayrollID As Integer
            Public Overridable Property WorkerName As String
            Public Overridable Property ContactID As Integer?
            Public Overridable Property Classification As String
            Public Overridable Property HoursST As Decimal
            Public Overridable Property HoursOT As Decimal
            Public Overridable Property BaseRate As Decimal
            Public Overridable Property FringeRate As Decimal
            Public Overridable Property FringeCashRate As Decimal
            Public Overridable Property FringePlanRate As Decimal
            Public Overridable Property GrossPay As Decimal
            Public Overridable Property Flagged As Boolean
            Public Overridable Property RestitutionAmount As Decimal
            Public Overridable Property RestitutionNote As String
            Public Overridable Property RequiredBase As Decimal
            Public Overridable Property RequiredFringe As Decimal
            Public Overridable Property SortOrder As Integer
        End Class

        Public Partial Class CertifiedPayrollListRequest
            Public Overridable Property ProjectID As Integer
        End Class

        Public Partial Class CertifiedPayrollListResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property ProjectID As Integer
            Public Overridable Property Payrolls As List(Of CertifiedPayroll) = New List(Of CertifiedPayroll)
        End Class
    End Namespace
End Namespace

VB.NET CertifiedPayrollListRequest 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.

GET /v1/projects/{ProjectID}/certified-payroll HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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,"Payrolls":[{"CertifiedPayrollID":0,"CertifiedPayrollUID":"00000000000000000000000000000000","ProjectID":0,"PayrollNumber":0,"WeekEnding":"0001-01-01T00:00:00.0000000","Status":"String","DbeParticipationPct":0,"DbeGoalPct":0,"OjtApprenticeHours":0,"OjtApprenticeGoalHours":0,"WorkerCount":0,"TotalHoursST":0,"TotalHoursOT":0,"TotalGrossPay":0,"FlaggedCount":0,"SubmittedBy":"String","SubmittedAt":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","Lines":[{"CertifiedPayrollLineID":0,"CertifiedPayrollID":0,"WorkerName":"String","ContactID":0,"Classification":"String","HoursST":0,"HoursOT":0,"BaseRate":0,"FringeRate":0,"FringeCashRate":0,"FringePlanRate":0,"GrossPay":0,"Flagged":false,"RestitutionAmount":0,"RestitutionNote":"String","RequiredBase":0,"RequiredFringe":0,"SortOrder":0}],"DeterminationNo":"String","DeterminationType":"String"}]}