Trendsic Platform Service

<back to all web services

AdditionalServiceListRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/additionalservice
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 AdditionalServiceListRequest
            Public Overridable Property Status As String
        End Class

        Public Partial Class AdditionalServiceListResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Requests As List(Of AdditionalServiceRequest) = New List(Of AdditionalServiceRequest)
        End Class

        Public Partial Class AdditionalServiceRequest
            Public Overridable Property AdditionalServiceRequestID As Integer
            Public Overridable Property AdditionalServiceRequestUID As Guid
            Public Overridable Property TenantId As Guid
            Public Overridable Property BranchId As Guid?
            Public Overridable Property BranchName As String
            Public Overridable Property ProjectID As Integer
            Public Overridable Property ProjectName As String
            Public Overridable Property ProjectUID As Guid?
            Public Overridable Property JobID As Integer?
            Public Overridable Property AgreementJobID As Integer?
            Public Overridable Property RequestedByContactID As Integer?
            Public Overridable Property RequestedByName As String
            Public Overridable Property CustomerContactID As Integer?
            Public Overridable Property CustomerName As String
            Public Overridable Property CustomerEmail As String
            Public Overridable Property CustomerPhone As String
            Public Overridable Property CustomerSmsOptIn As Boolean
            Public Overridable Property Description As String
            Public Overridable Property Status As String
            Public Overridable Property QuoteID As Integer?
            Public Overridable Property QuoteUID As Guid?
            Public Overridable Property QuoteStatus As String
            Public Overridable Property QuoteTotal As Decimal?
            Public Overridable Property FinalPriceAfterCompletion As Boolean
            Public Overridable Property QuoteApprovedByName As String
            Public Overridable Property QuoteApprovedAt As Date?
            Public Overridable Property ConvertedJobID As Integer?
            Public Overridable Property PhotoCount As Integer
            Public Overridable Property CreatedBy As String
            Public Overridable Property CreatedAt As Date?
            Public Overridable Property UpdatedBy As String
            Public Overridable Property UpdatedAt As Date?
            Public Overridable Property Photos As List(Of AdditionalServiceRequestPhoto) = New List(Of AdditionalServiceRequestPhoto)
        End Class

        Public Partial Class AdditionalServiceRequestPhoto
            Public Overridable Property AdditionalServiceRequestPhotoID As Integer
            Public Overridable Property Url As String
            Public Overridable Property MimeType As String
            Public Overridable Property CreatedAt As Date?
        End Class
    End Namespace
End Namespace

VB.NET AdditionalServiceListRequest DTOs

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

HTTP + CSV

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

GET /v1/additionalservice HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Requests":[{"AdditionalServiceRequestID":0,"AdditionalServiceRequestUID":"00000000000000000000000000000000","TenantId":"00000000000000000000000000000000","BranchId":"00000000000000000000000000000000","BranchName":"String","ProjectID":0,"ProjectName":"String","ProjectUID":"00000000000000000000000000000000","JobID":0,"AgreementJobID":0,"RequestedByContactID":0,"RequestedByName":"String","CustomerContactID":0,"CustomerName":"String","CustomerEmail":"String","CustomerPhone":"String","CustomerSmsOptIn":false,"Description":"String","Status":"String","QuoteID":0,"QuoteUID":"00000000000000000000000000000000","QuoteStatus":"String","QuoteTotal":0,"FinalPriceAfterCompletion":false,"QuoteApprovedByName":"String","QuoteApprovedAt":"0001-01-01T00:00:00.0000000","ConvertedJobID":0,"PhotoCount":0,"CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedBy":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","Photos":[{"AdditionalServiceRequestPhotoID":0,"Url":"String","MimeType":"String","CreatedAt":"0001-01-01T00:00:00.0000000"}]}]}