Create and execute a Conformance Suite test plan for the given organisation
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
-
The organisation ID
Minimum length is
1
, maximum length is40
. Format should match the following pattern:^[^<>]*$
.
Body Required
-
The family type of the resource url to be tested (for example channels_branches)
Format should match the following pattern:
^[^<>]*$
. -
The url of the API to be tested (for example, https://matls-api.mockbank.poc.raidiam.io/open-banking/products-services/v1/personal-accounts)
Format should match the following pattern:
^[^<>]*$
. -
The version of the api family to be tested (for example 1.0.0)
Format should match the following pattern:
^[^<>]*$
.
Responses
-
201 application/json
Result of the conformance suite test run
-
400 application/json
Bad Request
-
Unauthorized
-
Forbidden
-
Conflict
-
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 \
-X POST https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}/conformancetest \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-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" \
-d '{"ApiFamilyType":"string","ResourceUrl":"string","Version":"string"}'
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"ApiFamilyType": "string",
"ResourceUrl": "string",
"Version": "string"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errorCount": 42,
"errors": [
"string"
],
"result": true,
"testPlanUrl": "string"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}