How to create project through rest api

Tuesday, July 19, 2016
Avatar
I want to use rest to create a project but doc doesn't define the parameters I need to send such as ownerID.
Therefore, I don't know what parameters I need to send just like below.
Image of doc is below. 
2 Replies
Thursday, July 21, 2016
Avatar
inflectra.jimx
re: bbbb8264 Tuesday, July 19, 2016
Hi Woody

You have the right idea, but you need to actually POST either an XML or JSON document, you cannot post an HTML form set of name/value pairs, that is not a supported format type.

The documentation gives you sample XML and JSON packets.

Regards
Jim
Friday, July 22, 2016
Avatar
re: inflectra.jimx Thursday, July 21, 2016
It finally worked.
Thank you a lot.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Tuesday, July 19, 2016
  • Last Reply: Friday, July 22, 2016
  • Replies: 2
  • Views: 4127