Creating a new project via API & Postman

 Hi,

I'm quite new to using the Wrike API. I'm struggeling with creating a new project (not folder) via postman. Neither the Wrike API nor the Postman documentation describe how you proceed when a parameter (in this case "project") has its own parameters (like ownerIds, status, startDate and endDate.

You start with POST https://www.wrike.com/api/v3/folders/{folderId}/folders.

Then you have different possibilities to specify the parameters, either via Params window or via the Body and writing code. Unfortunately to no avail and I'm stuck.

Any help is appreciated. Thanks

1
2 commenti
Spot On Innovative Approach Stellar Advice
Avatar

Chrostopher, sorry for being late to the rescue! Wrike's API does not recognize application/json or form-data format of the query, you would need to make sure all parameters are url-encoded into the string. Parameters window in Postman could facilitate the process, alternatively you can always enter directly into the URL. 

Pavel M Community Team at Wrike Conosci le straordinarie funzionalità di Wrike e le best practices

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Christopher! I wanted to quickly chime in and share an example of the "project" parameter string which is used with its own parameters. Here's how we should write it: ...&project={"ownerIds":["KUAAAXUR"],"status":"Green","startDate":"2018-08-06","endDate":"2018-08-13"} This sample is also present in our API documentation. Hope it helps! 😃

Serge S. Community Team at Wrike Conosci le straordinarie funzionalità di Wrike e le best practices

0
Azioni per commenti Permalink

Folllowing List for Post: Creating a new project via API & Postman
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post