최근 검색


최근 검색 없음

Olve Auråker's Avatar

Olve Auråker

가입한 날짜: 2021년 5월 28일

·

마지막 활동: 2021년 11월 10일

팔로잉

0

팔로워

0

총 활동 수

6

투표

1

플랜 수

2

활동 개요

님의 최근 활동 Olve Auråker

Olve Auråker님이 에 댓글을 입력함

커뮤니티 댓글 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!

댓글 보기 · 2021년 11월 10일에 게시됨 · Olve Auråker

0

팔로워

0

투표 수

0

댓글


Olve Auråker님이 에 게시물을 만듦

게시물 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?

2021년 11월 09일에 편집됨 · Olve Auråker

0

팔로워

3

투표 수

3

댓글


Olve Auråker님이 에 댓글을 입력함

커뮤니티 댓글 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"}
}
}

댓글 보기 · 2021년 3월 22일에 게시됨 · Olve Auråker

0

팔로워

0

투표 수

0

댓글