Skip to content
Snippets Groups Projects
getjournals.json 5.43 KiB
Newer Older
Patrick Roe's avatar
Patrick Roe committed
{
  "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"
        }
      }
    }
  }
}