Jul 17, 2019
import requests
url = 'https://<subdomain>.happyfox.com/api/1.1/json/ticket/' + input['ticketid'] +'/staff_update/'
auth = (‘<api key>', ‘<authcode>')
payload = {'staff' : '1', 't-cf-<ticket field ID>' : ‘<value>'}
res = requests.post(url,auth=auth,data=payload)
output = [{'dummy': 'output'}]