From 8f80d5f9379e10c5c02865ab2000c13814280da3 Mon Sep 17 00:00:00 2001
From: Harsha Gummadavelli <hvardhan@wisc.edu>
Date: Mon, 5 Feb 2024 08:30:02 -0600
Subject: [PATCH] Update file getcostcenter.json

---
 GetCostCenter/getcostcenter.json | 138 +++++++++++++++++++++++++++++++
 1 file changed, 138 insertions(+)
 create mode 100644 GetCostCenter/getcostcenter.json

diff --git a/GetCostCenter/getcostcenter.json b/GetCostCenter/getcostcenter.json
new file mode 100644
index 0000000..d130464
--- /dev/null
+++ b/GetCostCenter/getcostcenter.json
@@ -0,0 +1,138 @@
+{
+  "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" : [ "getcostcenter" ],
+        "summary" : null,
+        "description" : null,
+        "operationId" : "getcostcenter",
+        "produces" : [ "application/json" ],
+        "consumes" : [ "application/json" ],
+        "parameters" : [ ],
+        "responses" : {
+          "200" : {
+            "description" : "successful operation",
+            "schema" : {
+              "$ref" : "#/definitions/getcostcenter"
+            }
+          }
+        }
+      }
+    }
+  },
+  "definitions" : {
+    "getcostcenter##data##attributes" : {
+      "properties" : {
+        "active" : {
+          "type" : "boolean"
+        },
+        "company" : {
+          "type" : "string"
+        },
+        "name" : {
+          "type" : "string"
+        }
+      }
+    },
+    "getcostcenter##data##links" : {
+      "properties" : {
+        "self" : {
+          "type" : "string"
+        }
+      }
+    },
+    "getcostcenter##data##meta" : {
+      "properties" : {
+        "dttm_loaded" : {
+          "type" : "string"
+        }
+      }
+    },
+    "getcostcenter##data" : {
+      "properties" : {
+        "attributes" : {
+          "$ref" : "#/definitions/getcostcenter##data##attributes"
+        },
+        "id" : {
+          "type" : "string"
+        },
+        "links" : {
+          "$ref" : "#/definitions/getcostcenter##data##links"
+        },
+        "meta" : {
+          "$ref" : "#/definitions/getcostcenter##data##meta"
+        },
+        "type" : {
+          "type" : "string"
+        }
+      }
+    },
+    "getcostcenter##links" : {
+      "properties" : {
+        "first" : {
+          "type" : "string"
+        },
+        "last" : {
+          "type" : "string"
+        },
+        "next" : {
+          "type" : "string"
+        },
+        "prev" : {
+          "type" : "string"
+        },
+        "self" : {
+          "type" : "string"
+        }
+      }
+    },
+    "getcostcenter##meta" : {
+      "properties" : {
+        "pageNumber" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "pageSize" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "totalCount" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "totalPages" : {
+          "type" : "number",
+          "format" : "int32"
+        }
+      }
+    },
+    "getcostcenter" : {
+      "properties" : {
+        "data" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/getcostcenter##data"
+          }
+        },
+        "links" : {
+          "$ref" : "#/definitions/getcostcenter##links"
+        },
+        "meta" : {
+          "$ref" : "#/definitions/getcostcenter##meta"
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
-- 
GitLab