POST authorization/token/{authCode}/loguse

Use this to register that you have used the right given to you with the consent.

Request Information

Parameters

NameDescriptionAdditional information
authCode Your authorization code. You get an authorization code when you have successfully been granted a consent.

Define this parameter in the request URI.

logUseData Details about the consent that was used. See the LogUseData model.

Define this parameter in the request body.

Request body formats

application/hal+xml

Sample:
<resource rel="consent">
    <ServiceCode>string</ServiceCode>
    <ServiceEditionCode>integer</ServiceEditionCode>
    <UsageDateTime>datetime, ISO 8601</UsageDateTime>
</resource>
                    

application/hal+json

Sample:
{
    ServiceCode: "string",
    ServiceEditionCode: integer,
    UsageDateTime: "datetime, ISO 8601"
}
                    

Response body formats

application/hal+xml

No sample

application/hal+json

Sample:
{
    "Secret": "h43ofah43fuha43hfjlrkeahfa98743gh",
    "UserName": "enterpriseuser123",
    "Created": "2021-07-06T11:06:30.9786158+02:00",
    "OwnerOrgNo": "910494392"
}