From a65374a0bf970c68e2d7b00c2e74ef6bd88d9efe Mon Sep 17 00:00:00 2001 From: Rebecca Wheeler <rebecca.wheeler@wisc.edu> Date: Fri, 25 Oct 2024 10:22:33 -0500 Subject: [PATCH] Update file Get_Costcenters.json --- EI-IICS-Team/FP&M_PoC/Get_Costcenters.json | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 EI-IICS-Team/FP&M_PoC/Get_Costcenters.json diff --git a/EI-IICS-Team/FP&M_PoC/Get_Costcenters.json b/EI-IICS-Team/FP&M_PoC/Get_Costcenters.json new file mode 100644 index 0000000..b16cb5f --- /dev/null +++ b/EI-IICS-Team/FP&M_PoC/Get_Costcenters.json @@ -0,0 +1,152 @@ +{ + "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" : { + "/costCenters" : { + "get" : { + "tags" : [ "Get_Costcenters" ], + "summary" : null, + "description" : null, + "operationId" : "Get_Costcenters", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "pageNumber", + "in" : "query", + "description" : null, + "required" : false, + "type" : "number", + "format" : "int32" + }, { + "name" : "pageSize", + "in" : "query", + "description" : null, + "required" : false, + "type" : "number", + "format" : "int32" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/Get_Costcenters" + } + } + } + } + } + }, + "definitions" : { + "Get_Costcenters##data##attributes" : { + "properties" : { + "active" : { + "type" : "boolean" + }, + "company" : { + "type" : "string" + }, + "name" : { + "type" : "string" + } + } + }, + "Get_Costcenters##data##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "Get_Costcenters##data##meta" : { + "properties" : { + "dttmLoaded" : { + "type" : "string" + } + } + }, + "Get_Costcenters##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/Get_Costcenters##data##attributes" + }, + "id" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/Get_Costcenters##data##links" + }, + "meta" : { + "$ref" : "#/definitions/Get_Costcenters##data##meta" + }, + "type" : { + "type" : "string" + } + } + }, + "Get_Costcenters##links" : { + "properties" : { + "first" : { + "type" : "string" + }, + "last" : { + "type" : "string" + }, + "next" : { + "type" : "string" + }, + "prev" : { + "type" : "string" + }, + "self" : { + "type" : "string" + } + } + }, + "Get_Costcenters##meta" : { + "properties" : { + "pageNumber" : { + "type" : "number", + "format" : "int32" + }, + "pageSize" : { + "type" : "number", + "format" : "int32" + }, + "totalCount" : { + "type" : "number", + "format" : "int32" + }, + "totalPages" : { + "type" : "number", + "format" : "int32" + } + } + }, + "Get_Costcenters" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/Get_Costcenters##data" + } + }, + "links" : { + "$ref" : "#/definitions/Get_Costcenters##links" + }, + "meta" : { + "$ref" : "#/definitions/Get_Costcenters##meta" + } + } + } + } +} \ No newline at end of file -- GitLab