This method allows to create new services.

    (object/array) services to create.

    (object) Returns an object containing the IDs of the created services under the property. The order of the returned IDs matches the order of the passed services.

    Creating an service

    Create an service that will be switched to problem state, if at least one child has a problem. SLA calculation will be on and the minimum acceptable SLA is 99.99%.

    Response:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. ]
    5. },
    6. "id": 1

    CService::create() in ui/include/classes/api/services/CService.php.