| GET,OPTIONS | /v1/qbo/log |
|---|
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 QboLogRequest
End Class
Public Partial Class QboLogResponse
Public Overridable Property Entries As List(Of QboSyncLogEntry) = New List(Of QboSyncLogEntry)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class QboSyncLogEntry
Public Overridable Property EntityType As String
Public Overridable Property LocalId As String
Public Overridable Property Action As String
Public Overridable Property Outcome As String
Public Overridable Property Detail As String
Public Overridable Property QboId As String
Public Overridable Property CreatedAt As Date?
Public Overridable Property CreatedBy As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/qbo/log HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Entries":[{"EntityType":"String","LocalId":"String","Action":"String","Outcome":"String","Detail":"String","QboId":"String","CreatedAt":"0001-01-01T00:00:00.0000000","CreatedBy":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}