Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


services

contactsContacts

Escalations

Anchor
locations
locations
Name

OperationMethodURLResponseExample

 code-block

Locationsanchor

locationslocationsCreatePOSThttp://host/en/omk/admin/api/v2/locations.json

new Location in NMIS configurations.

http://apollo.opmantek.net:8080/en/omk/admin/api/v2/locations.json


Code Block
{
        "Address1": "",
        "Address2": "",
        "City": "",
        "Country": "",
        "Floor": "",
        "Geocode": "fake geo code",
        "Latitude": "xx.xxxxxxx",
        "Location": "Mandatory param",
        "Longitude": "xx.xxxxxxx",
        "Postcode": "",
        "Room": "",
        "State": "",
        "Suburb": ""
    }


LocationsGETGEThttp://host/en/omk/admin/api/v2/locations.jsonLocations present in NMIS configuration file.http://apollo.opmantek.net:8080/en/omk/admin/api/v2/locations.json



LocationsGETGEThttp://host/en/omk/admin/api/v2/locations{location-name}.jsonLocations present in NMIS configuration file.http://apollo.opmantek.net:8080/en/omk/admin/api/v2/locations/Amsterdam.json


Code Block
{
    "Address1": "",
    "Address2": "",
    "City": "Amsterdam",
    "Country": "Netherlands",
    "Floor": "",
    "Geocode": "Amsterdam, Netherlands",
    "Latitude": "52.3675734",
    "Location": "Amsterdam",
    "Longitude": "4.9041389",
    "Postcode": "",
    "Room": "",
    "State": "",
    "Suburb": "",
    "_id": "Amsterdam"
}


LocationsUpdatePUThttp://host/en/omk/admin/api/v2/locations/{location-name}.jsonUpdate location entryhttp://apollo.opmantek.net:8080/en/omk/admin/api/v2/locations/Mandatory param.json


Code Block
themeFadeToGrey
 {
        "Address1": "",
        "Address2": "",
        "City": "",
        "Country": "",
        "Floor": "",
        "Geocode": "fake geo code",
        "Latitude": "xx.xxxxxxx",
        "Location": "Mandatory param",
        "Longitude": "yy.yyyyyyy",
        "Postcode": "",
        "Room": "",
        "State": "",
        "Suburb": ""
    }


LocationsDeleteDELETEhttp://host/en/omk/admin/api/v2/locations/{location-name}.jsonDeletes the location entry from configurationshttp://apollo.opmantek.net:8080/en/omk/admin/api/v2/locations/Mandatory param.json


Code Block
{
    "redirect_to": null,
    "success": 1
}


Name

Anchor
services
services

OperationMethodURLResponseExample

 code-block

Services

Anchor
services

Create

POSThttp://host/en/omk/admin/api/v2/services.jsonnew services in NMIS configurations.http://apollo.opmantek.net:8080/en/omk/admin/api/v2/services.json


Code Block
{
    "Description": "Dummy Entry for API",
    "Name": "dummy",
    "Poll_Interval": "5m",
    "Port": "",
    "Service_Name": "dummy.exe",
    "Service_Type" : "new_type"
}


ServicesGETGEThttp://host/en/omk/admin/api/v2/services.json

Services present in NMIS configuration file.

http://apollo.opmantek.net:8080/en/omk/admin/api/v2/services.json
ServicesGETGEThttp://host/en/omk/admin/api/v2/services/{service-name}.json

Services present in NMIS configuration file.

http://apollo.opmantek.net:8080/en/omk/admin/api/v2/services/dummy.json


Code Block
{
    "Description": "Dummy Entry for API",
    "Name": "dummy",
    "Poll_Interval": "5m",
    "Port": "",
    "Service_Name": "dummy.exe",
    "Service_Type": "new_type",
    "_id": "dummy"
}


ServicesUpdatePUThttp://host/en/omk/admin/api/v2/services/{service-name}.jsonUpdate Services entryhttp://apollo.opmantek.net:8080/en/omk/admin/api/v2/services/dumy.json


Code Block
themeFadeToGrey
{
    "Description": "Dummy Entry for API",
    "Name": "dummy_updated",
    "Poll_Interval": "10m",
    "Port": "",
    "Service_Name": "dummy.exe",
    "Service_Type" : "new_type"
}


ServicesDeleteDELETEhttp://host/en/omk/admin/api/v2/services/{service-name}.jsonDeletes the Service entry from configurationshttp://apollo.opmantek.net:8080/en/omk/admin/api/v2/services/dummy_updated.json


Code Block
{
    "redirect_to": null,
    "success": 1
}


Name

Anchor
contacts
contacts

OperationMethodURLResponseExample

 code-block

Anchor

contacts

Create

POST



ContactsGETGET

http://apollo.opmantek.net:8080/en/omk/admin/api/v2/contacts.json
ContactsUpdatePUT



ContactsDeleteDELETE



Name

Anchor
escalations
escalations

OperationMethodURLResponseExample

 code-block

Anchor
escalationsescalations

Create

POST



EscalationsGETGET



EscalationsUpdatePUT



EscalationsDeleteDELETE



Name

Anchor
events
events

OperationMethodURLResponseExample

 code-block

Events

Create

POST



EventsGETGET



EventsUpdatePUT



EventsDeleteDELETE



Events





Name

Anchor
polling-policy
polling-policy

OperationMethodURLResponseExample

 code-block

Polling-Policy





Polling-Policy





Polling-Policy





Polling-Policy





Polling-Policy





Name

Anchor
users
users

OperationMethodURLResponseExample

 code-block

Users





Users





Users





Users





Users





Name

Anchor
access
access

OperationMethodURLResponseExample

 code-block

Access





Access





Access





Access





Access





Name

Anchor
customers
customers

OperationMethodURLResponseExample

 code-block

Customers





Customers





Customers





Customers





Customers





Name

Anchor
business
business

OperationMethodURLResponseExample

 code-block

Business Services





Business Services





Business Services





Business Services





Business Services