diff --git a/ASP-IICS-Team/GetCostCenter/getcostcenter.json b/ASP-IICS-Team/GetCostCenter/getcostcenter.json index d130464ca92a5ac0d0760b81e6f09fe4922df22d..d11cca134900e4c0de8388d5fad916a9bdd6fdf7 100644 --- a/ASP-IICS-Team/GetCostCenter/getcostcenter.json +++ b/ASP-IICS-Team/GetCostCenter/getcostcenter.json @@ -14,10 +14,10 @@ "paths" : { "/costCenters" : { "get" : { - "tags" : [ "getcostcenter" ], + "tags" : [ "get_cost_center" ], "summary" : null, "description" : null, - "operationId" : "getcostcenter", + "operationId" : "get_cost_center", "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ ], @@ -25,7 +25,7 @@ "200" : { "description" : "successful operation", "schema" : { - "$ref" : "#/definitions/getcostcenter" + "$ref" : "#/definitions/get_cost_center" } } } @@ -33,104 +33,82 @@ } }, "definitions" : { - "getcostcenter##data##attributes" : { + "get_cost_center##data##attributes##leadershipRoleAssignees" : { + "properties" : { + "id" : { + "type" : "string" + } + } + }, + "get_cost_center##data##attributes" : { "properties" : { - "active" : { - "type" : "boolean" - }, "company" : { "type" : "string" }, + "leadershipRoleAssignees" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/get_cost_center##data##attributes##leadershipRoleAssignees" + } + }, + "managerId" : { + "type" : "string" + }, "name" : { "type" : "string" + }, + "parentHierarchyId" : { + "type" : "string" } } }, - "getcostcenter##data##links" : { + "get_cost_center##data##links" : { "properties" : { "self" : { "type" : "string" } } }, - "getcostcenter##data##meta" : { + "get_cost_center##data##meta" : { "properties" : { - "dttm_loaded" : { + "dttmLoaded" : { "type" : "string" } } }, - "getcostcenter##data" : { + "get_cost_center##data" : { "properties" : { "attributes" : { - "$ref" : "#/definitions/getcostcenter##data##attributes" + "$ref" : "#/definitions/get_cost_center##data##attributes" }, "id" : { "type" : "string" }, "links" : { - "$ref" : "#/definitions/getcostcenter##data##links" + "$ref" : "#/definitions/get_cost_center##data##links" }, "meta" : { - "$ref" : "#/definitions/getcostcenter##data##meta" + "$ref" : "#/definitions/get_cost_center##data##meta" }, "type" : { "type" : "string" } } }, - "getcostcenter##links" : { + "get_cost_center##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" : { + "get_cost_center" : { "properties" : { "data" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/getcostcenter##data" - } + "$ref" : "#/definitions/get_cost_center##data" }, "links" : { - "$ref" : "#/definitions/getcostcenter##links" - }, - "meta" : { - "$ref" : "#/definitions/getcostcenter##meta" + "$ref" : "#/definitions/get_cost_center##links" } } }