Get the authority claims for the given organisation

View as Markdown
GET /organisations/{OrganisationId}/authorityclaims

Headers

  • x-fapi-auth-date string

    The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC

    Format should match the following pattern: ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$.

  • x-fapi-customer-ip-address string

    The PSU's IP address if the PSU is currently logged in with the TPP.

  • x-fapi-interaction-id string

    An RFC4122 UID used as a correlation id.

  • x-customer-user-agent string

    Indicates the user-agent that the PSU is using.

Path parameters

  • OrganisationId string Required

    The organisation ID

    Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

Query parameters

  • page integer

    The page number to return of the result set

  • size integer

    The size of the pages to return

  • sort string

    The field name to sort

Responses

  • 200 application/json

    All authority claims for the organisation

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

    Hide response attributes Show response attributes object
    • AuthorisationDomain string Deprecated

      Authorisation domain name. Deprecated in favour of providing the ID. Note, when fully deprecated, will still be returned in the response object

      Format should match the following pattern: ^[^<>]*$.

    • AuthorisationDomainID string(uuid)

      Unique identifier for an authorisation domain

    • AuthorisationDomainRoleIdentifier string(uuid)

      Unique identifier for an authorisation domain role

    • AuthorityId string(uuid) Required

      Unique ID associated with the Authorisation reference schema

      Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

    • RegistrationId string

      Registration ID for the organisation

      Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

    • Role string Deprecated

      Authorisation domain role name. Deprecated in favour of providing the ID. Note, when fully deprecated, will still be returned in the response object

      Format should match the following pattern: ^[^<>]*$.

    • UniqueTechnicalIdentifiers array[string]

      Not more than 16 elements. Maximum length of each is 255. Format of each should match the following pattern: ^[^<>]*$.

    • Status string Required

      Current status of this resource

      Values are Active or Inactive. Default value is Active.

    • Authorisations array[object]
      Hide Authorisations attributes Show Authorisations attributes object
      • MemberState string

        Abbreviated states information i.e. GB, IE, NL etc

        Maximum length is 2. Format should match the following pattern: ^[^<>]*$.

      • Status string

        Current status of this resource

        Values are Active or Inactive. Default value is Active.

    • Exclusive boolean

      An organization that claims an exclusive role cannot claim any other roles

    • Metadata object

      Authorisation domain role metadata

    • OrganisationAuthorityClaimId string(uuid)

      Unique ID associated with an organisation authority domain role claim

      Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

    • OrganisationId string

      Unique ID associated with the organisation

      Minimum length is 1, maximum length is 40. Format should match the following pattern: ^[^<>]*$.

    • RoleType string

      Type of authorisation domain role

      Maximum length is 255. Format should match the following pattern: ^[^<>]*$.

  • 400 application/json

    Bad Request

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

    Hide response attribute Show response attribute object
    • errors array[string]

      Validation Error messages

  • 401

    Unauthorized

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 403

    Forbidden

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 404 application/json

    Not found

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

    Hide response attribute Show response attribute object
    • errors array[string]

      Validation Error messages

  • 406

    Not Acceptable

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 429

    Too many requests, maximum capacity reached. Requests are now throttled.

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 500

    Internal Server Error

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 502

    Bad Gateway

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

  • 504

    Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.

    Hide headers attribute Show headers attribute
    • x-fapi-interaction-id string

      An RFC4122 UID used as a correlation id.

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-]{0,99}$.

GET /organisations/{OrganisationId}/authorityclaims
curl \
 --request GET 'https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}/authorityclaims' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "x-fapi-auth-date: string" \
 --header "x-fapi-customer-ip-address: string" \
 --header "x-fapi-interaction-id: string" \
 --header "x-customer-user-agent: string"
Response examples (200)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
[
  {
    "AuthorisationDomain": "string",
    "AuthorisationDomainID": "string",
    "AuthorisationDomainRoleIdentifier": "string",
    "AuthorityId": "string",
    "RegistrationId": "string",
    "Role": "PAGTO",
    "UniqueTechnicalIdentifiers": [
      "string"
    ],
    "Status": "Active",
    "Authorisations": [
      {
        "MemberState": "string",
        "Status": "Active"
      }
    ],
    "Exclusive": true,
    "Metadata": {},
    "OrganisationAuthorityClaimId": "string",
    "OrganisationId": "string",
    "RoleType": "string"
  }
]
Response examples (400)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
{
  "errors": [
    "string"
  ]
}
Response examples (404)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
{
  "errors": [
    "string"
  ]
}