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.
Body
-
The access level of a flag as a number. The higher the number, the more sensitive it is
-
Description string
The description of this flag
Maximum length is
255
. Format should match the following pattern:^[^<>]*$
. -
The name of this flag
Maximum length is
255
. Format should match the following pattern:^[^<>]*$
. -
Current status of this resource
Values are
Active
orInactive
. Default value isActive
. -
The type of this tag
Values are
Organisation
,Software_Statement
, orAuthorisation_Server
. -
The value of this flag
Maximum length is
255
. Format should match the following pattern:^[^<>]*$
.
Responses
-
201 application/json
Response with for a single flag
-
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/references/flags \
-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 '{"AccessLevel":42,"Description":"string","Name":"string","Status":"Active","Type":"Organisation","Value":"string"}'
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"AccessLevel": 42,
"Description": "string",
"Name": "string",
"Status": "Active",
"Type": "Organisation",
"Value": "string"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"AccessLevel": 42,
"Description": "string",
"Name": "string",
"Status": "Active",
"Type": "Organisation",
"Value": "string"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}