Get all natural Persons
GET/sint/naturalPerson/
Get all natural Persons
Request
Responses
- 200
- 401
- 4XX|5XX
List every Natural Person, if it empty, there is no Natural Person in the database
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Gender stringnullable
The person gender
LastName stringnullablerequired
Last name
FirstName stringnullablerequired
First name
OtherFirstNames stringnullable
Other first name
MaidenName stringnullable
Maiden name
DateOfBirth date-timenullablerequired
CountryOfCitizenship stringnullable
Country of citizenship
CountryOfCitizenship2 stringnullable
Second country of citizenship
Birthplace stringnullable
Birthplace
StateOfBirth stringnullable
State of birth
NIF stringnullable
Comments stringnullable
CodeLangue stringnullable
ActivityCode integernullable
Activity Code
CSPCode integernullable
CSP Code
countryOfBirth stringnullable
Country of birth
identityUuid stringnullable
uuid stringnullable
[
{
"Gender": "Mr",
"LastName": "DOE",
"FirstName": "John",
"OtherFirstNames": "Bar Waldo",
"MaidenName": "Foo",
"DateOfBirth": "1994-03-24",
"CountryOfCitizenship": "FR",
"CountryOfCitizenship2": "LU",
"Birthplace": "Paris",
"StateOfBirth": "Île-de-France",
"NIF": "string",
"Comments": "string",
"CodeLangue": "string",
"ActivityCode": "2",
"CSPCode": "2",
"countryOfBirth": "TN",
"identityUuid": "4895ae38-a3fa-4ace-bdef-cc31fe5526a0",
"uuid": "4895ae38-a3fa-4ace-bdef-cc31fe5526a0"
}
]
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": "400",
"internal_code": "3001",
"message": "Incorect data"
}
Loading...