1、创建项目
http://xxx.xxx.xx.xx:8080/client/api?command=createProject&response=json&sessionkey=8RDZ5OcjKaWg2wTcyefglJFWEJc%3D&account=admin&domainId=cd9afb68-5729-11e3-a3e9-0024817bfd99&name=test2&displayText=test2&_=1386043214805
2、列出项目中的账号
http://xxx.xxx.xxx.xxx:8080/client/api?command=listProjectAccounts&response=json&sessionkey=8RDZ5OcjKaWg2wTcyefglJFWEJc%3D&projectId=4f7fbe4e-e1ab-4f47-8942-13a2f7be6575&_=1386043327179
3、添加账号到项目
(异步的)
http://xxx.xxx.xx.xx:8080/client/api?command=addAccountToProject&response=json&sessionkey=8RDZ5OcjKaWg2wTcyefglJFWEJc%3D&projectId=4f7fbe4e-e1ab-4f47-8942-13a2f7be6575&account=test&_=1386043420694
4、查询添加账号的状态
http://yyy.yyy.yyy.yyy:8080/client/api?command=queryAsyncJobResult&jobId=071837b3-4724-42e3-bb09-d753bbb8904f&response=json&sessionkey=8RDZ5OcjKaWg2wTcyefglJFWEJc%3D&_=1386043423830