Get the given organisations details

GET /organisations/{OrganisationId}

Headers

  • 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)$.

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

  • An RFC4122 UID used as a correlation id.

  • 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: ^[^<>]*$.

Responses

  • 200 application/json

    Full details of the organisation including TnC information

    Hide headers attribute Show headers attribute
    • 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
    • Additional properties are allowed.

      Hide OrgDetails attributes Show OrgDetails attributes object
      • Address line 1

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

      • Address line 2

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

      • City string

        City

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

      • Legal company register for the country, i.e. Companies House

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

      • Country string

        Country

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

      • Country of registration for the org

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

      • JSONDatetime of organisation creation.

        Maximum length is 30.

      • Flags array[object]
        Hide Flags attributes Show Flags attributes object
        • AccessLevel integer Required

          The access level of a flag as a number. The higher the number, the more sensitive it is

        • The description of this flag

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

        • Name string Required

          The name of this flag

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

        • Status string Required

          Current status of this resource

          Values are Active or Inactive. Default value is Active.

        • Type string Required

          The type of this tag

          Values are Organisation, Software_Statement, or Authorisation_Server.

        • Value string Required

          The value of this flag

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

      • Legal Entity name for the org. Usually the same as org name

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

      • LogoUri string(uri)

        A compliant URI

        Format should match the following pattern: ^(http://|https://).*.(svg|png|jpg|jpeg)$|(data:image/[a-zA-Z0-9;+=-]+,[A-Za-z0-9+/]*={0,2})$.

      • Unique ID associated with the organisation

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

      • Name of the organisation.

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

      • Parent Organisation Reference

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

      • Postcode string

        Postcode

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

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

      • Registered ID for the organisation i.e. Legal Entity identifier number

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

      • Company registration number from company register i.e. Companies House registration number

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

      • true - this organisation requires terms and conditions to be signed. false - this organisation does not require terms and conditions to be signed

      • Size string

        Size of the organisation

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

      • Status string

        Status of the directory registration of an organisation

        Values are Active, Pending, or Withdrawn. Default value is Active.

    • Additional properties are allowed.

      Hide TncDetails attributes Show TncDetails attributes object
      • TnCSigned boolean

        true - the terms and conditions have been signed. false - the terms and conditions have not been signed

      • TnCUpdated boolean

        true - attached signer template has been updated. false - no tnc present/not updated

      • TnCsToBeSigned array[object]
        Hide TnCsToBeSigned attributes Show TnCsToBeSigned attributes object
        • Content string Required

          The MarkDown of the TnC

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

        • Name string Required

          The Name of the TnC

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

        • Status string

          Current status of this resource

          Values are Active or Inactive. Default value is Active.

        • TnCId integer

          Unique identifier for the Terms and Conditions Item

        • Type string Required

          Role for which this TnC applies

          Values are Participant or Directory.

  • 400 application/json

    Bad Request

    Hide headers attribute Show headers attribute
    • 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

  • Unauthorized

    Hide headers attribute Show headers attribute
    • 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}$.

  • Forbidden

    Hide headers attribute Show headers attribute
    • 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
    • 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

  • Not Acceptable

    Hide headers attribute Show headers attribute
    • 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}$.

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

    Hide headers attribute Show headers attribute
    • 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}$.

  • Internal Server Error

    Hide headers attribute Show headers attribute
    • 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}$.

  • Bad Gateway

    Hide headers attribute Show headers attribute
    • 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}$.

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

    Hide headers attribute Show headers attribute
    • 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}
curl \
 -X GET https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "x-fapi-auth-date: string" \
 -H "x-fapi-customer-ip-address: string" \
 -H "x-fapi-interaction-id: string" \
 -H "x-customer-user-agent: string"
Response examples (200)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d

# Payload
{
  "OrgDetails": {
    "AddressLine1": "string",
    "AddressLine2": "string",
    "City": "string",
    "CompanyRegister": "string",
    "Country": "string",
    "CountryOfRegistration": "string",
    "CreatedOn": "string",
    "Flags": [
      {
        "AccessLevel": 42,
        "Description": "string",
        "Name": "string",
        "Status": "Active",
        "Type": "Organisation",
        "Value": "string"
      }
    ],
    "LegalEntityName": "string",
    "LogoUri": "https://example.com",
    "OrganisationId": "string",
    "OrganisationName": "string",
    "ParentOrganisationReference": "string",
    "Postcode": "string",
    "RegisteredName": "string",
    "RegistrationId": "string",
    "RegistrationNumber": "string",
    "RequiresParticipantTermsAndConditionsSigning": true,
    "Size": "string",
    "Status": "Active"
  },
  "TncDetails": {
    "TnCSigned": true,
    "TnCUpdated": true,
    "TnCsToBeSigned": [
      {
        "Content": "string",
        "Name": "string",
        "Status": "Active",
        "TnCId": 42,
        "Type": "Participant"
      }
    ]
  }
}
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"
  ]
}