From acf031f5f543b476c8d7203c7f26dd601e1a75a3 Mon Sep 17 00:00:00 2001 From: Patrick Roe <patrick.roe@wisc.edu> Date: Tue, 26 Sep 2023 15:33:08 -0500 Subject: [PATCH] Upload new version --- getjournals.json | 257 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 getjournals.json diff --git a/getjournals.json b/getjournals.json new file mode 100644 index 0000000..aaa9747 --- /dev/null +++ b/getjournals.json @@ -0,0 +1,257 @@ +{ + "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" : { + "/journals" : { + "get" : { + "tags" : [ "getjournals" ], + "summary" : null, + "description" : null, + "operationId" : "getjournals", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getjournals" + } + } + } + } + } + }, + "definitions" : { + "getjournals##data##attributes##lines" : { + "properties" : { + "activity" : { + "type" : "string" + }, + "budgetDate" : { + "type" : "string" + }, + "company" : { + "type" : "string" + }, + "costCenter" : { + "type" : "string" + }, + "creditAmount" : { + "type" : "number" + }, + "currency" : { + "type" : "string" + }, + "debitAmount" : { + "type" : "number" + }, + "excludeFromSpendReport" : { + "type" : "boolean" + }, + "functionId" : { + "type" : "string" + }, + "fund" : { + "type" : "string" + }, + "gift" : { + "type" : "string" + }, + "grant" : { + "type" : "string" + }, + "ledgerAccount" : { + "type" : "string" + }, + "lineId" : { + "type" : "string" + }, + "lineNumber" : { + "type" : "number" + }, + "lineOrder" : { + "type" : "string" + }, + "location" : { + "type" : "string" + }, + "memo" : { + "type" : "string" + }, + "objectClass" : { + "type" : "string" + }, + "program" : { + "type" : "string" + }, + "project" : { + "type" : "string" + }, + "projectType" : { + "type" : "string" + }, + "revenueCategory" : { + "type" : "string" + }, + "spendCategory" : { + "type" : "string" + }, + "sponsor" : { + "type" : "string" + }, + "supplier" : { + "type" : "string" + } + } + }, + "getjournals##data##attributes" : { + "properties" : { + "accountingDate" : { + "type" : "string" + }, + "book" : { + "type" : "string" + }, + "company" : { + "type" : "string" + }, + "creationDate" : { + "type" : "string" + }, + "externalReferenceId" : { + "type" : "string" + }, + "journalNumber" : { + "type" : "string" + }, + "journalSource" : { + "type" : "string" + }, + "ledger" : { + "type" : "string" + }, + "ledgerPeriod" : { + "type" : "string" + }, + "lines" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getjournals##data##attributes##lines" + } + }, + "memo" : { + "type" : "string" + }, + "sequenceNumber" : { + "type" : "string" + }, + "status" : { + "type" : "string" + }, + "totalCredits" : { + "type" : "number", + "format" : "double" + }, + "totalDebits" : { + "type" : "number", + "format" : "double" + }, + "transactionDate" : { + "type" : "string" + }, + "updatedDate" : { + "type" : "string" + } + } + }, + "getjournals##data##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getjournals##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getjournals##data##attributes" + }, + "id" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/getjournals##data##links" + }, + "type" : { + "type" : "string" + } + } + }, + "getjournals##links" : { + "properties" : { + "first" : { + "type" : "string" + }, + "last" : { + "type" : "string" + }, + "next" : { + "type" : "string" + }, + "prev" : { + "type" : "string" + }, + "self" : { + "type" : "string" + } + } + }, + "getjournals##meta" : { + "properties" : { + "pageNumber" : { + "type" : "number", + "format" : "int32" + }, + "pageSize" : { + "type" : "number", + "format" : "int32" + }, + "totalCount" : { + "type" : "number", + "format" : "int32" + }, + "totalPages" : { + "type" : "number", + "format" : "int32" + } + } + }, + "getjournals" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getjournals##data" + } + }, + "links" : { + "$ref" : "#/definitions/getjournals##links" + }, + "meta" : { + "$ref" : "#/definitions/getjournals##meta" + } + } + } + } +} \ No newline at end of file -- GitLab