PUT api/v2/contact/physical/{id}
mise à jour d'un contact de type personne
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
PersonDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BirthDate |
Prénom(s) |
date |
None. |
| Title |
Titre de civilité |
Title |
None. |
| LastName |
Nom |
string |
None. |
| FirstNames |
Prénom(s) |
string |
None. |
| Position |
Position |
ContactPosition |
None. |
| PersonnalPhone |
Numéro de mobile personnel |
string |
None. |
| CompanyName |
Société/agence du contact |
string |
None. |
| CompanyId |
Société/agence du contact |
globally unique identifier |
None. |
| TierType |
Type de contact |
string |
None. |
| ContactId |
Identifiant du contact |
globally unique identifier |
None. |
| Code |
Code |
string |
None. |
| Fix |
Numéro de ligne fixe |
string |
None. |
| Mobile |
Numéro de ligne mobile |
string |
None. |
| Fax |
Numéro de fax |
string |
None. |
|
Addresse email |
string |
None. |
|
| Subcontractor |
Sous traitance |
boolean |
None. |
| OdooId |
Identifiant Odoo du contact |
integer |
None. |
| Zoi |
Zone d'intérêt rattaché au contact |
AreaOfInterestDto |
None. |
| Archived |
Archived |
boolean |
None. |
Request Formats
application/json, text/json
{
"BirthDate": "2025-11-30T11:55:12.1560065+00:00",
"Title": 0,
"LastName": "sample string 1",
"FirstNames": "sample string 2",
"Position": 0,
"PersonnalPhone": "sample string 3",
"CompanyName": "sample string 4",
"CompanyId": "8ecd54c6-c7aa-43ec-b5f8-8c6d4f39670a",
"TierType": "sample string 5",
"ContactId": "2cc3c059-7150-40e4-b124-30afd5861390",
"Code": "sample string 7",
"Fix": "sample string 8",
"Mobile": "sample string 9",
"Fax": "sample string 10",
"Email": "sample string 11",
"Subcontractor": true,
"OdooId": 1,
"Zoi": {
"AoiId": "39e00b68-a1ac-49b8-a623-124f6003efe1",
"ISOCountryCode": "sample string 2",
"ShowOnMap": true,
"Radius": 4,
"UsedByTMSSteps": true,
"Latitude": 1.1,
"Longitude": 1.1,
"StreetNumber": 1,
"FirstPartAddress": "sample string 7",
"SecondPartAddress": "sample string 8",
"ZIPCode": "sample string 9",
"City": "sample string 10"
},
"Archived": true
}
application/xml, text/xml
<PersonDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contact">
<Archived>true</Archived>
<Code>sample string 7</Code>
<ContactId>2cc3c059-7150-40e4-b124-30afd5861390</ContactId>
<Email>sample string 11</Email>
<Fax>sample string 10</Fax>
<Fix>sample string 8</Fix>
<Mobile>sample string 9</Mobile>
<OdooId>1</OdooId>
<Subcontractor>true</Subcontractor>
<TierType>sample string 5</TierType>
<Zoi>
<City>sample string 10</City>
<FirstPartAddress>sample string 7</FirstPartAddress>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<SecondPartAddress>sample string 8</SecondPartAddress>
<StreetNumber>1</StreetNumber>
<ZIPCode>sample string 9</ZIPCode>
<AoiId>39e00b68-a1ac-49b8-a623-124f6003efe1</AoiId>
<ISOCountryCode>sample string 2</ISOCountryCode>
<Name>sample string 5</Name>
<Radius>4</Radius>
<ShowOnMap>true</ShowOnMap>
<UsedByTMSSteps>true</UsedByTMSSteps>
</Zoi>
<CompanyId>8ecd54c6-c7aa-43ec-b5f8-8c6d4f39670a</CompanyId>
<CompanyName>sample string 4</CompanyName>
<FirstNames>sample string 2</FirstNames>
<LastName>sample string 1</LastName>
<PersonnalPhone>sample string 3</PersonnalPhone>
<Position>Director</Position>
<BirthDate>2025-11-30T11:55:12.1560065+00:00</BirthDate>
<Title>Doctor</Title>
</PersonDto>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IPersonDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId |
Identifiant du contact |
globally unique identifier |
None. |
| BirthDate |
Prénom(s) |
date |
None. |
| Title |
Titre de civilité |
Title |
None. |
| Code |
Code |
string |
None. |
| Fix |
Numéro de ligne fixe |
string |
None. |
| Mobile |
Numéro de ligne mobile |
string |
None. |
| Fax |
Numéro de fax |
string |
None. |
|
Addresse email |
string |
None. |
|
| Subcontractor |
Sous traitant |
boolean |
None. |
| Archived |
Archived |
boolean |
None. |
| LastName |
Nom |
string |
None. |
| FirstNames |
Prénom(s) |
string |
None. |
| Position |
Position |
ContactPosition |
None. |
| PersonnalPhone |
Numéro de mobile personnel |
string |
None. |
| CompanyId |
Société/agence du contact |
globally unique identifier |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.