Previous Next JavaScript must be enabled to correctly display this content

## Retrives the event by given event code

get

/service/lmm/event/getByEvtCode/{evtCode}

This endpoint is used to get the customer by parent customerID.

### Request

Supported Media Types

- application/json
- application/xml

Path Parameters

- evtCode: string
  Event code of the event that needs to be fetched

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns the event based on given event code.
Body ()
Root Schema : LmmTmEventsDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object LmmTmEventsDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "evtCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "evtCategory":{
                        "type":"string",
                        "description":"",
                        "maxLength":20
                    },
                    "evtDesc":{
                        "type":"string",
                        "description":"",
                        "maxLength":100
                    },
                    "evtTopic":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "evtIsEnabled":{
                        "type":"string",
                        "description":"",
                        "maxLength":1
                    }
                },
                "required":[
                    "id",
                    "evtCode"
                ]
            }
        ]
    }

Nested Schema : GenericDto
Match All
Show Source

- object GenericDto-allOf[0]
  Discriminator: `resource_type`

    {
        "allOf":[
            {
                "type":"object",
                "discriminator":"resource_type"
            }
        ]
    }

Nested Schema : GenericDto-allOf[0]
Type: `object`
Discriminator: `resource_type`
Nested Schema : LmmTmEventsDTO-allOf[1]
Type: `object`
Show Source

- evtCategory(optional): string
  Maximum Length: `20`
- evtCode: string
  Maximum Length: `50`
- evtDesc(optional): string
  Maximum Length: `100`
- evtIsEnabled(optional): string
  Maximum Length: `1`
- evtTopic(optional): string
  Maximum Length: `50`

    {
        "type":"object",
        "properties":{
            "evtCode":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "evtCategory":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "evtDesc":{
                "type":"string",
                "description":"",
                "maxLength":100
            },
            "evtTopic":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "evtIsEnabled":{
                "type":"string",
                "description":"",
                "maxLength":1
            }
        },
        "required":[
            "id",
            "evtCode"
        ]
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 500 Response

Internal error
Back to Top