Skip to main content

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

auth_token

String

Yes

A valid auth_token returned from the authenticate request. Alternatively, basic authenticate headers can be used in place of this parameter. See the authenticate endpoint for more information and usage examples.

name

String

Yes

Process name.

description

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"}'

Response example