Post an authority claim for a software statement
POST/organisations/:OrganisationId/softwarestatements/:SoftwareStatementId/authorityclaims
attaches an authority claim to a software statement from the list of authority claims attached to the organisation
Request
Path Parameters
Possible values: non-empty
and <= 40 characters
, Value must match regular expression ^[^<>]*$
The organisation ID
Possible values: <= 40 characters
, Value must match regular expression ^[^<>]*$
The software statement ID
Header Parameters
Possible values: Value must match regular expression ^(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 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
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.
- application/json
Body
required
Software Statement authority claim's payload
Possible values: [Active
, Inactive
]
Default value: Active
Current status of this resource
Possible values: non-empty
and <= 30 characters
Authorisation domain for the authority
Possible values: non-empty
and <= 60 characters
, Value must match regular expression ^[^<>]*$
The authorisation domain role name
Responses
- 201
- 400
- 401
- 403
- 409
- 429
- 500
- 502
- 504
Authority claim for the given Id
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Possible values: <= 40 characters
, Value must match regular expression ^[^<>]*$
Unique Software Statement Id
Possible values: non-empty
and <= 40 characters
, Value must match regular expression ^[^<>]*$
Unique ID associated with the authority claims for a software statement
Possible values: [Active
, Inactive
]
Default value: Active
Current status of this resource
Possible values: <= 30 characters
Authorisation domain for the authority
Possible values: non-empty
and <= 60 characters
, Value must match regular expression ^[^<>]*$
The authorisation domain role name
{
"SoftwareStatementId": "string",
"SoftwareAuthorityClaimId": "string",
"Status": "Active",
"AuthorisationDomain": "string",
"Role": "PAGTO"
}
Bad Request
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Unauthorized
Response Headers
x-fapi-interaction-id
string
Forbidden
Response Headers
x-fapi-interaction-id
string
Conflict
Response Headers
x-fapi-interaction-id
string
Too many requests, maximum capacity reached. Requests are now throttled.
Response Headers
x-fapi-interaction-id
string
Internal Server Error
Response Headers
x-fapi-interaction-id
string
Bad Gateway
Response Headers
x-fapi-interaction-id
string
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
Response Headers
x-fapi-interaction-id
string