| GET,OPTIONS | /v1/records/imaging/batches |
|---|
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ImagingBatchDto() =
member val BatchId:Int32 = new Int32() with get,set
member val BatchKey:String = null with get,set
member val Title:String = null with get,set
member val CreatedByLbl:String = null with get,set
member val CreatedLabel:String = null with get,set
member val Stage:String = null with get,set
member val Dpi:String = null with get,set
member val Color:String = null with get,set
member val DestroyAfter:Boolean = new Boolean() with get,set
member val ContainersJson:String = null with get,set
member val QaJson:String = null with get,set
member val ImportReceipt:String = null with get,set
member val LogJson:String = null with get,set
[<AllowNullLiteral>]
type ImagingBatchesResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val Batches:ResizeArray<ImagingBatchDto> = new ResizeArray<ImagingBatchDto>() with get,set
[<AllowNullLiteral>]
type ImagingBatchesRequest() =
class end
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/imaging/batches 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"}},"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"}]}