| Requires the role: | Admin |
| GET | /payouts/batches/{Id} |
|---|
export class IsbPayoutBatch
{
public id?: number;
public batchType?: string;
public operationId?: string;
public createdAt?: string;
public dateOfPayment?: string;
public rowCount?: number;
public totalAmount?: number;
// @StringLength(2147483647)
public requestXml?: string;
// @StringLength(2147483647)
public responseXml?: string;
public status?: string;
public constructor(init?: Partial<IsbPayoutBatch>) { (Object as any).assign(this, init); }
}
export class IsbPayoutBatchRow
{
public id?: number;
// @References("typeof(TicketUserServices.ServiceModel.Types.Payouts.IsbPayoutBatch)")
public batchId?: number;
public eventId?: number;
public eventOwnerId?: number;
public kennitala?: string;
public bankAccount?: string;
public amount?: number;
public reference?: string;
public status?: string;
public errorCode?: string;
public errorText?: string;
public constructor(init?: Partial<IsbPayoutBatchRow>) { (Object as any).assign(this, init); }
}
export class PayoutBatchGetResult
{
public batch?: IsbPayoutBatch;
public rows?: IsbPayoutBatchRow[];
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<PayoutBatchGetResult>) { (Object as any).assign(this, init); }
}
export class PayoutBatchGetRequest
{
public id?: number;
public constructor(init?: Partial<PayoutBatchGetRequest>) { (Object as any).assign(this, init); }
}
TypeScript PayoutBatchGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /payouts/batches/{Id} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
batch:
{
id: 0,
batchType: String,
operationId: String,
createdAt: 0001-01-01,
dateOfPayment: 0001-01-01,
rowCount: 0,
totalAmount: 0,
requestXml: String,
responseXml: String,
status: String
},
rows:
[
{
id: 0,
batchId: 0,
eventId: 0,
eventOwnerId: 0,
kennitala: String,
bankAccount: String,
amount: 0,
reference: String,
status: String,
errorCode: String,
errorText: String
}
],
statusCode: 0,
message: String
}