diff --git a/putfdmvalidate.json b/putfdmvalidate.json new file mode 100644 index 0000000000000000000000000000000000000000..5c1735db9a988d1be86e17a7740bf6746aa58a60 --- /dev/null +++ b/putfdmvalidate.json @@ -0,0 +1,136 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/finance/fdm", + "schemes" : [ "https" ], + "paths" : { + "/validate" : { + "post" : { + "tags" : [ "putfdmvalidate" ], + "summary" : null, + "description" : null, + "operationId" : "putfdmvalidate", + "produces" : [ "application/json" ], + "consumes" : [ "application/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" : "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" + }, + "functionId" : { + "type" : "string" + }, + "gift" : { + "type" : "string" + }, + "grant" : { + "type" : "string" + }, + "project" : { + "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" + } + } + } + } +} \ No newline at end of file