diff --git a/docs/AssetWorks-validate-funding.json b/docs/AssetWorks-validate-funding.json index fda8aa875ec913ee0449ee2473c41467ecb629af..1bbbac443cf120e381fdd1292d42b5765903f11b 100644 --- a/docs/AssetWorks-validate-funding.json +++ b/docs/AssetWorks-validate-funding.json @@ -18,17 +18,9 @@ "summary" : null, "description" : null, "operationId" : "validate-funding", - "produces" : [ "application/vnd.api+json" ], - "consumes" : [ "application/vnd.api+json" ], - "parameters" : [ { - "name" : "body", - "in" : "body", - "description" : null, - "required" : false, - "schema" : { - "$ref" : "#/definitions/validate-funding_Request##body" - } - } ], + "produces" : [ "application/json" ], + "consumes" : [ "application/x-www-form-urlencoded" ], + "parameters" : [ ], "responses" : { "200" : { "description" : "successful operation", @@ -86,77 +78,6 @@ "$ref" : "#/definitions/validate-funding##data" } } - }, - "validate-funding_Request##body##data##attributes##lines" : { - "properties" : { - "costCenter" : { - "type" : "string" - }, - "fund" : { - "type" : "string" - }, - "functionId" : { - "type" : "string" - }, - "ledgerAccount" : { - "type" : "string" - }, - "projectType" : { - "type" : "string" - }, - "project" : { - "type" : "string" - }, - "program" : { - "type" : "string" - }, - "spendCategory" : { - "type" : "string" - } - } - }, - "validate-funding_Request##body##data##attributes" : { - "properties" : { - "company" : { - "type" : "string" - }, - "accountingDate" : { - "type" : "string" - }, - "ledger" : { - "type" : "string" - }, - "lines" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/validate-funding_Request##body##data##attributes##lines" - } - } - } - }, - "validate-funding_Request##body##data" : { - "properties" : { - "type" : { - "type" : "string" - }, - "attributes" : { - "$ref" : "#/definitions/validate-funding_Request##body##data##attributes" - } - } - }, - "validate-funding_Request##body" : { - "properties" : { - "data" : { - "$ref" : "#/definitions/validate-funding_Request##body##data" - } - } - }, - "validate-funding_Request" : { - "properties" : { - "body" : { - "$ref" : "#/definitions/validate-funding_Request##body" - } - } } } }