From a9a31c0768997722695b3c3fc22caf591a791272 Mon Sep 17 00:00:00 2001 From: SAJIDA SIDDIQUI <sajida.siddiqui@wisc.edu> Date: Tue, 7 Nov 2023 10:26:05 -0600 Subject: [PATCH] Upload New File --- post-alma-invoice-notes.json | 378 +++++++++++++++++++++++++++++++++++ 1 file changed, 378 insertions(+) create mode 100644 post-alma-invoice-notes.json diff --git a/post-alma-invoice-notes.json b/post-alma-invoice-notes.json new file mode 100644 index 0000000..37d03e4 --- /dev/null +++ b/post-alma-invoice-notes.json @@ -0,0 +1,378 @@ +{ + "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" ], + "summary" : null, + "description" : null, + "operationId" : "post-alma-invoice-notes", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/post-alma-invoice-notes_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" + } + } + } + } + } + }, + "definitions" : { + "post-alma-invoice-notes##vendor" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##owner" : { + "properties" : { + "value" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##payment##payment_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##payment##voucher_currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##payment" : { + "properties" : { + "prepaid" : { + "type" : "boolean" + }, + "internal_copy" : { + "type" : "boolean" + }, + "payment_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes##payment##payment_status" + }, + "voucher_date" : { + "type" : "string" + }, + "voucher_number" : { + "type" : "string" + }, + "voucher_amount" : { + "type" : "string" + }, + "voucher_currency" : { + "$ref" : "#/definitions/post-alma-invoice-notes##payment##voucher_currency" + } + } + }, + "post-alma-invoice-notes##payment_method" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##creation_form" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##invoice_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##invoice_approval_status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##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##invoice_vat##type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##invoice_vat##vat_code" : { + "properties" : { + "value" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##invoice_vat" : { + "properties" : { + "percentage" : { + "type" : "number", + "format" : "double" + }, + "type" : { + "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat##type" + }, + "report_tax" : { + "type" : "boolean" + }, + "vat_per_invoice_line" : { + "type" : "boolean" + }, + "vat_code" : { + "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat##vat_code" + }, + "vat_amount" : { + "type" : "number", + "format" : "int32" + }, + "expended_from_fund" : { + "type" : "boolean" + } + } + }, + "post-alma-invoice-notes##alert" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##note" : { + "properties" : { + "content" : { + "type" : "string" + }, + "creation_date" : { + "type" : "string" + }, + "created_by" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes##number_of_lines" : { + "properties" : { + "value" : { + "type" : "number", + "format" : "int32" + }, + "link" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes" : { + "properties" : { + "id" : { + "type" : "string" + }, + "number" : { + "type" : "string" + }, + "vendor" : { + "$ref" : "#/definitions/post-alma-invoice-notes##vendor" + }, + "currency" : { + "$ref" : "#/definitions/post-alma-invoice-notes##currency" + }, + "owner" : { + "$ref" : "#/definitions/post-alma-invoice-notes##owner" + }, + "payment" : { + "$ref" : "#/definitions/post-alma-invoice-notes##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##payment_method" + }, + "reference_number" : { + "type" : "string" + }, + "creation_form" : { + "$ref" : "#/definitions/post-alma-invoice-notes##creation_form" + }, + "invoice_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes##invoice_status" + }, + "invoice_workflow_status" : { + "type" : "string" + }, + "invoice_approval_status" : { + "$ref" : "#/definitions/post-alma-invoice-notes##invoice_approval_status" + }, + "approved_by" : { + "type" : "string" + }, + "approval_date" : { + "type" : "string" + }, + "additional_charges" : { + "$ref" : "#/definitions/post-alma-invoice-notes##additional_charges" + }, + "invoice_vat" : { + "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat" + }, + "explicit_ratio" : { + "type" : "string" + }, + "alert" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes##alert" + } + }, + "note" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes##note" + } + }, + "number_of_lines" : { + "$ref" : "#/definitions/post-alma-invoice-notes##number_of_lines" + }, + "link" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes_Request##body##note" : { + "properties" : { + "content" : { + "type" : "string" + } + } + }, + "post-alma-invoice-notes_Request##body" : { + "properties" : { + "note" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/post-alma-invoice-notes_Request##body##note" + } + } + } + }, + "post-alma-invoice-notes_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/post-alma-invoice-notes_Request##body" + } + } + } + } +} \ No newline at end of file -- GitLab