Question:
We want to set ticket Status ID via API. Where do I get the StatusID from?
Answer:
The standard system statuses are:
-1 (Deleted, while the ticket still unpurged from the "Deleted" bin)
1 (New)
2 (In-process)
3 (Closed)
For custom statuses you can see their "ID" in the admin panel when editing a status, the URL changes to "helpdesk/Admin/EditCustomStatus/XXXX" - that's the StatusID you're looking for.