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

Update getcostcenter.json

parent 58c3250b
No related branches found
No related tags found
No related merge requests found
......@@ -14,18 +14,32 @@
"paths" : {
"/costCenters" : {
"get" : {
"tags" : [ "getcostcenter" ],
"tags" : [ "Get_Costcenters" ],
"summary" : null,
"description" : null,
"operationId" : "getcostcenter",
"operationId" : "Get_Costcenters",
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"parameters" : [ ],
"parameters" : [ {
"name" : "page[number]",
"in" : "query",
"description" : null,
"required" : false,
"type" : "number",
"format" : "int32"
}, {
"name" : "page[size]",
"in" : "query",
"description" : null,
"required" : false,
"type" : "number",
"format" : "int32"
} ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/getcostcenter"
"$ref" : "#/definitions/Get_Costcenters"
}
}
}
......@@ -33,7 +47,7 @@
}
},
"definitions" : {
"getcostcenter##data##attributes" : {
"Get_Costcenters##data##attributes" : {
"properties" : {
"active" : {
"type" : "boolean"
......@@ -43,43 +57,46 @@
},
"name" : {
"type" : "string"
}
"parentHierarchyId" : {
"type" : "string"
}
}
},
"getcostcenter##data##links" : {
"Get_Costcenters##data##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"getcostcenter##data##meta" : {
"Get_Costcenters##data##meta" : {
"properties" : {
"dttm_loaded" : {
"dttmLoaded" : {
"type" : "string"
}
}
},
"getcostcenter##data" : {
"Get_Costcenters##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/getcostcenter##data##attributes"
"$ref" : "#/definitions/Get_Costcenters##data##attributes"
},
"id" : {
"type" : "string"
},
"links" : {
"$ref" : "#/definitions/getcostcenter##data##links"
"$ref" : "#/definitions/Get_Costcenters##data##links"
},
"meta" : {
"$ref" : "#/definitions/getcostcenter##data##meta"
"$ref" : "#/definitions/Get_Costcenters##data##meta"
},
"type" : {
"type" : "string"
}
}
},
"getcostcenter##links" : {
"Get_Costcenters##links" : {
"properties" : {
"first" : {
"type" : "string"
......@@ -98,13 +115,13 @@
}
}
},
"getcostcenter##meta" : {
"Get_Costcenters##meta" : {
"properties" : {
"pageNumber" : {
"page[number]" : {
"type" : "number",
"format" : "int32"
},
"pageSize" : {
"page[size]" : {
"type" : "number",
"format" : "int32"
},
......@@ -118,19 +135,19 @@
}
}
},
"getcostcenter" : {
"Get_Costcenters" : {
"properties" : {
"data" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/getcostcenter##data"
"$ref" : "#/definitions/Get_Costcenters##data"
}
},
"links" : {
"$ref" : "#/definitions/getcostcenter##links"
"$ref" : "#/definitions/Get_Costcenters##links"
},
"meta" : {
"$ref" : "#/definitions/getcostcenter##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