Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > REST API v7: cannot crea...
Hi everybody,
I'm trying to create a blank Project using REST API v7, but the best result I had was "401 Unauthorized" (I'm using Postman to test). Since all the other activities (creating test cases, test sets, etc) I've performed via APIs were successful, my guess is there is something wrong with permissions associated with the user account I'm using to perform the operation (Program Owner).
Here some details:
- API: SpiraTeam: REST Web Service
- POST: passing existing project ID, username and RSS/API-key- request body:
{"ProjectId":null,
"ProjectTemplateId":null,
"ProjectGroupId":17,
"Name":"MyDesperateAttempt",
"Description":null,
"Website":null,
"CreationDate":"0001-01-01T00:00:00",
"Active":true,
"WorkingHours":0,
"WorkingDays":0,
"NonWorkingHours":0,
"StartDate":null,
"EndDate":null,
"PercentComplete":0,
"RequirementCount":0,
"WorkspaceTypeId":0,
"Guid":null,
"LastUpdatedDate":null,
"ArtifactTypeId":0,
"ConcurrencyGuid":null,
"CustomProperties":null}
Am I missing something or doing something wrong?Any suggestion welcome.
Gianfranco,
Florence, ITA
Hello Gianfranco,
I believe, the user should have a System Administrator permissions to created Products. You can verify that by using REST API endpoint or checking using UI.
If you still not able to make it work I suggest to contact support directly in a dedicated ticket.
Regards,Victoria -
And if you have any questions, please email or call us at +1 (202) 558-6885