How to get stateid of workitem

I am writing source to move a workitem from a project area to the other project area.
So I post below link to rtc to move workitem using apache httpclient.
/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/moveWorkItem
But this post need lasted stateid as argument. I only have workitem id and workitem uuid, how to get lastest stateid?
I have ever use link https://rtcserver:9446/ccm/oslc/workitems/255.xml to get workitem info, but no stateid in the xml.
below is the sample of argument to post .
formparams.add(
new BasicNameValuePair("additionalSaveParameters", "com.ibm.team.workitem.common.internal.updateBacklinks"));
formparams.add(new BasicNameValuePair("itemId", workItemUuid));
formparams.add(new BasicNameValuePair("move","true"));
formparams.add(new BasicNameValuePair("projectAreaItemId",paUuid));
formparams.add(new BasicNameValuePair("sanitizeHTML","true"));
formparams.add(new BasicNameValuePair("type", "mt缺陷"));
formparams.add(new BasicNameValuePair("stateId", "_u0qAgX3IEeO-J4xM9RcJqg"));
String url= hostApp + "/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/moveWorkItem";
requestPost(url, formparams);
Please tell me how to get a work item stateid. Otherwise, if you have any other method can move workitem will be better more, please advise to me.
Please don't use RTC-SDK. This project did not use any RTC-SDK lib.
Best Regards