Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (58 sloc) 1.84 KB
#%RAML 1.0
title: "Invoice Storage"
baseUri: http://github.com/folio-org/mod-invoice-storage
version: v1
documentation:
- title: Voucher Number
content: <b>API used to manage voucher number.</b>
types:
sequenceNumber: !include acq-models/common/schemas/sequence_number.json
traits:
language: !include raml-util/traits/language.raml
/voucher-storage/voucher-number:
get:
is: [language]
description: Get generated voucher number
responses:
200:
body:
application/json:
type: sequenceNumber
500:
description: "Internal server error, e.g. due to misconfiguration"
body:
text/plain:
example: "internal server error, contact administrator"
/start:
displayName: Voucher Number
description: Manage Voucher numbers
is: [language]
get:
description: Get voucher number start
responses:
200:
body:
application/json:
type: sequenceNumber
500:
description: "Internal server error, e.g. due to misconfiguration"
body:
text/plain:
example: "internal server error, contact administrator"
/{value}:
is: [language]
post:
description: (Re)set the start value of the voucher number sequence
responses:
204:
description: "Start value successfully updated"
400:
description: "Bad request"
body:
text/plain:
example: "Bad request"
500:
description: "Internal server error, e.g. due to misconfiguration"
body:
text/plain:
example: "internal server error, contact administrator"
You can’t perform that action at this time.