Anomalie #19953
Mis à jour par Ines MKACHER il y a environ 2 ans
Sur branche **develop** de Maarch Courrier, la création de contact est impossible. Le *front* transmettant la requête suivante :
`POST/rest/contacts`
```json
{
"customFields":{},
"externalId":{},
"company":"Le Truchement",
"firstname":"Raoul",
"lastname":"LEBEL",
"email":"raoul.lebel@letruchement.fr",
"phone":null,
"addressNumber":"1",
"addressStreet":"PLACE DU MARECHAL FOCH",
"addressPostcode":"51000",
"addressTown":"CHALONS EN CHAMPAGNE",
"addressCountry":"FRANCE",
"correspondentsGroups":null,
"communicationMeans":{
"url":null,
"externalId_m2m":null,
"login":null,
"password":null,
"email":null
}
}
```
On obtient cette réponse :
````
{
"errors":"Le moyen de communication doit être une uri ou un courriel"
}
```
`POST/rest/contacts`
```json
{
"customFields":{},
"externalId":{},
"company":"Le Truchement",
"firstname":"Raoul",
"lastname":"LEBEL",
"email":"raoul.lebel@letruchement.fr",
"phone":null,
"addressNumber":"1",
"addressStreet":"PLACE DU MARECHAL FOCH",
"addressPostcode":"51000",
"addressTown":"CHALONS EN CHAMPAGNE",
"addressCountry":"FRANCE",
"correspondentsGroups":null,
"communicationMeans":{
"url":null,
"externalId_m2m":null,
"login":null,
"password":null,
"email":null
}
}
```
On obtient cette réponse :
````
{
"errors":"Le moyen de communication doit être une uri ou un courriel"
}
```