POST api/cogeo/note
Crée une note.
Request Information
URI Parameters
None.
Body Parameters
ApiIncomingNoteName | Description | Type | Additional information |
---|---|---|---|
IdNote | integer |
None. |
|
Message | string |
None. |
|
IdContact | integer |
None. |
|
IdAffaire | integer |
None. |
|
TypeNote | TypesNote |
None. |
|
IdCategorieNote | integer |
None. |
|
ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdNote": 1, "Message": "sample string 1", "IdContact": 1, "IdAffaire": 1, "TypeNote": 1, "IdCategorieNote": 1, "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingNote 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> <IdAffaire>1</IdAffaire> <IdCategorieNote>1</IdCategorieNote> <IdContact>1</IdContact> <IdNote>1</IdNote> <Message>sample string 1</Message> <TypeNote>AppelTelephonique</TypeNote> </ApiIncomingNote>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdNote" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdContact" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdAffaire" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeNote" AppelTelephonique --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCategorieNote" 1 --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 ApiNote.
ApiNoteName | Description | Type | Additional information |
---|---|---|---|
IdNote |
Identifiant unique de la note |
integer |
None. |
DateCreation |
Date de création de la note |
date |
None. |
DateDerniereModification |
Date de dernière modification de la note |
date |
None. |
IdCreator |
Identifiant unique du créateur de la note |
integer |
None. |
IdLastModificator |
Identifiant unique de l'utilisateur qui a effectué la dernière modification |
integer |
None. |
Message |
Texte de la note |
string |
None. |
IdContact |
Identifiant unique du contact de la note |
integer |
None. |
IdAffaire |
Identifiant unique de l'affaire à laquelle est rattachée la note |
integer |
None. |
TypeNote |
Type de note |
TypesNote |
None. |
IdCategorieNote |
Identifiant unique de la catégorie de note |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "IdNote": 1, "DateCreation": "2024-12-22T03:42:23.8823743+01:00", "DateDerniereModification": "2024-12-22T03:42:23.8823743+01:00", "IdCreator": 1, "IdLastModificator": 1, "Message": "sample string 4", "IdContact": 1, "IdAffaire": 1, "TypeNote": 1, "IdCategorieNote": 1 }
application/xml, text/xml
Sample:
<ApiNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api"> <DateCreation>2024-12-22T03:42:23.8823743+01:00</DateCreation> <DateDerniereModification>2024-12-22T03:42:23.8823743+01:00</DateDerniereModification> <IdAffaire>1</IdAffaire> <IdCategorieNote>1</IdCategorieNote> <IdContact>1</IdContact> <IdCreator>1</IdCreator> <IdLastModificator>1</IdLastModificator> <IdNote>1</IdNote> <Message>sample string 4</Message> <TypeNote>AppelTelephonique</TypeNote> </ApiNote>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdNote" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateCreation" 2024-12-22T03:42:23.8823743+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateDerniereModification" 2024-12-22T03:42:23.8823743+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCreator" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdLastModificator" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdContact" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdAffaire" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeNote" AppelTelephonique --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdCategorieNote" 1 --MultipartDataMediaFormatterBoundary1q2w3e--