addService
A Graze API POST request that adds a new external service to the database. An external service is a business entity monitored by Moogsoft Onprem via event streams.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint addService
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | A valid |
| String | Yes | Name of the external service you are adding. |
| String | No | Service description. |
Response
Endpoint addService
returns the following response:
Examples
The following examples demonstrate typical use of endpoint addService
:
Request example
Example cURL request to add service "New Service 1" with a description:
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/addService" -H "Content-Type: application/json; charset=UTF-8" -d '{"name" : "New Service 1", "description" : "This is my description 12345"}'