Skip to main content

kobana banking bank-billet-batches

Commands of kobana banking bank-billet-batches. Every global option (Global options) applies here.

CommandHTTPDescription
bank-billet-batches listGET /v1/bank_billet_batchesList Batches
bank-billet-batches createPOST /v1/bank_billet_batchesCreate Batch
bank-billet-batches getGET /v1/bank_billet_batches/{id}/Batch Information
bank-billet-batches deleteDELETE /v1/bank_billet_batches/{id}/Delete the batch
bank-billet-batches add-bank-billetsPUT /v1/bank_billet_batches/{id}/add_bank_billetsAdd Billets to Batch
bank-billet-batches pdfPOST /v1/bank_billet_batches/{id}/pdfExport Batch in .pdf Format
bank-billet-batches remove-bank-billetDELETE /v1/bank_billet_batches/{id}/remove_bank_billetRemove Billet from Batch
bank-billet-batches zipPOST /v1/bank_billet_batches/{id}/zipExport Batch in .zip Format

bank-billet-batches list​

List Batches

kobana banking bank-billet-batches list [OPTIONS]

GET /v1/bank_billet_batches

List Batches.

Query parameters

NameTypeRequiredDescription
pageintegernoPage Number
per_pageintegernoNumber of records per page

Responses

HTTPDescription
200Success in listing batches

bank-billet-batches create​

Create Batch

kobana banking bank-billet-batches create [OPTIONS]

POST /v1/bank_billet_batches

Create Batch.

Request body

NameTypeRequiredDescription
namestringyesBatch name.
bank_billet_idsstringnoIDs of Billets separated by comma.

More fields and nested objects: kobana schema banking.bank-billet-batches.create.

Responses

HTTPDescription
201Batch created successfully
422Invalid data

bank-billet-batches get​

Batch Information

kobana banking bank-billet-batches get [ID] [OPTIONS]

GET /v1/bank_billet_batches/{id}/

Query specific information from a Batch.

Path arguments: id

Responses

HTTPDescription
200Batch found
404Batch not found

bank-billet-batches delete​

Delete the batch

kobana banking bank-billet-batches delete [ID] [OPTIONS]

DELETE /v1/bank_billet_batches/{id}/

Delete batch.

Path arguments: id

Responses

HTTPDescription
204Batch deleted
404Batch not found

bank-billet-batches add-bank-billets​

Add Billets to Batch

kobana banking bank-billet-batches add-bank-billets [ID] [OPTIONS]

PUT /v1/bank_billet_batches/{id}/add_bank_billets

Add billets to batch.

Path arguments: id

Request body

NameTypeRequiredDescription
bank_billet_idsstringyesIDs of Billets separated by comma.

More fields and nested objects: kobana schema banking.bank-billet-batches.add-bank-billets.

Responses

HTTPDescription
204Billets added successfully
404Batch not found
422Invalid data

bank-billet-batches pdf​

Export Batch in .pdf Format

kobana banking bank-billet-batches pdf [ID] [OPTIONS]

POST /v1/bank_billet_batches/{id}/pdf

Export batch in .pdf format.

After the request the export enters a queue to generate the batch file. The batch file URL will be returned by the Batch Export endpoint.

Path arguments: id

Responses

HTTPDescription
201Batch export request created successfully
404Batch not found

bank-billet-batches remove-bank-billet​

Remove Billet from Batch

kobana banking bank-billet-batches remove-bank-billet [ID] [OPTIONS]

DELETE /v1/bank_billet_batches/{id}/remove_bank_billet

Remove billet from batch.

Path arguments: id

Request body

NameTypeRequiredDescription
bank_billet_idintegeryesID of Billet separated by comma.

More fields and nested objects: kobana schema banking.bank-billet-batches.remove-bank-billet.

Responses

HTTPDescription
204Billet removed successfully
404Batch not found

bank-billet-batches zip​

Export Batch in .zip Format

kobana banking bank-billet-batches zip [ID] [OPTIONS]

POST /v1/bank_billet_batches/{id}/zip

Export batch in .zip format.

After the request the export enters a queue to generate the batch file. The batch file URL will be returned by the Batch Export endpoint.

Path arguments: id

Responses

HTTPDescription
201Batch export request created successfully
404Batch not found