PUT api/cogeo/contact/societe/{idSociete}
Met à jour une société en fonction de son identifiant unique.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idSociete |
Identifiant unique de la société |
integer |
Required |
Body Parameters
ApiIncomingSocieteName | Description | Type | Additional information |
---|---|---|---|
CodeActivite | string |
Max length: 70 |
|
Activite | string |
Max length: 150 |
|
IdCommuneEnregistrementRcs | integer |
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:
{ "CodeActivite": "sample string 1", "Activite": "sample string 2", "IdCommuneEnregistrementRcs": 1, "Rcs": "sample string 3", "NumIntracommunautaire": "sample string 4", "Id": 1, "Nom": "sample string 5", "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingSociete 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 5</Nom> <TypeContact>Societe</TypeContact> <NumIntracommunautaire>sample string 4</NumIntracommunautaire> <Rcs>sample string 3</Rcs> <Activite>sample string 2</Activite> <CodeActivite>sample string 1</CodeActivite> <IdCommuneEnregistrementRcs>1</IdCommuneEnregistrementRcs> </ApiIncomingSociete>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CodeActivite" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Activite" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCommuneEnregistrementRcs" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeContact" Societe --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Rcs" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NumIntracommunautaire" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 5 --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
OkResultName | Description | Type | Additional information |
---|---|---|---|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.