{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"<b>Required scope: </b><code>portfolios:write</code>\n\nAdd an item to a portfolio.\nReturns an empty data block.","properties":{"path":{"type":"object","properties":{"portfolio_gid":{"type":"string","examples":["12345"],"description":"Globally unique identifier for the portfolio."}},"required":["portfolio_gid"],"additionalProperties":false},"query":{"type":"object","properties":{"opt_pretty":{"type":"boolean","examples":[true],"description":"Provides “pretty” output.\nProvides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."}},"required":[],"additionalProperties":false},"body":{"type":"object","properties":{"data":{"$ref":"#/definitions/PortfolioAddItemRequest"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"PortfolioAddItemRequest":{"type":"object","required":["item"],"properties":{"item":{"description":"The item to add to the portfolio.","type":"string","examples":["1331"]},"insert_before":{"description":"An id of an item in this portfolio. The new item will be added before the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.","type":"string","examples":["1331"]},"insert_after":{"description":"An id of an item in this portfolio. The new item will be added after the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.","type":"string","examples":["1331"]}}}}},"name":"Add a portfolio item","id":"asana.additemforportfolio","example":{"path":{"portfolio_gid":"12345"},"body":{}},"maxRequests":1,"summary":false}}