| GET,OPTIONS | /v1/records/requests |
|---|
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 RecordsRequestDto
Public Overridable Property RequestId As Integer
Public Overridable Property RequestKey As String
Public Overridable Property Subject As String
Public Overridable Property Body As String
Public Overridable Property RequesterName As String
Public Overridable Property RequesterContact As String
Public Overridable Property Channel As String
Public Overridable Property ReceivedLabel As String
Public Overridable Property Status As String
Public Overridable Property ExtendedDays As Integer
Public Overridable Property ItemsJson As String
Public Overridable Property LogJson As String
Public Overridable Property DueDate As String
Public Overridable Property DueDays As Integer
End Class
Public Partial Class RecordsRequestsRequest
End Class
Public Partial Class RecordsRequestsResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Requests As List(Of RecordsRequestDto) = New List(Of RecordsRequestDto)
End Class
End Namespace
End Namespace
VB.NET RecordsRequestsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/records/requests 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"}},"Requests":[{"RequestId":0,"RequestKey":"String","Subject":"String","Body":"String","RequesterName":"String","RequesterContact":"String","Channel":"String","ReceivedLabel":"String","Status":"String","ExtendedDays":0,"ItemsJson":"String","LogJson":"String","DueDate":"String","DueDays":0}]}