This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Error while creating new ticket using REST API

I'm not able to create new ticket via REST API. It shows error - "Cannot create Ticket with deleted Request Type".

I'm using guidelines from - http://www.solarwinds.com/documentation/WebHelpDesk/docs/WHD_API_12.1.0/Web%20Help%20Desk%20API.html#tickets-create

vkanjariya_0-1591062234978.png

And I used the same JSON file from the example -

{
"reportDateUtc": "2020-06-02T11:34:16Z",
"room": "",
"emailClient": true,
"emailTech": true,
"emailTechGroupLevel": false,
"emailGroupManager": false,
"emailCc": false,
"ccAddressesForTech": "",
"emailBcc": false,
"bccAddresses": "",
"subject": "Need more memory",
"detail": "My computer is running really slow. I think it's because I need more memory.",
"assignToCreatingTech": false,
"problemtype": {
"type": "ProblemType",
"id": 6
},
"sendEmail": true,
"location": {
"type": "Location",
"id": 1
},
"department": {
"type": "Department",
"id": 1
},
"clientReporter": {
"type": "Client",
"id": 1
},
"customField_1": "Version 9.1.7",
"statustype": {
"type": "StatusType",
"id": 1
},
"prioritytype": {
"type": "PriorityType",
"id": 1
},
"assets": [
{
"id": 1,
"type": "Asset"
},
{
"id": 2,
"type": "Asset"
}
]
}