POST api/v2/contact/physical
Création d'un contact de type personne
Request Information
URI Parameters
None.
Body Parameters
PersonDefinitionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId |
identifiant |
globally unique identifier |
None. |
| CustomerId |
identifiant du client |
globally unique identifier |
None. |
| DistributorId |
identifiant du distributor |
globally unique identifier |
None. |
| AgentId |
identifiant du concessionnaire |
globally unique identifier |
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. |
| BirthDate |
Prénom(s) |
date |
None. |
| Title |
Titre de civilité |
Title |
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. |
| TierType |
Type de contact |
string |
None. |
Request Formats
application/json, text/json
{
"ContactId": "7f7fa29e-d689-4a86-8f5d-c939309929e5",
"CustomerId": "e82328d8-f494-4127-8b4e-9a99be3f92b7",
"DistributorId": "946971b4-17bb-48f0-aaeb-0cd7c105c52c",
"AgentId": "e579362b-cbf9-440f-8efb-b473e6c5608a",
"LastName": "sample string 1",
"FirstNames": "sample string 2",
"Position": 0,
"PersonnalPhone": "sample string 3",
"CompanyId": "7e66bc0f-d5fa-4f58-88e7-a9bfffff08a1",
"BirthDate": "2025-11-30T11:53:36.1062962+00:00",
"Title": 0,
"Code": "sample string 5",
"Fix": "sample string 6",
"Mobile": "sample string 7",
"Fax": "sample string 8",
"Email": "sample string 9",
"Subcontractor": true,
"OdooId": 1,
"Zoi": {
"AoiId": "00e15aa6-6e74-4d10-bdfc-16429323f93d",
"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,
"TierType": "sample string 12"
}
application/xml, text/xml
<PersonDefinitionDto 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 5</Code>
<ContactId>4bc6553e-6b63-4bb2-a25f-f022a22211c6</ContactId>
<Email>sample string 9</Email>
<Fax>sample string 8</Fax>
<Fix>sample string 6</Fix>
<Mobile>sample string 7</Mobile>
<OdooId>1</OdooId>
<Subcontractor>true</Subcontractor>
<TierType>sample string 12</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>00e15aa6-6e74-4d10-bdfc-16429323f93d</AoiId>
<ISOCountryCode>sample string 2</ISOCountryCode>
<Name>sample string 5</Name>
<Radius>4</Radius>
<ShowOnMap>true</ShowOnMap>
<UsedByTMSSteps>true</UsedByTMSSteps>
</Zoi>
<AgentId>e579362b-cbf9-440f-8efb-b473e6c5608a</AgentId>
<BirthDate>2025-11-30T11:53:36.1062962+00:00</BirthDate>
<CompanyId>7e66bc0f-d5fa-4f58-88e7-a9bfffff08a1</CompanyId>
<ContactId>7f7fa29e-d689-4a86-8f5d-c939309929e5</ContactId>
<CustomerId>e82328d8-f494-4127-8b4e-9a99be3f92b7</CustomerId>
<DistributorId>946971b4-17bb-48f0-aaeb-0cd7c105c52c</DistributorId>
<FirstNames>sample string 2</FirstNames>
<LastName>sample string 1</LastName>
<PersonnalPhone>sample string 3</PersonnalPhone>
<Position>Director</Position>
<Title>Doctor</Title>
</PersonDefinitionDto>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
PersonLightDto| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
Response Formats
application/json, text/json
{
"LastName": "sample string 1",
"FirstNames": "sample string 2",
"Position": 0,
"PersonnalPhone": "sample string 3",
"CompanyName": "sample string 4",
"CompanyId": "f249e9c0-45c2-4c80-afc6-528c048ae710",
"TierType": "sample string 5",
"ContactId": "3c379561-e221-494f-abef-d9898b5ef28c",
"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": "e980e1c5-4c9e-4702-808c-2921dd67f796",
"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
<PersonLightDto 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>3c379561-e221-494f-abef-d9898b5ef28c</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>e980e1c5-4c9e-4702-808c-2921dd67f796</AoiId>
<ISOCountryCode>sample string 2</ISOCountryCode>
<Name>sample string 5</Name>
<Radius>4</Radius>
<ShowOnMap>true</ShowOnMap>
<UsedByTMSSteps>true</UsedByTMSSteps>
</Zoi>
<CompanyId>f249e9c0-45c2-4c80-afc6-528c048ae710</CompanyId>
<CompanyName>sample string 4</CompanyName>
<FirstNames>sample string 2</FirstNames>
<LastName>sample string 1</LastName>
<PersonnalPhone>sample string 3</PersonnalPhone>
<Position>Director</Position>
</PersonLightDto>