Trendsic Platform Service

<back to all web services

ImagingBatchesRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/imaging/batches

export class ImagingBatchDto
{
    public BatchId: number;
    public BatchKey: string;
    public Title: string;
    public CreatedByLbl: string;
    public CreatedLabel: string;
    public Stage: string;
    public Dpi: string;
    public Color: string;
    public DestroyAfter: boolean;
    public ContainersJson: string;
    public QaJson: string;
    public ImportReceipt: string;
    public LogJson: string;

    public constructor(init?: Partial<ImagingBatchDto>) { (Object as any).assign(this, init); }
}

export class ImagingBatchesResponse
{
    public ResponseStatus: ResponseStatus;
    public Batches: ImagingBatchDto[] = [];

    public constructor(init?: Partial<ImagingBatchesResponse>) { (Object as any).assign(this, init); }
}

export class ImagingBatchesRequest
{

    public constructor(init?: Partial<ImagingBatchesRequest>) { (Object as any).assign(this, init); }
}

TypeScript ImagingBatchesRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}]}