| GET,OPTIONS | /v1/records/disposition/queue |
|---|
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 DispositionQueueRequest
End Class
Public Partial Class FacetCountDto
Public Overridable Property Key As String
Public Overridable Property Count As Integer
End Class
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 RecordsSearchResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Records As List(Of RecordDto) = New List(Of RecordDto)
Public Overridable Property Total As Integer
Public Overridable Property MatchAllStates As Integer
Public Overridable Property CorpusTotal As Integer
Public Overridable Property CorpusEligible As Integer
Public Overridable Property CorpusHold As Integer
Public Overridable Property CorpusUnscheduled As Integer
Public Overridable Property FacetLifecycle As List(Of FacetCountDto) = New List(Of FacetCountDto)
Public Overridable Property FacetClass As List(Of FacetCountDto) = New List(Of FacetCountDto)
Public Overridable Property FacetFormat As List(Of FacetCountDto) = New List(Of FacetCountDto)
Public Overridable Property FacetSeries As List(Of FacetCountDto) = New List(Of FacetCountDto)
End Class
End Namespace
End Namespace
VB.NET DispositionQueueRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/records/disposition/queue HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
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
}
},
Records:
[
{
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
}
],
Total: 0,
MatchAllStates: 0,
CorpusTotal: 0,
CorpusEligible: 0,
CorpusHold: 0,
CorpusUnscheduled: 0,
FacetLifecycle:
[
{
Key: String,
Count: 0
}
],
FacetClass:
[
{
Key: String,
Count: 0
}
],
FacetFormat:
[
{
Key: String,
Count: 0
}
],
FacetSeries:
[
{
Key: String,
Count: 0
}
]
}