Files for Finc Config (v1)

http://localhost/mod-finc-config

Table of contents

mod-finc-config API

This documents the API calls that can be made to query files

Finc config files

POST /finc-config/files

Upload/update a finc select file.

POST /finc-config/files
Query Parameters
  • isil: required (string)

    The isil this file is assigned to.

Body

Media type: application/octet-stream

Type: any

Response 200

Uploading the file was successful. Returns uuid of uploaded file. This uuid will be referenced in 'fincSelectFilterFile' as value of the property 'file'.

Body

Media type: text/plain

Type: any

Response 400

Body

Media type: text/plain

Type: any

Response 500

Body

Media type: text/plain

Type: any

GET /finc-config/files/{id}

Get file by id

GET /finc-config/files/{id}
URI Parameters
  • id: required (string)

Response 200

Body

Media type: application/octet-stream

Type: any

Response 404

Body

Media type: text/plain

Type: any

Response 500

Server Error

Body

Media type: text/plain

Type: any

DELETE /finc-config/files/{id}

Delete a file identified by id

DELETE /finc-config/files/{id}
URI Parameters
  • id: required (string)

Response 204

Delete succeeded

Response 400

Bad request

Body

Media type: text/plain

Type: any

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error, contact administrator