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 is40
. Format should match the following pattern:^[^<>]*$
.
Body
Required
-
AddressLine1
string Required Address line 1
Minimum length is
5
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
AddressLine2
string Address line 2
Maximum length is
255
. Format should match the following pattern:^[^<>]*$
. -
City
string Required City
Minimum length is
2
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
CompanyRegister
string Required Legal company register for the country, i.e. Companies House
Minimum length is
1
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
Country
string Required Country
Minimum length is
2
, maximum length is255
. -
CountryOfRegistration
string Required Country of registration for the org
Minimum length is
2
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
Flags
array[string] Unique ID of the flag
Maximum length of each is
40
. Format of each should match the following pattern:^[^<>]*$
. -
LegalEntityName
string Required Legal Entity name for the org. Usually the same as org name
Minimum length is
1
, maximum length is255
. 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})$
. -
OrganisationName
string Required Minimum length is
1
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
ParentOrganisationReference
string Parent Organisation Reference
Maximum length is
65535
. -
Postcode
string Required Postcode
Minimum length is
3
, maximum length is40
. Format should match the following pattern:^[^<>]*$
. -
RegisteredName
string Registered legal name
Maximum length is
255
. Format should match the following pattern:^[^<>]*$
. -
RegistrationId
string Registered ID for the organisation i.e. Legal Entity identifier number
Maximum length is
40
. Format should match the following pattern:^[^<>]*$
. -
RegistrationNumber
string Required Company registration number from company register i.e. Companies House registration number
Minimum length is
1
, maximum length is255
. Format should match the following pattern:^[^<>]*$
. -
Participant Terms and Conditions Signing Required
Default value is
true
. -
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
, orWithdrawn
. Default value isPending
.
Responses
-
200 application/json
Full details of the organisation including warnings on a create or update operation
-
400 application/json
Bad Request
-
Unauthorized
-
Forbidden
-
404 application/json
Not found
-
Not Acceptable
-
Too many requests, maximum capacity reached. Requests are now throttled.
-
Internal Server Error
-
Bad Gateway
-
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
curl \
--request PUT 'https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--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" \
--data '{"AddressLine1":"string","AddressLine2":"string","City":"string","CompanyRegister":"string","Country":"string","CountryOfRegistration":"string","Flags":["f81d4fae-7dec-11d0-a765-00a0c91e6bf6"],"LegalEntityName":"string","LogoUri":"https://example.com","OrganisationName":"string","ParentOrganisationReference":"string","Postcode":"string","RegisteredName":"string","RegistrationId":"string","RegistrationNumber":"string","RequiresParticipantTermsAndConditionsSigning":true,"Size":"string","Status":"Pending"}'
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"AddressLine1": "string",
"AddressLine2": "string",
"City": "string",
"CompanyRegister": "string",
"Country": "string",
"CountryOfRegistration": "string",
"Flags": [
"f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
],
"LegalEntityName": "string",
"LogoUri": "https://example.com",
"OrganisationName": "string",
"ParentOrganisationReference": "string",
"Postcode": "string",
"RegisteredName": "string",
"RegistrationId": "string",
"RegistrationNumber": "string",
"RequiresParticipantTermsAndConditionsSigning": true,
"Size": "string",
"Status": "Pending"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"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"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}