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

Update getcostcenter.json

parent 859e2946
No related branches found
No related tags found
No related merge requests found
......@@ -14,13 +14,13 @@
"paths" : {
"/costCenters" : {
"get" : {
"tags" : [ "get_cost_center" ],
"tags" : [ "Get_Costcenters" ],
"summary" : null,
"description" : null,
"operationId" : "get_cost_center",
"operationId" : "Get_Costcenters",
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"parameters" : [ {
"parameters" : [ {
"name" : "page[number]",
"in" : "query",
"description" : null,
......@@ -39,7 +39,7 @@
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/get_cost_center"
"$ref" : "#/definitions/Get_Costcenters"
}
}
}
......@@ -47,82 +47,104 @@
}
},
"definitions" : {
"get_cost_center##data##attributes##leadershipRoleAssignees" : {
"Get_Costcenters##data##attributes" : {
"properties" : {
"id" : {
"type" : "string"
}
}
},
"get_cost_center##data##attributes" : {
"properties" : {
"company" : {
"type" : "string"
},
"leadershipRoleAssignees" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/get_cost_center##data##attributes##leadershipRoleAssignees"
}
"active" : {
"type" : "boolean"
},
"managerId" : {
"company" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"parentHierarchyId" : {
"type" : "string"
}
}
},
"get_cost_center##data##links" : {
"Get_Costcenters##data##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"get_cost_center##data##meta" : {
"Get_Costcenters##data##meta" : {
"properties" : {
"dttmLoaded" : {
"type" : "string"
}
}
},
"get_cost_center##data" : {
"Get_Costcenters##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/get_cost_center##data##attributes"
"$ref" : "#/definitions/Get_Costcenters##data##attributes"
},
"id" : {
"type" : "string"
},
"links" : {
"$ref" : "#/definitions/get_cost_center##data##links"
"$ref" : "#/definitions/Get_Costcenters##data##links"
},
"meta" : {
"$ref" : "#/definitions/get_cost_center##data##meta"
"$ref" : "#/definitions/Get_Costcenters##data##meta"
},
"type" : {
"type" : "string"
}
}
},
"get_cost_center##links" : {
"Get_Costcenters##links" : {
"properties" : {
"first" : {
"type" : "string"
},
"last" : {
"type" : "string"
},
"next" : {
"type" : "string"
},
"prev" : {
"type" : "string"
},
"self" : {
"type" : "string"
}
}
},
"get_cost_center" : {
"Get_Costcenters##meta" : {
"properties" : {
"page[number]" : {
"type" : "number",
"format" : "int32"
},
"page[size]" : {
"type" : "number",
"format" : "int32"
},
"totalCount" : {
"type" : "number",
"format" : "int32"
},
"totalPages" : {
"type" : "number",
"format" : "int32"
}
}
},
"Get_Costcenters" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/get_cost_center##data"
"type" : "array",
"items" : {
"$ref" : "#/definitions/Get_Costcenters##data"
}
},
"links" : {
"$ref" : "#/definitions/get_cost_center##links"
"$ref" : "#/definitions/Get_Costcenters##links"
},
"meta" : {
"$ref" : "#/definitions/Get_Costcenters##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