CGIAR Entities
Summary
The list of REST-API services below contains some of the most important general control lists for SMO Finance and operation group and that can also be used to standardize and provide interoperability across any other CGIAR platforms.
Methods
Functionality
Parameters
<> | |
Request URL: https://clarisatest.ciat.cgiar.org/api/onecgiar-entities |
State code: 200: OK
[
{
"acronym" : "string",
"financialCode" : "string",
"cgiarEntityTypeDTO": {
"code" : 0,
"name" : "string"
} ,
"code" : 0,
"name" : "string"
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/cgiar-entity-types |
State code: 200: OK
[
{
"code" : 0,
"name" : "string"
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
CGIAR Accounts
Summary
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/accounts |
State code: 200: OK
[
{
"code" : 0,
"description" : "string",
"financialCode" : "string",
"accountType" : {
"id" : 0,
"name" : "string"
}
"parent" : {
"code" : 0,
"description" : "string"
}
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/accountTypes |
State code: 200: OK
[
{
"id" : 0,
"name" : "string"
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
CGIAR Science Groups
Summary
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/scienceGroups |
State code: 200: OK
[
{
"code" : 0,
"financialCode" : "string",
"description" : "string",
"parent" : {
"code" : 0,
"description" : "string"
}
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
CGIAR Units
Summary
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/units |
State code: 200: OK
[
{
"code" : 0,
"financialCode" : "string",
"description" : "string",
"unitType" : {
"code" : 0,
"acronym" : "string",
"description" : "string"
}
"parent" : {
"code" : 0,
"description" : "string"
}
"scienceGroup" : {
"code" : 0,
"description" : "string"
}
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
Funding Sources
Coming Soon
Impact Areas
Summary
methods
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/impact-areas |
State code: 200: OK
[
{
"id" : "long",
"name" : "String",
"description" : "String",
"financialCode" : "String"
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found
Functionality
Parameters
Request URL: https://clarisatest.ciat.cgiar.org/api/allSDG |
State code: 200: OK
[
{
"usndCode" : "long",
"shortName" : "String",
"fullName" : "String",
"financialCode" : "String"
}
]
State code: 400
Bad Request
State code: 401
Unauthorized
State code: 403
Forbidden
State code: 404
Not Found