Recherches récentes
Pas de recherche récente

Integração Droz Nexo
Adhésion le 09 janv. 2024
·
Dernière activité le 17 juil. 2024
Suivis
0
Abonnés
0
Activité totale
4
vote
1
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Integração Droz Nexo
Integração Droz Nexo a ajouté un commentaire,
CommentaireBusiness rules
I use this template and I'm able to get an array of attachments with filename and url properties.
{
"ticketId": "{{ticket.id}}",
"externalId": "{{ticket.external_id}}",
"tags": "{{ticket.tags}}",
"comment": "{{ticket.latest_public_comment_html}}",
"attachments": [
{% for comment in ticket.comments limit:1 offset:0 %}
{% for attachment in comment.attachments %}
{
"filename":"{{attachment.filename}}",
"url":"{{attachment.url}}"
}{% if forloop.last %}{% else %},{% endif %}
{% endfor %}
{% endfor %}
],
"authorId": "{{ticket.latest_comment.author.id}}",
"status": "{{ticket.status}}"
}
Afficher le commentaire · Publication le 17 juil. 2024 · Integração Droz Nexo
0
Abonnés
1
vote
0
Commentaire
Integração Droz Nexo a ajouté un commentaire,
CommentaireBusiness rules
I see there's no content_type property in the attachment, would it be possible to add that?
Afficher le commentaire · Publication le 09 janv. 2024 · Integração Droz Nexo
0
Abonnés
0
Votes
0
Commentaire