GET api/cogeo/elementged/document/{idDocument}

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idDocument

Identifiant unique du document

integer

Required

Body Parameters

None.

Response Information

Resource Description

Retourne un ApiDocumentGed.

ApiDocumentGed
NameDescriptionTypeAdditional information
IdDocument

Identifiant unique du document

integer

None.

TypeDocument

Type du document

TypesDocument

None.

Response Formats

application/json, text/json

Sample:
{
  "IdDocument": 1,
  "TypeDocument": 0
}

application/xml, text/xml

Sample:
<ApiDocumentGed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api">
  <IdDocument>1</IdDocument>
  <TypeDocument>Aucun</TypeDocument>
</ApiDocumentGed>

multipart/form-data

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

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TypeDocument"

Aucun
--MultipartDataMediaFormatterBoundary1q2w3e--