Skip to main content

moveCompanyOrCompanyFolder

This method moves a company or company folder under a parent company or company folder.

Parameters

Parameter

Type

Optional

Description

id

String

No

The ID of the company or company folder to be moved.

newParentId

String

No

The ID of the new parent company of company folder.

Return value

This method does not return any value.

Example

Request:

  {
       "params": {
           "newParentId" : "54a29746b1a43d0f4c7b23c6",
           "id" : "54a298c5b1a43d0c4c7b23c7"
       },
       "jsonrpc": "2.0",
       "method": "moveCompanyOrCompanyFolder",
       "id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8"
  }  

Response:

  {
      "id":"7d2864e9-c67b-48a2-9ba3-0a11d47e83c8",
      "jsonrpc":"2.0",
      "result": null
  }