Skip to content
Snippets Groups Projects
Commit 13243e38 authored by Betty Thompson's avatar Betty Thompson
Browse files

Upload New File

parent 1f858422
No related branches found
No related tags found
No related merge requests found
{
"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"
}
}
}
}
}
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