I'm trying to do a query for Cases based on the Case Origin Type.
1) How can I search filter based on the name of the Case Origin?
2) Alternatively, how can I determine the id of the case origin? The order is shown on the site but it doesn't seem to correspond with the actual id.