PUT Person/update/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ApiFromBodyPersonUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonType | PersonType |
Required |
|
| Name | string |
Max length: 100 |
|
| LastName1 | string |
Max length: 100 |
|
| LastName2 | string |
Max length: 100 |
|
| BusinessName | string |
Max length: 100 |
|
| CommercialName | string |
Max length: 100 |
|
| BusinessPerson | string |
Range: inclusive between 0 and 1 |
|
| DateOfBirth | date |
None. |
|
| Activity | byte |
None. |
|
| OriginISOCountryCode | string |
Max length: 2 |
|
| OriginCountryId | integer |
None. |
|
| IsPublicOffice | boolean |
None. |
|
| Gender | string |
Max length: 1 |
Request Formats
application/json, text/json
Sample:
{
"personType": 1,
"name": "sample string 1",
"lastName1": "sample string 2",
"lastName2": "sample string 3",
"businessName": "sample string 4",
"commercialName": "sample string 5",
"businessPerson": "sample string 6",
"dateOfBirth": "2026-06-23T06:16:03.2877242+02:00",
"activity": 64,
"originISOCountryCode": "sample string 8",
"originCountryId": 1,
"isPublicOffice": true,
"gender": "sample string 9"
}
multipart/form-data
Sample:
{"personType":1,"name":"sample string 1","lastName1":"sample string 2","lastName2":"sample string 3","businessName":"sample string 4","commercialName":"sample string 5","businessPerson":"sample string 6","dateOfBirth":"2026-06-23T06:16:03.2877242+02:00","activity":64,"originISOCountryCode":"sample string 8","originCountryId":1,"isPublicOffice":true,"gender":"sample string 9"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.