Zoho DESK , Unsupported Media Type
- z_data = {
- 'subject': 'this is a subject',
- 'description': 'this is a description that follows the subject.',
- 'departmentId': '538218000081',
- 'assigneeId': '6710442',
- 'contact': 'Kenzon'
- }
- ticket = requests.post(
- 'https://desk.zoho.com/api/v1/tickets',
- data=json.dumps(z_data),
- headers={
- 'content-type': 'application/json',
- 'Authorization':'Zoho-oauthtoken 1000.e49e62e117d26304b897e2a34012e3703e8390d719761'
- })