GET api/cogeo/elementged/email/{idEmail}

Récupère un email de la GED en fonction de son identifiant unique.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idEmail

Identifiant unique de l'email

integer

Required

Body Parameters

None.

Response Information

Resource Description

Retourne un ApiEmailGed.

ApiEmailGed
NameDescriptionTypeAdditional information
IdEmail

Identifiant unique de l'email

integer

None.

Destinataires

Liste des adresses email des destinataires

Collection of ApiEmailAddress

None.

Expediteurs

Liste des adresses emails des expéditeurs

ApiEmailAddress

None.

Status

Statut de l'email

StatusEmail

None.

Response Formats

application/json, text/json

Sample:
{
  "IdEmail": 1,
  "Destinataires": [
    {
      "Address": "sample string 1",
      "DisplayName": "sample string 2"
    },
    {
      "Address": "sample string 1",
      "DisplayName": "sample string 2"
    }
  ],
  "Expediteurs": {
    "Address": "sample string 1",
    "DisplayName": "sample string 2"
  },
  "Status": 0
}

application/xml, text/xml

Sample:
<ApiEmailGed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api">
  <Destinataires>
    <ApiEmailAddress>
      <Address>sample string 1</Address>
      <DisplayName>sample string 2</DisplayName>
    </ApiEmailAddress>
    <ApiEmailAddress>
      <Address>sample string 1</Address>
      <DisplayName>sample string 2</DisplayName>
    </ApiEmailAddress>
  </Destinataires>
  <Expediteurs>
    <Address>sample string 1</Address>
    <DisplayName>sample string 2</DisplayName>
  </Expediteurs>
  <IdEmail>1</IdEmail>
  <Status>Reçu</Status>
</ApiEmailGed>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IdEmail"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Destinataires[0].Address"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Destinataires[0].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Destinataires[1].Address"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Destinataires[1].DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expediteurs.Address"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expediteurs.DisplayName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Status"

Reçu
--MultipartDataMediaFormatterBoundary1q2w3e--