| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}]}