Skip to content
Snippets Groups Projects
Commit dfc64d60 authored by Harsha Gummadavelli's avatar Harsha Gummadavelli
Browse files

Update getcostcenter.json

parent 63919fc1
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
"paths" : { "paths" : {
"/costCenters" : { "/costCenters" : {
"get" : { "get" : {
"tags" : [ "Get_Costcenters" ], "tags" : [ "getCostCenters_paging" ],
"summary" : null, "summary" : null,
"description" : null, "description" : null,
"operationId" : "Get_Costcenters", "operationId" : "getCostCenters_paging",
"produces" : [ "application/json" ], "produces" : [ "application/json" ],
"consumes" : [ "application/json" ], "consumes" : [ "application/json" ],
"parameters" : [ { "parameters" : [ {
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"200" : { "200" : {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
"$ref" : "#/definitions/Get_Costcenters" "$ref" : "#/definitions/getCostCenters_paging"
} }
} }
} }
...@@ -47,14 +47,27 @@ ...@@ -47,14 +47,27 @@
} }
}, },
"definitions" : { "definitions" : {
"Get_Costcenters##data##attributes" : { "getCostCenters_paging##data##attributes##leadershipRoleAssignees" : {
"properties" : {
"id" : {
"type" : "string"
}
}
},
"getCostCenters_paging##data##attributes" : {
"properties" : { "properties" : {
"active" : {
"type" : "boolean"
},
"company" : { "company" : {
"type" : "string" "type" : "string"
}, },
"leadershipRoleAssignees" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/getCostCenters_paging##data##attributes##leadershipRoleAssignees"
}
},
"managerId" : {
"type" : "string"
},
"name" : { "name" : {
"type" : "string" "type" : "string"
}, },
...@@ -63,40 +76,40 @@ ...@@ -63,40 +76,40 @@
} }
} }
}, },
"Get_Costcenters##data##links" : { "getCostCenters_paging##data##links" : {
"properties" : { "properties" : {
"self" : { "self" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"Get_Costcenters##data##meta" : { "getCostCenters_paging##data##meta" : {
"properties" : { "properties" : {
"dttmLoaded" : { "dttmLoaded" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"Get_Costcenters##data" : { "getCostCenters_paging##data" : {
"properties" : { "properties" : {
"attributes" : { "attributes" : {
"$ref" : "#/definitions/Get_Costcenters##data##attributes" "$ref" : "#/definitions/getCostCenters_paging##data##attributes"
}, },
"id" : { "id" : {
"type" : "string" "type" : "string"
}, },
"links" : { "links" : {
"$ref" : "#/definitions/Get_Costcenters##data##links" "$ref" : "#/definitions/getCostCenters_paging##data##links"
}, },
"meta" : { "meta" : {
"$ref" : "#/definitions/Get_Costcenters##data##meta" "$ref" : "#/definitions/getCostCenters_paging##data##meta"
}, },
"type" : { "type" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"Get_Costcenters##links" : { "getCostCenters_paging##links" : {
"properties" : { "properties" : {
"first" : { "first" : {
"type" : "string" "type" : "string"
...@@ -115,13 +128,13 @@ ...@@ -115,13 +128,13 @@
} }
} }
}, },
"Get_Costcenters##meta" : { "getCostCenters_paging##meta" : {
"properties" : { "properties" : {
"page[number]" : { "pageNumber" : {
"type" : "number", "type" : "number",
"format" : "int32" "format" : "int32"
}, },
"page[size]" : { "pageSize" : {
"type" : "number", "type" : "number",
"format" : "int32" "format" : "int32"
}, },
...@@ -135,19 +148,19 @@ ...@@ -135,19 +148,19 @@
} }
} }
}, },
"Get_Costcenters" : { "getCostCenters_paging" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/Get_Costcenters##data" "$ref" : "#/definitions/getCostCenters_paging##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/Get_Costcenters##links" "$ref" : "#/definitions/getCostCenters_paging##links"
}, },
"meta" : { "meta" : {
"$ref" : "#/definitions/Get_Costcenters##meta" "$ref" : "#/definitions/getCostCenters_paging##meta"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment