Recherches récentes


Pas de recherche récente

Olve Auråker's Avatar

Olve Auråker

Adhésion le 28 mai 2021

·

Dernière activité le 10 nov. 2021

Suivis

0

Abonnés

0

Activité totale

6

vote

1

Abonnements

2

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Olve Auråker

Olve Auråker a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk APIs

The only place I have seen multiselect referenced is here: Ticket Fields | Zendesk Developer Docs

BUT you seem to be completely right, it does work using custom_fields, I was just not able to figure out how to get multiple values parsed correctly using PowerShell.

I was trying to construct the array as a string and input that, instead of inputting the array object directly. Well, actually I had tried that earlier, but forgot to match the values to the field tag values instead of the display value which had a capital letter.
So adding a ".ToLower()" at the end of the array variable was all it took.

Thanks for getting me back on track!

Afficher le commentaire · Publication le 10 nov. 2021 · Olve Auråker

0

Abonnés

0

Votes

0

Commentaire


Olve Auråker a créé une publication,

Publication Developer - Zendesk APIs

Hi,

I'm trying to create a ticket via /api/v2/requests, using a specific form which has a multi-select dropdown field.

So far I've not been able to figure out how I can insert values into this field.
I've tried with (following the docs):

"custom_field_options": [
{"name": "Displayname of field", "value": "tag value"},
{"name": "Displayname of field", "value": "tag value2"}
]
"ticket_field": {
"custom_field_options": [
{"name": "Displayname of field", "value": "tag value"},
{"name": "Displayname of field", "value": "tag value2"}
]
}

Any ideas?

Modification le 09 nov. 2021 · Olve Auråker

0

Abonnés

3

Votes

3

Commentaires


Olve Auråker a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk APIs

@..., were you able to create a ticket through the request API using an OAuth token on behalf of a user using their email address?

Edit. Never mind, I managed it about 30 seconds after posting :)

{
"request": {
"subject": "Test",
"comment": { "body": "Some question" },
"requester": {"email": "customer@example.com"}
}
}

Afficher le commentaire · Publication le 22 mars 2021 · Olve Auråker

0

Abonnés

0

Votes

0

Commentaire