Trendsic Platform Service

<back to all web services

RecordGetRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/entry/{RecordKey}
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 RecordDto
            Public Overridable Property RecordId As Integer
            Public Overridable Property RecordKey As String
            Public Overridable Property Name As String
            Public Overridable Property SeriesId As Integer?
            Public Overridable Property SeriesKey As String
            Public Overridable Property Classification As String
            Public Overridable Property Format As String
            Public Overridable Property Phase As String
            Public Overridable Property TriggerDate As String
            Public Overridable Property Staged As Boolean
            Public Overridable Property HoldId As Integer?
            Public Overridable Property HoldKey As String
            Public Overridable Property OwnerName As String
            Public Overridable Property Branch As String
            Public Overridable Property Barcode As String
            Public Overridable Property LocJson As String
            Public Overridable Property MetaJson As String
            Public Overridable Property FilesJson As String
            Public Overridable Property VersionsJson As String
            Public Overridable Property RelatedJson As String
            Public Overridable Property DisposedJson As String
            Public Overridable Property CreatedLabel As String
            Public Overridable Property UpdatedLabel As String
            Public Overridable Property Lifecycle As String
            Public Overridable Property RetKind As String
            Public Overridable Property EligibleDate As String
            Public Overridable Property MonthsLeft As Integer
        End Class

        Public Partial Class RecordGetRequest
            Public Overridable Property RecordKey As String
        End Class

        Public Partial Class RecordGetResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Record As RecordDto
        End Class
    End Namespace
End Namespace

VB.NET RecordGetRequest 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/records/entry/{RecordKey} 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"}},"Record":{"RecordId":0,"RecordKey":"String","Name":"String","SeriesId":0,"SeriesKey":"String","Classification":"String","Format":"String","Phase":"String","TriggerDate":"String","Staged":false,"HoldId":0,"HoldKey":"String","OwnerName":"String","Branch":"String","Barcode":"String","LocJson":"String","MetaJson":"String","FilesJson":"String","VersionsJson":"String","RelatedJson":"String","DisposedJson":"String","CreatedLabel":"String","UpdatedLabel":"String","Lifecycle":"String","RetKind":"String","EligibleDate":"String","MonthsLeft":0}}