POST api/cogeo/contact/groupecontacts
Crée un contact de type 'Groupe de contacts'.
Request Information
URI Parameters
None.
Body Parameters
ApiIncomingGroupeContacts| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeGroupeContacts | TypesGroupeContacts |
None. |
|
| RegimeGroupeContacts | RegimesGroupeContacts |
None. |
|
| DateDebutRegime | date |
None. |
|
| Rcs | string |
Max length: 70 |
|
| NumIntracommunautaire | string |
Max length: 70 |
|
| Id | integer |
None. |
|
| Nom | string |
Max length: 150 |
|
| ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TypeGroupeContacts": 1,
"RegimeGroupeContacts": 1,
"DateDebutRegime": "2025-11-30T17:00:37.1604397+01:00",
"Rcs": "sample string 1",
"NumIntracommunautaire": "sample string 2",
"Id": 1,
"Nom": "sample string 3",
"ProprietesModifiees": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiIncomingGroupeContacts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoCommunServeur.Business.Api.Incoming">
<ProprietesModifiees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ProprietesModifiees>
<Id>1</Id>
<Nom>sample string 3</Nom>
<TypeContact>GroupeContacts</TypeContact>
<NumIntracommunautaire>sample string 2</NumIntracommunautaire>
<Rcs>sample string 1</Rcs>
<DateDebutRegime>2025-11-30T17:00:37.1604397+01:00</DateDebutRegime>
<RegimeGroupeContacts>Autre</RegimeGroupeContacts>
<TypeGroupeContacts>Autre</TypeGroupeContacts>
</ApiIncomingGroupeContacts>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeGroupeContacts" Autre --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RegimeGroupeContacts" Autre --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateDebutRegime" 2025-11-30T17:00:37.1604397+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeContact" GroupeContacts --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Rcs" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NumIntracommunautaire" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[0]" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[1]" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
Retourne un ApiGroupeContacts.
ApiGroupeContacts| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Identifiant unique du groupe de contacts |
integer |
None. |
| TypeGroupe |
Type de groupe de contacts |
TypesGroupeContacts |
None. |
| Regime |
Régime liant les contacts au sein du groupe de contacts |
RegimesGroupeContacts |
None. |
| DateDebutRegime |
Date de commencement du régime les contacts au sein du groupe de contacts |
date |
None. |
| RCS |
Numéro d'immatriculation au registre du commerce et des sociétés de la personne morale |
string |
None. |
| NumIntracommunautaire |
Numéro de TVA intracommunautaire de la personne morale |
string |
None. |
| Siren |
Numéro SIREN de la personne morale |
string |
None. |
| Siret |
Numéro de SIRET de la personne morale |
string |
None. |
| Nic |
Numéro interne de classement de la personne morale |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"TypeGroupe": 1,
"Regime": 1,
"DateDebutRegime": "2025-11-30T17:00:37.1604397+01:00",
"RCS": "sample string 2",
"NumIntracommunautaire": "sample string 3",
"Siren": "sample string 4",
"Siret": "sample string 5",
"Nic": "sample string 6"
}
application/xml, text/xml
Sample:
<ApiGroupeContacts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api"> <Id>0</Id> <Nic>sample string 6</Nic> <NumIntracommunautaire>sample string 3</NumIntracommunautaire> <RCS>sample string 2</RCS> <Siren>sample string 4</Siren> <Siret>sample string 5</Siret> <DateDebutRegime>2025-11-30T17:00:37.1604397+01:00</DateDebutRegime> <Id>1</Id> <Regime>Autre</Regime> <TypeGroupe>Autre</TypeGroupe> </ApiGroupeContacts>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeGroupe" Autre --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Regime" Autre --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateDebutRegime" 2025-11-30T17:00:37.1604397+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RCS" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NumIntracommunautaire" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Siren" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Siret" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nic" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e--