diff --git a/ASP-IICS-Team/GetCostCenter/getcostcenter.json b/ASP-IICS-Team/GetCostCenter/getcostcenter.json index d1de6edcf6f8a61c6e4184f98928f18308a68740..b928f077fb257f27200d83f97a7b1d87bd2dce35 100644 --- a/ASP-IICS-Team/GetCostCenter/getcostcenter.json +++ b/ASP-IICS-Team/GetCostCenter/getcostcenter.json @@ -14,10 +14,10 @@ "paths" : { "/costCenters" : { "get" : { - "tags" : [ "Get_Costcenters" ], + "tags" : [ "getCostCenters_paging" ], "summary" : null, "description" : null, - "operationId" : "Get_Costcenters", + "operationId" : "getCostCenters_paging", "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { @@ -39,7 +39,7 @@ "200" : { "description" : "successful operation", "schema" : { - "$ref" : "#/definitions/Get_Costcenters" + "$ref" : "#/definitions/getCostCenters_paging" } } } @@ -47,14 +47,27 @@ } }, "definitions" : { - "Get_Costcenters##data##attributes" : { + "getCostCenters_paging##data##attributes##leadershipRoleAssignees" : { + "properties" : { + "id" : { + "type" : "string" + } + } + }, + "getCostCenters_paging##data##attributes" : { "properties" : { - "active" : { - "type" : "boolean" - }, "company" : { "type" : "string" }, + "leadershipRoleAssignees" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getCostCenters_paging##data##attributes##leadershipRoleAssignees" + } + }, + "managerId" : { + "type" : "string" + }, "name" : { "type" : "string" }, @@ -63,40 +76,40 @@ } } }, - "Get_Costcenters##data##links" : { + "getCostCenters_paging##data##links" : { "properties" : { "self" : { "type" : "string" } } }, - "Get_Costcenters##data##meta" : { + "getCostCenters_paging##data##meta" : { "properties" : { "dttmLoaded" : { "type" : "string" } } }, - "Get_Costcenters##data" : { + "getCostCenters_paging##data" : { "properties" : { "attributes" : { - "$ref" : "#/definitions/Get_Costcenters##data##attributes" + "$ref" : "#/definitions/getCostCenters_paging##data##attributes" }, "id" : { "type" : "string" }, "links" : { - "$ref" : "#/definitions/Get_Costcenters##data##links" + "$ref" : "#/definitions/getCostCenters_paging##data##links" }, "meta" : { - "$ref" : "#/definitions/Get_Costcenters##data##meta" + "$ref" : "#/definitions/getCostCenters_paging##data##meta" }, "type" : { "type" : "string" } } }, - "Get_Costcenters##links" : { + "getCostCenters_paging##links" : { "properties" : { "first" : { "type" : "string" @@ -115,13 +128,13 @@ } } }, - "Get_Costcenters##meta" : { + "getCostCenters_paging##meta" : { "properties" : { - "page[number]" : { + "pageNumber" : { "type" : "number", "format" : "int32" }, - "page[size]" : { + "pageSize" : { "type" : "number", "format" : "int32" }, @@ -135,19 +148,19 @@ } } }, - "Get_Costcenters" : { + "getCostCenters_paging" : { "properties" : { "data" : { "type" : "array", "items" : { - "$ref" : "#/definitions/Get_Costcenters##data" + "$ref" : "#/definitions/getCostCenters_paging##data" } }, "links" : { - "$ref" : "#/definitions/Get_Costcenters##links" + "$ref" : "#/definitions/getCostCenters_paging##links" }, "meta" : { - "$ref" : "#/definitions/Get_Costcenters##meta" + "$ref" : "#/definitions/getCostCenters_paging##meta" } } }