| GET,OPTIONS | /v1/qbo/pending |
|---|
export class QboPendingInvoice
{
public InvoiceID: number;
public InvoiceUID: string;
public InvoiceNumber: string;
public InvoiceDate?: string;
public Total?: number;
public CustomerName: string;
public IsPaid: boolean;
public SyncStatus: string;
public ExternalRef: string;
public constructor(init?: Partial<QboPendingInvoice>) { (Object as any).assign(this, init); }
}
export class QboPendingResponse
{
public Invoices: QboPendingInvoice[] = [];
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<QboPendingResponse>) { (Object as any).assign(this, init); }
}
export class QboPendingRequest
{
public constructor(init?: Partial<QboPendingRequest>) { (Object as any).assign(this, init); }
}
TypeScript QboPendingRequest DTOs
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/qbo/pending HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Invoices":[{"InvoiceID":0,"InvoiceUID":"00000000000000000000000000000000","InvoiceNumber":"String","InvoiceDate":"0001-01-01T00:00:00.0000000","Total":0,"CustomerName":"String","IsPaid":false,"SyncStatus":"String","ExternalRef":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}