I am trying to automate adding a customer to a project post approval.
icedeskapi/servicedesk/16/customer
The POST failes with
Invalid request payload. Refer to the REST API documentation and try again.
the payload is:
{
"email": "{{issue.customfield_12059}}"
}
though have also tried
{
"email": "{{issue.customfield_12059}}",
"fullName": "{{issue.customfield_12061}}"
}
Both Accept and Content-Type are set to application/json
Any ideas appreciated
thank you
Hi @Myles Boyd
According to the docs, displayName and email are required, and fullName has been deprecated:
Kind regards,
Bill
Hi Bill
Thanks for speedy response.
I changed the payload and got past that error.
The Create customer call in the link you provided adds someone to the JSM instance; I am trying to add to a particular project.
If the guide I found is no longer valid, any ideas on adding to a project?
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe once the customer is created / exists, they may be added to the specific service desk project with another endpoint:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.