From e1bfef172c32f35e2e85e92fa06622c70a046329 Mon Sep 17 00:00:00 2001 From: SAJIDA SIDDIQUI <sajida.siddiqui@wisc.edu> Date: Tue, 24 Oct 2023 13:13:46 -0500 Subject: [PATCH] Upload New File --- sas_get_alma_invoices_swag.json | 400 ++++++++++++++++++++++++++++++++ 1 file changed, 400 insertions(+) create mode 100644 sas_get_alma_invoices_swag.json diff --git a/sas_get_alma_invoices_swag.json b/sas_get_alma_invoices_swag.json new file mode 100644 index 0000000..f60f45e --- /dev/null +++ b/sas_get_alma_invoices_swag.json @@ -0,0 +1,400 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api-eu.hosted.exlibrisgroup.com", + "basePath" : "/almaws/v1/acq/invoices", + "schemes" : [ "https" ], + "paths" : { + "/" : { + "get" : { + "tags" : [ "sas_get_alma_invoices" ], + "summary" : null, + "description" : null, + "operationId" : "sas_get_alma_invoices", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "invoice_workflow_status", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "owner", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "view", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "expand", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "base_status", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "creation_form", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "offset", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "limit", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/sas_get_alma_invoices" + } + } + } + } + } + }, + "definitions" : { + "sas_get_alma_invoices##invoice##vendor" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##owner" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##payment##payment_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##payment##voucher_currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##payment" : { + "properties" : { + "prepaid" : { + "type" : "boolean" + }, + "internal_copy" : { + "type" : "boolean" + }, + "payment_status" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##payment##payment_status" + }, + "voucher_date" : { + "type" : "string" + }, + "voucher_number" : { + "type" : "string" + }, + "voucher_amount" : { + "type" : "string" + }, + "voucher_currency" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##payment##voucher_currency" + } + } + }, + "sas_get_alma_invoices##invoice##payment_method" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##creation_form" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_workflow_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_approval_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##additional_charges" : { + "properties" : { + "shipment" : { + "type" : "number", + "format" : "int32" + }, + "overhead" : { + "type" : "number", + "format" : "int32" + }, + "insurance" : { + "type" : "number", + "format" : "int32" + }, + "discount" : { + "type" : "number", + "format" : "int32" + }, + "use_pro_rata" : { + "type" : "boolean" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_vat##type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_vat##vat_code" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##invoice_vat" : { + "properties" : { + "percentage" : { + "type" : "number", + "format" : "int32" + }, + "type" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_vat##type" + }, + "report_tax" : { + "type" : "boolean" + }, + "vat_per_invoice_line" : { + "type" : "boolean" + }, + "vat_code" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_vat##vat_code" + }, + "vat_amount" : { + "type" : "number", + "format" : "int32" + }, + "expended_from_fund" : { + "type" : "boolean" + } + } + }, + "sas_get_alma_invoices##invoice##number_of_lines" : { + "properties" : { + "value" : { + "type" : "number", + "format" : "int32" + }, + "link" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice##alert" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices##invoice" : { + "properties" : { + "id" : { + "type" : "string" + }, + "number" : { + "type" : "string" + }, + "vendor" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##vendor" + }, + "currency" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##currency" + }, + "owner" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##owner" + }, + "payment" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##payment" + }, + "invoice_date" : { + "type" : "string" + }, + "vendor_account" : { + "type" : "string" + }, + "total_amount" : { + "type" : "number" + }, + "total_invoice_lines_amount" : { + "type" : "number" + }, + "vendor_contact_person" : { + "type" : "string" + }, + "payment_method" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##payment_method" + }, + "reference_number" : { + "type" : "string" + }, + "creation_form" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##creation_form" + }, + "invoice_status" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_status" + }, + "invoice_workflow_status" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_workflow_status" + }, + "invoice_approval_status" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_approval_status" + }, + "approved_by" : { + "type" : "string" + }, + "approval_date" : { + "type" : "string" + }, + "additional_charges" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##additional_charges" + }, + "invoice_vat" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##invoice_vat" + }, + "explicit_ratio" : { + "type" : "string" + }, + "alert" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##alert" + } + }, + "note" : { + "type" : "string" + }, + "number_of_lines" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice##number_of_lines" + }, + "link" : { + "type" : "string" + } + } + }, + "sas_get_alma_invoices" : { + "properties" : { + "invoice" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/sas_get_alma_invoices##invoice" + } + }, + "total_record_count" : { + "type" : "number", + "format" : "int32" + } + } + } + } +} \ No newline at end of file -- GitLab