[comment]: # ({7a25a82c-7a25a82c})
# application.create

[comment]: # ({/7a25a82c-7a25a82c})

[comment]: # ({d012996f-d012996f})
### Description

`object application.create(object/array applications)`

This method allows to create new applications.

[comment]: # ({/d012996f-d012996f})

[comment]: # ({5346e278-5346e278})
### Parameters

`(object/array)` Applications to create.

The method accepts applications with the [standard application
properties](/manual/api/reference/application/object#application).

[comment]: # ({/5346e278-5346e278})

[comment]: # ({da4ed5a0-da4ed5a0})
### Return values

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

[comment]: # ({/da4ed5a0-da4ed5a0})

[comment]: # ({b41637d2-b41637d2})
### Examples

[comment]: # ({/b41637d2-b41637d2})

[comment]: # ({7f7df9eb-7f7df9eb})
#### Creating an application

Create an application to store SNMP items.

Request:

``` {.java}
{
    "jsonrpc": "2.0",
    "method": "application.create",
    "params": {
        "name": "SNMP Items",
        "hostid": "10050"
    },
    "auth": "038e1d7b1735c6a5436ee9eae095879e",
    "id": 1
}
```

Response:

``` {.java}
{
    "jsonrpc": "2.0",
    "result": {
        "applicationids": [
            "356"
        ]
    },
    "id": 1
}
```

[comment]: # ({/7f7df9eb-7f7df9eb})

[comment]: # ({18c427ff-18c427ff})
### Source

CApplication::create() in
*frontends/php/include/classes/api/services/CApplication.php*.

[comment]: # ({/18c427ff-18c427ff})
