IMPORTANT Only send the parameters that you want to update for a specific principal, there is no need to send a full request with all the parameters for the Principal. However, if you have more than one principal on the Boarding Application you will need to provide all the Principal id's even if there are no changes to them or else those id's that are not provided in the request will be deleted.
Authorization: Bearer ********************[
{
"id": 744,
"dayOfBirth": "1986-10-21"
}
]curl --location --request PUT '/api/boarding-application/608/principals' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": 744,
"dayOfBirth": "1986-10-21"
}
]'[
{
"id": 744,
"title": "CEO",
"name": {
"first": "Robert",
"last": "Smith"
},
"dayOfBirth": "1986-10-21",
"ssn": null,
"nationalId": null,
"nationality": {
"id": 199
},
"driverLicense": {
"number": null,
"expiration": null,
"state": {
"id": 5
}
},
"address": {
"street": "123 Str Name",
"city": "Calabasas",
"zip": "91302",
"state": {
"id": 5
},
"country": {
"id": 199
}
},
"phone": null,
"email": null,
"ownershipPercentage": 50,
"isManagement": "No",
"isSigner": "Yes",
"isPersonalGuarantee": "Yes"
},
{
"id": 745,
"title": "CEO",
"name": {
"first": "John",
"last": "Wick"
},
"dayOfBirth": "1988-10-21",
"ssn": null,
"nationalId": null,
"nationality": {
"id": 199
},
"driverLicense": {
"number": null,
"expiration": null,
"state": {
"id": 5
}
},
"address": {
"street": "123 Str Name",
"city": "Calabasas",
"zip": "91302",
"state": {
"id": 5
},
"country": {
"id": 199
}
},
"phone": null,
"email": null,
"ownershipPercentage": 50,
"isManagement": "No",
"isSigner": "Yes",
"isPersonalGuarantee": "No"
}
]