Frameworks

This section has operations to build up green frameworks to which green assets will be tied

Returns private or public green frameworks for a particular reporting year

POST https://api.bws.ninja/v1/call

Use this operation to retrieve green frameworks registered in ESG.Credits data repository.

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

getFrameworks

parameters*

JSON

check Operation parameters

Example responses

[
    {
        "framework_id": 3,
        "framework_identifier": "greenbond",
        "framework_name": "Good Bank Green Bond Framework",
        "framework_value_outstanding": 22224856800,
        "framework_allocated_amount": 22224856800,
        "framework_active_percentage": 1.0,
        "framework_currency_code": "SEK",
        "value_outstanding_framework": "yes",
        "framework_visibility": "private"
    }
]

Operation parameters

Parameter
Type/Format
Required
Description

reporting_year

number/4 digits

yes

Year of the taxonomy

framework_visibility

string

no

Public or private. Default is private, meaning not visible across different BWS accounts.

Example code

Returns details about a green framework for a particular reporting year

POST https://api.bws.ninja/v1/call

Use this operations to retrieve green framework details.

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

getFrameworkDetails

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

String identifier for a framework

reporting_year

number/4 digits

yes

Year of the taxonomy

language_code

string

no

Language codes as per getLanguages. Default is the original language.

Example code

Creates and updates the information about a green framework

POST https://api.bws.ninja/v1/call

Use this operation to add green frameworks to the ESG.Credits data repository.

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

addFramework

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

String identifier for a framework

framework_name

string

yes

Framework name

framework_currency_code

string

yes

Currency code of the framework, as per getCurrencies

framework_visibility

string

no

Public or private. Default is private, meaning not visible across different BWS accounts.

Example code

Adds reporting year specific details to a green framework

POST https://api.bws.ninja/v1/call

Use this operation to set up the green framework with details that are year specific.

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

addYearSpecificsToFramework

parameters

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

String identifier for a framework

value_outstanding

number

yes

Amount of funding raised to green projects for the framework as a whole, for the reporting year

allocated_amount

number

yes

Amount of funding allocated to projects for the reporting year of the framework, for the corresponding impacts registered

value_outstanding_framework

string

yes

Choose "yes" when use of proceeds relate to value outstanding, choose "no" when related to allocated amount

reporting_year

number/4 digits

yes

Year of the taxonomy

Example code

Adds and updates category and indicator values to a green framework

POST https://api.bws.ninja/v1/call

Use this operation to set up the different impact categories, indicators, and units, with specified values.

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

addCategoryIndicatorToFramework

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

String identifier for a framework

sub_category_id

number/integer

yes

Integer identifier of a sub category

sub_category_volume

number

yes

Amount of funding / use of proceeds

indicator_id

number/integer

yes

Integer identifier of an indicator

indicator_value

number

yes

ESG benefit value, in the unit specified by the taxonomy

reporting_year

number/4 digits

yes

Year of the taxonomy

Example code

removeIndicatorFromFramework

POST https://api.bws.ninja/v1/call

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

removeIndicatorFromFramework

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

indicator_id

number/integer

yes

sub_category_id

number/integer

yes

reporting_year

number/4 digits

yes

Example code

removeCategoryFromFramework

POST https://api.bws.ninja/v1/call

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

check Operation parameters

parameters*

string

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

sub_category_id

number/integer

yes

reporting_year

number/4 digits

yes

Example code

removeFrameworkYearSpecifics

POST https://api.bws.ninja/v1/call

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

removeFrameworkYearSpecifics

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

reporting_year

number/4 digits

yes

Example code

removeFramework

POST https://api.bws.ninja/v1/call

Request Body

Name
Type
Description

solution*

string

BWS.ESG.Credits

operation*

string

removeFramework

parameters*

JSON

check Operation parameters

Example responses

Operation parameters

Parameter
Type/Format
Required
Description

framework_identifier

string

yes

Example code

Last updated

Was this helpful?