diff --git a/ASP-IICS-Team/Alma-Workday/get_alma_supplier_id_swagger.json b/ASP-IICS-Team/Alma-Workday/get_alma_supplier_id_swagger.json new file mode 100644 index 0000000000000000000000000000000000000000..1c216301bb3f7dbcee392b333904066ef03a0b1f --- /dev/null +++ b/ASP-IICS-Team/Alma-Workday/get_alma_supplier_id_swagger.json @@ -0,0 +1,441 @@ +{ + "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/vendors", + "schemes" : [ "https" ], + "paths" : { + "/{code}?apikey=l8xx69d69988667a43d49145441d50d19f8d" : { + "get" : { + "tags" : [ "get_alma_supplier_id" ], + "summary" : null, + "description" : null, + "operationId" : "get_alma_supplier_id", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "code", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/get_alma_supplier_id" + } + } + } + } + } + }, + "definitions" : { + "get_alma_supplier_id##status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##language" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##library##code" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##library" : { + "properties" : { + "code" : { + "$ref" : "#/definitions/get_alma_supplier_id##library##code" + }, + "include_sub_units" : { + "type" : "boolean" + } + } + }, + "get_alma_supplier_id##currency" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##account##status" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##account##library##code" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##account##library" : { + "properties" : { + "code" : { + "$ref" : "#/definitions/get_alma_supplier_id##account##library##code" + }, + "include_sub_units" : { + "type" : "boolean" + } + } + }, + "get_alma_supplier_id##account##payment_method" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##account##contact_info" : { + "properties" : { + "address" : { + "type" : "string" + }, + "email" : { + "type" : "string" + }, + "phone" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##account" : { + "properties" : { + "code" : { + "type" : "string" + }, + "description" : { + "type" : "string" + }, + "status" : { + "$ref" : "#/definitions/get_alma_supplier_id##account##status" + }, + "account_id" : { + "type" : "string" + }, + "library" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##account##library" + } + }, + "discount_percent" : { + "type" : "string" + }, + "payment_method" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##account##payment_method" + } + }, + "claiming_interval" : { + "type" : "string" + }, + "subscription_interval" : { + "type" : "string" + }, + "contact_info" : { + "$ref" : "#/definitions/get_alma_supplier_id##account##contact_info" + }, + "contact_person" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##address##country" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##address##address_type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##address" : { + "properties" : { + "line1" : { + "type" : "string" + }, + "line2" : { + "type" : "string" + }, + "line3" : { + "type" : "string" + }, + "city" : { + "type" : "string" + }, + "country" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##address##country" + }, + "state_province" : { + "type" : "string" + }, + "postal_code" : { + "type" : "string" + }, + "address_note" : { + "type" : "string" + }, + "start_date" : { + "type" : "string" + }, + "address_type" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##address##address_type" + } + }, + "preferred" : { + "type" : "boolean" + } + } + }, + "get_alma_supplier_id##contact_info##email##email_type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##email" : { + "properties" : { + "email_address" : { + "type" : "string" + }, + "email_type" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##email##email_type" + } + }, + "preferred" : { + "type" : "boolean" + } + } + }, + "get_alma_supplier_id##contact_info##phone##phone_type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##phone" : { + "properties" : { + "phone_number" : { + "type" : "string" + }, + "phone_type" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##phone##phone_type" + } + }, + "preferred" : { + "type" : "boolean" + }, + "preferred_sms" : { + "type" : "boolean" + } + } + }, + "get_alma_supplier_id##contact_info##web_address##url_type" : { + "properties" : { + "value" : { + "type" : "string" + }, + "desc" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id##contact_info##web_address" : { + "properties" : { + "url" : { + "type" : "string" + }, + "url_type" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##web_address##url_type" + } + } + }, + "get_alma_supplier_id##contact_info" : { + "properties" : { + "address" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##address" + } + }, + "email" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##email" + } + }, + "phone" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##phone" + } + }, + "web_address" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info##web_address" + } + } + } + }, + "get_alma_supplier_id##note" : { + "properties" : { + "content" : { + "type" : "string" + }, + "creation_date" : { + "type" : "string" + }, + "created_by" : { + "type" : "string" + } + } + }, + "get_alma_supplier_id" : { + "properties" : { + "code" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "status" : { + "$ref" : "#/definitions/get_alma_supplier_id##status" + }, + "language" : { + "$ref" : "#/definitions/get_alma_supplier_id##language" + }, + "licensor" : { + "type" : "boolean" + }, + "governmental" : { + "type" : "boolean" + }, + "additional_code" : { + "type" : "string" + }, + "financial_sys_code" : { + "type" : "string" + }, + "national_tax_id" : { + "type" : "string" + }, + "liable_for_vat" : { + "type" : "boolean" + }, + "material_supplier" : { + "type" : "boolean" + }, + "access_provider" : { + "type" : "boolean" + }, + "library" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##library" + } + }, + "currency" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##currency" + } + }, + "account" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##account" + } + }, + "contact_person" : { + "type" : "string" + }, + "interface" : { + "type" : "string" + }, + "contact_info" : { + "$ref" : "#/definitions/get_alma_supplier_id##contact_info" + }, + "edi_info" : { + "type" : "string" + }, + "note" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_alma_supplier_id##note" + } + } + } + } + } +} \ No newline at end of file