# Send an event related with a module execution

Send an event related with a module execution

Endpoint: POST /iacm/api/modules/{moduleId}/events
Version: 1.0
Security: x-api-key

## Path parameters:

  - `moduleId` (string, required)
    module id associated with this event
    Example: "3"

## Request fields (application/json):

  - `account` (string, required)
    account name
    Example: "Voluptas dolorum qui quo est quia ut."

  - `eventType` (string, required)
    The type of event that occurred
    Example: "Aperiam in dolorem exercitationem velit minima."

  - `metadata` (object)
    Example: {"pipeline":"Culpa quis dolores rem culpa consequatur tempore.","pipeline_execution_id":"Accusantium ut voluptatem aut voluptatem.","pipeline_execution_number":"Repudiandae occaecati voluptas minus.","pipeline_name":"Consequatur officia sed fuga voluptatem odio aut.","pipeline_stage_id":"Totam sit.","trigger":{"Harum dicta aliquid odit neque distinctio aut.":"Architecto explicabo."}}

  - `metadata.pipeline` (string)
    The unique identifier of any associated pipeline
    Example: "Culpa quis dolores rem culpa consequatur tempore."

  - `metadata.pipeline_execution_id` (string)
    The unique identifier for any associated pipeline execution
    Example: "Accusantium ut voluptatem aut voluptatem."

  - `metadata.pipeline_execution_number` (string)
    The unique number for any associated pipeline execution
    Example: "Repudiandae occaecati voluptas minus."

  - `metadata.pipeline_name` (string)
    The name of any associated pipeline
    Example: "Consequatur officia sed fuga voluptatem odio aut."

  - `metadata.pipeline_stage_id` (string)
    The unique identifier for the associated pipeline stage
    Example: "Totam sit."

  - `metadata.trigger` (object)
    Trigger info for any associated pipeline execution
    Example: {"Harum dicta aliquid odit neque distinctio aut.":"Architecto explicabo."}

  - `org` (string, required)
    pipeline org
    Example: "Omnis sit ullam quae magni est vitae."

  - `project` (string, required)
    pipeline project
    Example: "Exercitationem soluta pariatur voluptas asperiores."

## Response 400 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "parameter 'p' must be an integer"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_request"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true


## Response 200 fields
