Skip to content
Snippets Groups Projects
Commit 82aa00e1 authored by Jared Balkman's avatar Jared Balkman
Browse files

Update docs/validate-funding.json

parent b15fd652
No related branches found
No related tags found
No related merge requests found
...@@ -8,16 +8,16 @@ ...@@ -8,16 +8,16 @@
"contact" : null, "contact" : null,
"license" : null "license" : null
}, },
"host" : "mock.dev.api.wisc.edu", "host" : "api.wisc.edu",
"basePath" : "/funding/validate-funding/funding", "basePath" : "/finance/validate-funding/finance",
"schemes" : [ "https" ], "schemes" : [ "https" ],
"paths" : { "paths" : {
"/validate-funding" : { "/validate-funding" : {
"post" : { "post" : {
"tags" : [ "validate-funding" ], "tags" : [ "AssetWorks-validate-funding" ],
"summary" : null, "summary" : null,
"description" : null, "description" : null,
"operationId" : "validate-funding", "operationId" : "AssetWorks-validate-funding",
"produces" : [ "application/json" ], "produces" : [ "application/json" ],
"consumes" : [ "application/json" ], "consumes" : [ "application/json" ],
"parameters" : [ { "parameters" : [ {
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
"description" : null, "description" : null,
"required" : false, "required" : false,
"schema" : { "schema" : {
"$ref" : "#/definitions/validate-funding_Request##body" "$ref" : "#/definitions/AssetWorks-validate-funding_Request##body"
} }
} ], } ],
"responses" : { "responses" : {
"200" : { "200" : {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
"$ref" : "#/definitions/validate-funding" "$ref" : "#/definitions/AssetWorks-validate-funding"
} }
} }
} }
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
} }
}, },
"definitions" : { "definitions" : {
"validate-funding##data##attributes##lines" : { "AssetWorks-validate-funding##data##attributes##lines" : {
"properties" : { "properties" : {
"errors" : { "errors" : {
"type" : "string" "type" : "string"
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
} }
}, },
"validate-funding##data##attributes" : { "AssetWorks-validate-funding##data##attributes" : {
"properties" : { "properties" : {
"journalErrors" : { "journalErrors" : {
"type" : "string" "type" : "string"
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
"lines" : { "lines" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/validate-funding##data##attributes##lines" "$ref" : "#/definitions/AssetWorks-validate-funding##data##attributes##lines"
} }
}, },
"valid" : { "valid" : {
...@@ -67,10 +67,10 @@ ...@@ -67,10 +67,10 @@
} }
} }
}, },
"validate-funding##data" : { "AssetWorks-validate-funding##data" : {
"properties" : { "properties" : {
"attributes" : { "attributes" : {
"$ref" : "#/definitions/validate-funding##data##attributes" "$ref" : "#/definitions/AssetWorks-validate-funding##data##attributes"
}, },
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -80,74 +80,83 @@ ...@@ -80,74 +80,83 @@
} }
} }
}, },
"validate-funding" : { "AssetWorks-validate-funding" : {
"properties" : { "properties" : {
"data" : { "data" : {
"$ref" : "#/definitions/validate-funding##data" "$ref" : "#/definitions/AssetWorks-validate-funding##data"
} }
} }
}, },
"validate-funding_Request##body##data##attributes##lines" : { "AssetWorks-validate-funding_Request##body##data##attributes##lines" : {
"properties" : { "properties" : {
"costCenter" : { "costCenter" : {
"type" : "string" "type" : "string"
}, },
"ledgerAccount" : { "fund" : {
"type" : "string" "type" : "string"
}, },
"functionId" : { "functionId" : {
"type" : "string" "type" : "string"
}, },
"fund" : { "ledgerAccount" : {
"type" : "string"
},
"projectType" : {
"type" : "string"
},
"project" : {
"type" : "string"
},
"program" : {
"type" : "string"
},
"spendCategory" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"validate-funding_Request##body##data##attributes" : { "AssetWorks-validate-funding_Request##body##data##attributes" : {
"properties" : { "properties" : {
"company" : { "company" : {
"type" : "string" "type" : "string"
}, },
"ledger" : { "accountingDate" : {
"type" : "string" "type" : "string"
}, },
"accountingDate" : { "ledger" : {
"type" : "string" "type" : "string"
}, },
"lines" : { "lines" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/validate-funding_Request##body##data##attributes##lines" "$ref" : "#/definitions/AssetWorks-validate-funding_Request##body##data##attributes##lines"
} }
} }
} }
}, },
"validate-funding_Request##body##data" : { "AssetWorks-validate-funding_Request##body##data" : {
"properties" : { "properties" : {
"lid" : {
"type" : "string"
},
"type" : { "type" : {
"type" : "string" "type" : "string"
}, },
"attributes" : { "attributes" : {
"$ref" : "#/definitions/validate-funding_Request##body##data##attributes" "$ref" : "#/definitions/AssetWorks-validate-funding_Request##body##data##attributes"
} }
} }
}, },
"validate-funding_Request##body" : { "AssetWorks-validate-funding_Request##body" : {
"properties" : { "properties" : {
"data" : { "data" : {
"$ref" : "#/definitions/validate-funding_Request##body##data" "$ref" : "#/definitions/AssetWorks-validate-funding_Request##body##data"
} }
} }
}, },
"validate-funding_Request" : { "AssetWorks-validate-funding_Request" : {
"properties" : { "properties" : {
"body" : { "body" : {
"$ref" : "#/definitions/validate-funding_Request##body" "$ref" : "#/definitions/AssetWorks-validate-funding_Request##body"
} }
} }
} }
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment