Skip to content
Snippets Groups Projects

Upload New File

1 file
+ 168
0
Compare changes
  • Side-by-side
  • Inline
+ 168
0
{
"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" : {
"/validate-funding" : {
"post" : {
"tags" : [ "validate-funding" ],
"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"
}
} ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/validate-funding"
}
}
}
}
}
},
"definitions" : {
"validate-funding##data##attributes##lines" : {
"properties" : {
"errors" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"valid" : {
"type" : "boolean"
}
}
},
"validate-funding##data##attributes" : {
"properties" : {
"journalErrors" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"lines" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/validate-funding##data##attributes##lines"
}
},
"valid" : {
"type" : "boolean"
}
}
},
"validate-funding##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/validate-funding##data##attributes"
},
"id" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
}
},
"validate-funding" : {
"properties" : {
"data" : {
"$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"
}
}
}
}
}
Loading