From cfbd5583e0d010ffbd501b2d4279c3a18709c409 Mon Sep 17 00:00:00 2001 From: Harsha Gummadavelli <hvardhan@wisc.edu> Date: Mon, 5 Feb 2024 08:39:52 -0600 Subject: [PATCH] Update file putfdmvalidate.json --- .../putfdmvalidate.json | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json diff --git a/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json new file mode 100644 index 0000000..fdc5a00 --- /dev/null +++ b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json @@ -0,0 +1,133 @@ +{ + "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" : [ "putfdmvalidate" ], + "summary" : null, + "description" : null, + "operationId" : "putfdmvalidate", + "produces" : [ "application/vnd.api+json" ], + "consumes" : [ "application/vnd.api+json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/putfdmvalidate_Request##body" + } + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/putfdmvalidate" + } + } + } + } + } + }, + "definitions" : { + "putfdmvalidate##data##attributes" : { + "properties" : { + "errors" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "valid" : { + "type" : "boolean" + } + } + }, + "putfdmvalidate##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/putfdmvalidate##data##attributes" + }, + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "putfdmvalidate" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/putfdmvalidate##data" + } + } + } + }, + "putfdmvalidate_Request##body##data##attributes" : { + "properties" : { + "company" : { + "type" : "string" + }, + "fund" : { + "type" : "string" + }, + "costCenter" : { + "type" : "string" + }, + "function" : { + "type" : "string" + }, + "ledgerAccount" : { + "type" : "string" + }, + "program" : { + "type" : "string" + } + } + }, + "putfdmvalidate_Request##body##data" : { + "properties" : { + "type" : { + "type" : "string" + }, + "id" : { + "type" : "string" + }, + "attributes" : { + "$ref" : "#/definitions/putfdmvalidate_Request##body##data##attributes" + } + } + }, + "putfdmvalidate_Request##body" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/putfdmvalidate_Request##body##data" + } + } + } + }, + "putfdmvalidate_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/putfdmvalidate_Request##body" + } + } + } + } +} -- GitLab