Creating objects: add operator

To add objects, use the add operator.

POST /v2/json/add/{service}/{method}
  • id of an added object is returned in result.
  • Some methods that add several projects at once return an array of ids in result.
  • Some methods allow to get an array with objects in result if the fields parameter was passed.
  • Some methods return the number of added results in result.

In case the request fails, result is equal to NULL