Update the contacts for the given organisation
PUT/organisations/:OrganisationId/contacts/:ContactId
udpate a specific contact
Request
Path Parameters
Possible values: non-empty
and <= 40 characters
, Value must match regular expression ^[^<>]*$
The organisation ID
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
The contact 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
Properties to update contacts
Possible values: Value must match regular expression ^[^<>]*$
Default value: Business
The type of Contact, default contact type is Business.
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
Possible values: non-empty
and <= 18 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Address line 1
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Address line 2
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
City
Possible values: <= 40 characters
, Value must match regular expression ^[^<>]*$
Postcode
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Country
Possible values: <= 65535 characters
, Value must match regular expression ^[^<>]*$
Any additional user information
Possible values: <= 65535 characters
, Value must match regular expression ^[^<>]*$
A PGP Public Key in text form
Responses
- 200
- 400
- 401
- 403
- 404
- 406
- 429
- 500
- 502
- 504
A contact object
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Possible values: Value must match regular expression ^[^<>]*$
Unique contact ID for the row.
Possible values: non-empty
and <= 40 characters
, Value must match regular expression ^[^<>]*$
Unique ID associated with the organisation
Possible values: Value must match regular expression ^[^<>]*$
Default value: Business
The type of Contact, default contact type is Business.
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
Possible values: <= 18 characters
, Value must match regular expression ^[^<>]*$
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Address line 1
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Address line 2
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
City
Possible values: <= 40 characters
, Value must match regular expression ^[^<>]*$
Postcode
Possible values: <= 255 characters
, Value must match regular expression ^[^<>]*$
Country
Possible values: <= 65535 characters
, Value must match regular expression ^[^<>]*$
Any additional user information
Possible values: <= 65535 characters
, Value must match regular expression ^[^<>]*$
A PGP Public Key in text form
{
"ContactId": "string",
"OrganisationId": "string",
"ContactType": "Business",
"FirstName": "string",
"LastName": "string",
"Department": "string",
"EmailAddress": "string",
"PhoneNumber": "string",
"AddressLine1": "string",
"AddressLine2": "string",
"City": "string",
"Postcode": "string",
"Country": "string",
"AdditionalInformation": "string",
"PgpPublicKey": "string"
}
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
Not found
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Not Acceptable
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