Update identity type
PUT/IdentityTypes/:identityTypeCode
Update identity type
Request​
Path Parameters
The Identity type code.
- application/json
Body
The identity Type to update.
The display title of the identity document type.
updateInfo object
Audit metadata capturing who last updated this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
Responses​
- 200
- 400
- 404
- 406
The address Type was updated.
- application/json
- Schema
- Example (from schema)
Schema
The unique code identifying the branch.
The display title of the branch.
The street address of the branch.
The postal code of the branch location.
The city where the branch is located.
The province or region where the branch is located.
The ISO country code where the branch is located.
createInfo object
Audit metadata capturing who created this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
updateInfo object
Audit metadata capturing who last updated this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
{
"branchCode": "string",
"branchTitle": "string",
"branchAddress": "string",
"branchPostCode": "string",
"branchCityName": "string",
"branchProvinceName": "string",
"branchCountryCode": "string",
"createInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
},
"updateInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
}
}
The address Type is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
An address Type with the specified address Type code could not be found.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
Incorrect JSON format.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}