| GET,OPTIONS | /v1/records/imaging/batches |
|---|
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 ImagingBatchDto
Public Overridable Property BatchId As Integer
Public Overridable Property BatchKey As String
Public Overridable Property Title As String
Public Overridable Property CreatedByLbl As String
Public Overridable Property CreatedLabel As String
Public Overridable Property Stage As String
Public Overridable Property Dpi As String
Public Overridable Property Color As String
Public Overridable Property DestroyAfter As Boolean
Public Overridable Property ContainersJson As String
Public Overridable Property QaJson As String
Public Overridable Property ImportReceipt As String
Public Overridable Property LogJson As String
End Class
Public Partial Class ImagingBatchesRequest
End Class
Public Partial Class ImagingBatchesResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Batches As List(Of ImagingBatchDto) = New List(Of ImagingBatchDto)
End Class
End Namespace
End Namespace
VB.NET ImagingBatchesRequest DTOs
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/records/imaging/batches 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"}},"Batches":[{"BatchId":0,"BatchKey":"String","Title":"String","CreatedByLbl":"String","CreatedLabel":"String","Stage":"String","Dpi":"String","Color":"String","DestroyAfter":false,"ContainersJson":"String","QaJson":"String","ImportReceipt":"String","LogJson":"String"}]}