View Categories

Télécharger une pièce jointe – GET /api/v1/workers/{workerId}/attachmentFiles/{attachmentId}/download

Après avoir récurpérer la liste des pièces jointes, il est possible de télécharger ces pièces jointes via l’endpoint suivant :

curl -X 'GET' \
  'https://api.peopulse.com/api/v1/workers/5000/attachmentFiles/48893/download?customerId=RHIO_SUPPORT' \
  -H 'accept: application/octet-stream' \
  -H 'Authorization: Bearer

Cette route nécessite trois paramètres :

  • Worker id : identifiant de l’intérimaire
  • Attachment Id : identifiant de la pièce jointe
  • customerId : le nom technique du centre gestion client