PUT api/cogeo/affaire/{idAffaire}
Modifie une affaire
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idAffaire | integer |
Required |
Body Parameters
ApiIncomingAffaireName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Numero | string |
Max length: 50 |
|
Objet | string |
None. |
|
IdResponsable | integer |
None. |
|
IdCollaborateur | integer |
None. |
|
IdGeometreExpert | integer |
None. |
|
IdSite | integer |
None. |
|
IdService | integer |
None. |
|
Adresse | string |
None. |
|
IdCommune | integer |
None. |
|
IdClient | integer |
None. |
|
QualiteClient | string |
None. |
|
DateCreation | date |
None. |
|
DateOuverture | date |
None. |
|
DateCloture | date |
None. |
|
DateLivraison | date |
None. |
|
Etat | EtatsAffaire |
None. |
|
IdRepresentant | integer |
None. |
|
QualiteRepresentant | string |
None. |
|
ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Numero": "sample string 1", "Objet": "sample string 2", "IdResponsable": 1, "IdCollaborateur": 1, "IdGeometreExpert": 1, "IdSite": 1, "IdService": 1, "Adresse": "sample string 3", "IdCommune": 1, "IdClient": 1, "QualiteClient": "sample string 4", "DateCreation": "2024-12-22T04:27:00.2747399+01:00", "DateOuverture": "2024-12-22T04:27:00.2747399+01:00", "DateCloture": "2024-12-22T04:27:00.2747399+01:00", "DateLivraison": "2024-12-22T04:27:00.2747399+01:00", "Etat": 1, "IdRepresentant": 1, "QualiteRepresentant": "sample string 5", "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingAffaire 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> <Adresse>sample string 3</Adresse> <DateCloture>2024-12-22T04:27:00.2747399+01:00</DateCloture> <DateCreation>2024-12-22T04:27:00.2747399+01:00</DateCreation> <DateLivraison>2024-12-22T04:27:00.2747399+01:00</DateLivraison> <DateOuverture>2024-12-22T04:27:00.2747399+01:00</DateOuverture> <Etat>Production</Etat> <Id>1</Id> <IdClient>1</IdClient> <IdCollaborateur>1</IdCollaborateur> <IdCommune>1</IdCommune> <IdGeometreExpert>1</IdGeometreExpert> <IdRepresentant>1</IdRepresentant> <IdResponsable>1</IdResponsable> <IdService>1</IdService> <IdSite>1</IdSite> <Numero>sample string 1</Numero> <Objet>sample string 2</Objet> <QualiteClient>sample string 4</QualiteClient> <QualiteRepresentant>sample string 5</QualiteRepresentant> </ApiIncomingAffaire>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Numero" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Objet" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdResponsable" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCollaborateur" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdGeometreExpert" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdSite" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdService" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Adresse" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCommune" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdClient" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QualiteClient" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateCreation" 2024-12-22T04:27:00.2747399+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateOuverture" 2024-12-22T04:27:00.2747399+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateCloture" 2024-12-22T04:27:00.2747399+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateLivraison" 2024-12-22T04:27:00.2747399+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Etat" Production --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdRepresentant" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QualiteRepresentant" 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.