From bf659eb7fb9dd1f5684482b9bb664a3caf2a92d6 Mon Sep 17 00:00:00 2001 From: SAJIDA SIDDIQUI <sajida.siddiqui@wisc.edu> Date: Thu, 9 Nov 2023 10:06:55 -0600 Subject: [PATCH] Upload New File --- post-alma-invoice-notes-swagger-V2.json | 384 ++++++++++++++++++++++++ 1 file changed, 384 insertions(+) create mode 100644 post-alma-invoice-notes-swagger-V2.json diff --git a/post-alma-invoice-notes-swagger-V2.json b/post-alma-invoice-notes-swagger-V2.json new file mode 100644 index 0000000..3feca23 --- /dev/null +++ b/post-alma-invoice-notes-swagger-V2.json @@ -0,0 +1,384 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api-na.hosted.exlibrisgroup.com", + "basePath" : "/almaws/v1/acq/invoices", + "schemes" : [ "https" ], + "paths" : { + "/{invoice_id}?op=paid&apikey=l8xx69d69988667a43d49145441d50d19f8d" : { + "post" : { + "tags" : [ "post-alma-invoice-notes-swagger-V2" ], + "summary" : null, + "description" : null, + "operationId" : "post-alma-invoice-notes-swagger-V2", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body" + } + }, { + "name" : "invoice_id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2" + } + } + } + } + } + }, + "definitions" : { + "post-alma-invoice-notes-swagger-V2##vendor" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##owner" : { + "properties" : { + "value" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##payment##payment_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##payment##voucher_currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##payment" : { + "properties" : { + "prepaid" : { + "type" : "boolean" + }, + "internal_copy" : { + "type" : "boolean" + }, + "payment_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment##payment_status" + }, + "voucher_date" : { + "type" : "string" + }, + "voucher_number" : { + "type" : "string" + }, + "voucher_amount" : { + "type" : "string" + }, + "voucher_currency" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment##voucher_currency" + } + } + }, + "post-alma-invoice-notes-swagger-V2##payment_method" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##creation_form" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##invoice_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##invoice_approval_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##additional_charges" : { + "properties" : { + "shipment" : { + "type" : "number", + "format" : "double" + }, + "overhead" : { + "type" : "number", + "format" : "double" + }, + "insurance" : { + "type" : "number", + "format" : "double" + }, + "discount" : { + "type" : "number", + "format" : "double" + }, + "use_pro_rata" : { + "type" : "boolean" + } + } + }, + "post-alma-invoice-notes-swagger-V2##invoice_vat##type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##invoice_vat##vat_code" : { + "properties" : { + "value" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##invoice_vat" : { + "properties" : { + "percentage" : { + "type" : "number", + "format" : "double" + }, + "type" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat##type" + }, + "report_tax" : { + "type" : "boolean" + }, + "vat_per_invoice_line" : { + "type" : "boolean" + }, + "vat_code" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat##vat_code" + }, + "vat_amount" : { + "type" : "number", + "format" : "int32" + }, + "expended_from_fund" : { + "type" : "boolean" + } + } + }, + "post-alma-invoice-notes-swagger-V2##alert" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##note" : { + "properties" : { + "content" : { + "type" : "string" + }, + "creation_date" : { + "type" : "string" + }, + "created_by" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2##number_of_lines" : { + "properties" : { + "value" : { + "type" : "number", + "format" : "int32" + }, + "link" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2" : { + "properties" : { + "id" : { + "type" : "string" + }, + "number" : { + "type" : "string" + }, + "vendor" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##vendor" + }, + "currency" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##currency" + }, + "owner" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##owner" + }, + "payment" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment" + }, + "invoice_date" : { + "type" : "string" + }, + "vendor_account" : { + "type" : "string" + }, + "total_amount" : { + "type" : "number", + "format" : "double" + }, + "total_invoice_lines_amount" : { + "type" : "number", + "format" : "double" + }, + "vendor_contact_person" : { + "type" : "string" + }, + "payment_method" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment_method" + }, + "reference_number" : { + "type" : "string" + }, + "creation_form" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##creation_form" + }, + "invoice_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_status" + }, + "invoice_workflow_status" : { + "type" : "string" + }, + "invoice_approval_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_approval_status" + }, + "approved_by" : { + "type" : "string" + }, + "approval_date" : { + "type" : "string" + }, + "additional_charges" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##additional_charges" + }, + "invoice_vat" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat" + }, + "explicit_ratio" : { + "type" : "string" + }, + "alert" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##alert" + } + }, + "note" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##note" + } + }, + "number_of_lines" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##number_of_lines" + }, + "link" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2_Request##body##note" : { + "properties" : { + "content" : { + "type" : "string" + }, + "creation_date" : { + "type" : "string" + }, + "created_by" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes-swagger-V2_Request##body" : { + "properties" : { + "note" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body##note" + } + } + } + }, + "post-alma-invoice-notes-swagger-V2_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body" + } + } + } + } +} \ No newline at end of file -- GitLab