Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (43 sloc) 1.7 KB
#%RAML 1.0
title: "Orders Storage"
baseUri: http://github.com/org/folio/mod-orders-storage
version: v3
documentation:
- title: Reporting Code
content: <b>CRUD APIs used to manage reporting codes.</b>
types:
reporting-code: !include acq-models/mod-orders-storage/schemas/reporting_code.json
reporting-code-collection: !include acq-models/mod-orders-storage/schemas/reporting_code_collection.json
UUID:
type: string
pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
traits:
orderable: !include raml-util/traits/orderable.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
resourceTypes:
collection: !include raml-util/rtypes/collection.raml
collection-item: !include raml-util/rtypes/item-collection.raml
/orders-storage/reporting-codes:
type:
collection:
exampleCollection: !include acq-models/mod-orders-storage/examples/reporting_code_collection.sample
exampleItem: !include acq-models/mod-orders-storage/examples/reporting_code_post.sample
schemaCollection: reporting-code-collection
schemaItem: reporting-code
get:
description: Get list of reporting Codes
is: [
searchable: {description: "with valid searchable fields: for example code", example: "[\"code\", \"MEDGRANT\", \"=\"]"},
pageable
]
/{id}:
uriParameters:
id:
description: The UUID of a Reporting Code
type: UUID
type:
collection-item:
exampleItem: !include acq-models/mod-orders-storage/examples/reporting_code_post.sample
schema: reporting-code
You can’t perform that action at this time.