addProcess
A Graze API POST request that adds a new process to the database. Processes are external business entities related to business activities that are affected by the incidents that Moogsoft Onprem captures in Situations.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint addProcess
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | A valid |
| String | Yes | Process name. |
| String | No | Process description. |
Response
Endpoint addProcess
returns the following response:
Examples
The following examples demonstrate typical use of endpoint addProcess
:
Request example
Example cURL request to add a new process "New Proc 1" with a description:
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/addProcess" -H "Content-Type: application/json; charset=UTF-8" -d '{"name" : "New Proc 1", "description" : "This is my description 12345"}'