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

Update docs/AssetWorks-validate-funding.json

parent 809787dc
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"
"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" : "string"
},
"valid" : {
"type" : "boolean"
}
}
},
"validate-funding##data##attributes" : {
"properties" : {
"journalErrors" : {
"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"
}
},
"definitions":
{
"validate-funding##data##attributes##lines":
{
"properties":
{
"valid":
{
"type": "boolean"
},
"errors":
{
"type": "array",
"items":
{
"type": "string"
}
}
}
},
"validate-funding##data##attributes":
{
"properties":
{
"valid":
{
"type": "boolean"
},
"journalErrors":
{
"type": "array",
"items":
{
"type": "string"
}
},
"lines":
{
"type": "array",
"items":
{
"$ref": "#/definitions/validate-funding##data##attributes##lines"
}
}
}
},
"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