Organisation Credit Balance
Changed onInformation about active and retired credits owned by the given organisation.
Includes total balances as well as balances split by orders, projects and suppliers.
get/organisations/{id}/credit_balance
Request
- Base URLhttps://api.isometric.com/registry/v0
- URLhttps://api.isometric.com/registry/v0/organisations/{id}/credit_balance
- AuthHTTP bearer
Path parameters
idstring required
Example:org_1GB56M1ST1S0GVNA
Headers
x-client-secretstring required
A secret token identifying the client connecting to the API
Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP
Response
Successful Response
Example response
{
"total": {
"active_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
},
"retired_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
}
},
"supplier_balances": [
{
"supplier_id": "spl_1CC712KFS1S0YKPS",
"total": {
"active_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
},
"retired_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
}
}
}
],
"project_balances": [
{
"project_id": "prj_1CTWZQGKE1S0VAXA",
"total": {
"active_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
},
"retired_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
}
}
}
],
"order_balances": [
{
"order_id": "ord_1FAN3S3WV1S0B842",
"total": {
"active_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
},
"retired_credits_total": {
"credits": 125.632,
"credit_kgs": 125632
}
}
}
]
}Changes
- breaking
for the
pathrequest parameterid, the minLength was increased from0to20 - warning
for the
pathrequest parameterid, the maxLength was set to37 - info
for the
pathrequest parameterid, the type was generalized from no type tostring
- breaking
- info
for the
pathrequest parameterid, the type was generalized fromstringto no type - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
to the response with the status
- info