GET api/measure?orgnumber={orgnumber}&measureid={measureid}

Get a measure of an organization using the organization's registration number

Request Information

Parameters

NameDescription
orgnumber
The registration number of an organization. Can be either a single number or multiple numbers seperated by a comma (5534972213,5518473546,5523189879)
measureid
[Optional] The ID of a measure. Defaults to ID 581 (Greenhouse Gas Emission)
apikey
API key

Response Information

Sample response code

application/json

{
    "org": {
        "id":123,
        "name":"Demo company",
        "orgNumber":"551234-1234",
        "countryId":190,
        "industryId":3,
        "hasData":true
    },
    "measure": [
        {
            "id":581,
            "title":"Utsläpp av växthusgaser",
            "unit":"ton",
            "dataYears":[
                2009,
                2010,
                2011,
                2012
            ],
            "values": [
                {
                    "year":2009,
                    "total":4614,
                    "docReference": {
                        "id":456,
                        "title":"Hållbarhetsredovisning 2009",
                        "description":"Demo company's Hållbarhetsredovisning 2009",
                        "url":"https://worldfavordata.blob.core.windows.net/orgdocuments/h2133v034726097246506709157513jml8x5.pdf",
                        "fileType":"pdf"
                    },
                    "details": [
                        {
                            "title":"Scope 1",
                            "value":185
                        },
                        {
                            "title":"Scope 2",
                            "value":2445
                        },
                        {
                            "title":"Scope 3",
                            "value":1984
                        }
                    ]
                }, ...
            ]
        }, ...
    ]
}