| Requires the role: | Admin |
| GET | /payouts/batches/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Batch | form | IsbPayoutBatch | No | |
| Rows | form | List<IsbPayoutBatchRow> | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| BatchType | form | string | No | |
| OperationId | form | string | No | |
| CreatedAt | form | DateTime | No | |
| DateOfPayment | form | DateTime? | No | |
| RowCount | form | int | No | |
| TotalAmount | form | long | No | |
| RequestXml | form | string | No | |
| ResponseXml | form | string | No | |
| Status | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| BatchId | form | int | No | |
| EventId | form | int? | No | |
| EventOwnerId | form | int? | No | |
| Kennitala | form | string | No | |
| BankAccount | form | string | No | |
| Amount | form | long | No | |
| Reference | form | string | No | |
| Status | form | string | No | |
| ErrorCode | form | string | No | |
| ErrorText | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"batch":{"id":0,"batchType":"String","operationId":"String","createdAt":"0001-01-01T00:00:00.0000000","dateOfPayment":"0001-01-01T00:00:00.0000000","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"}