From 67b68d8f6d9af0bb6dfedaa223abc37f921069f7 Mon Sep 17 00:00:00 2001 From: SAJIDA SIDDIQUI <sajida.siddiqui@wisc.edu> Date: Wed, 20 Mar 2024 14:13:45 -0500 Subject: [PATCH] Upload New File --- .../alma_invoice_fdm_validation_swagger.json | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 ASP-IICS-Team/Alma-Workday/alma_invoice_fdm_validation_swagger.json diff --git a/ASP-IICS-Team/Alma-Workday/alma_invoice_fdm_validation_swagger.json b/ASP-IICS-Team/Alma-Workday/alma_invoice_fdm_validation_swagger.json new file mode 100644 index 0000000..9831e25 --- /dev/null +++ b/ASP-IICS-Team/Alma-Workday/alma_invoice_fdm_validation_swagger.json @@ -0,0 +1,161 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/finance", + "schemes" : [ "https" ], + "paths" : { + "/validateFdm" : { + "post" : { + "tags" : [ "alma_invoice_fdm_validation" ], + "summary" : null, + "description" : null, + "operationId" : "alma_invoice_fdm_validation", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation_Request##body" + } + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation" + } + } + } + } + } + }, + "definitions" : { + "alma_invoice_fdm_validation##data##attributes##errors" : { + "properties" : { + "errorCode" : { + "type" : "string" + }, + "errorMessage" : { + "type" : "string" + } + } + }, + "alma_invoice_fdm_validation##data##attributes" : { + "properties" : { + "errors" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation##data##attributes##errors" + } + }, + "valid" : { + "type" : "boolean" + } + } + }, + "alma_invoice_fdm_validation##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation##data##attributes" + }, + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "alma_invoice_fdm_validation" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation##data" + } + } + } + }, + "alma_invoice_fdm_validation_Request##body##data##attributes" : { + "properties" : { + "company" : { + "type" : "string" + }, + "activity" : { + "type" : "string" + }, + "costCenter" : { + "type" : "string" + }, + "fund" : { + "type" : "string" + }, + "function" : { + "type" : "string" + }, + "gift" : { + "type" : "string" + }, + "grant" : { + "type" : "string" + }, + "ledgerAccount" : { + "type" : "string" + }, + "program" : { + "type" : "string" + }, + "project" : { + "type" : "string" + }, + "revenueCategory" : { + "type" : "string" + }, + "spendCategory" : { + "type" : "string" + } + } + }, + "alma_invoice_fdm_validation_Request##body##data" : { + "properties" : { + "type" : { + "type" : "string" + }, + "id" : { + "type" : "string" + }, + "attributes" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation_Request##body##data##attributes" + } + } + }, + "alma_invoice_fdm_validation_Request##body" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation_Request##body##data" + } + } + } + }, + "alma_invoice_fdm_validation_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/alma_invoice_fdm_validation_Request##body" + } + } + } + } +} \ No newline at end of file -- GitLab