Edit one Natural person
PUT/sint/naturalPerson/:uuid/edit
Edit one Natural person
Request
Path Parameters
uuid stringrequired
UUID of the natural person who you want to edit
- application/json
Body
Data to send
Gender stringnullable
Possible values: [Mr
, Mme
, Mr et Mme
]
The person gender
LastName stringnullable
Last name
FirstName stringnullable
First name
OtherFirstNames stringnullable
Other first name
MaidenName stringnullable
Maiden name
DateOfBirth date-timenullable
CountryOfCitizenship stringnullable
Country of citizenship
CountryOfCitizenship2 stringnullable
Second country of citizenship
Birthplace stringnullable
Birthplace
StateOfBirth stringnullable
State of birth
ActivityCode integernullable
Activity Code
CSPCode integernullable
CSP Code
countryOfBirth stringnullable
Country of birth
Responses
- 200
- 204
- 401
- 4XX|5XX
UUID of Natural person edit
- application/json
- Schema
- Example (from schema)
Schema
success boolean
uuid string
{
"success": "true",
"uuid": "25d2a808-aa55-4ce9-983b-ba6ae46fadc7"
}
No data found with this UUID
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": "401",
"message": "JWT Token not found"
}
An error occured
- application/json
- Schema
- Example (from schema)
Schema
success boolean
code integer
internal_code integer
message string
{
"success": "false",
"code": "409",
"internal_code": "3001",
"message": "Incorect data"
}
Loading...