Update Event Types

post

/config/sim/v2/setup/updateEventTypes

Updates an Event Type and its Event Sub Type records. Event Sub Type records omitted from the request are deleted when no Event Definitions reference them.

Request

Supported Media Types
Header Parameters
Body ()
Request body for adding or updating an Event Type.
Root Schema : schema
Type: object
Model for adding or updating an Event Type.
Show Source
Nested Schema : name
Type: object
Event Type name in configured languages.
Example:
{
    "1":"Banquet",
    "2":"Banquete",
    "3":"Reception"
}
Nested Schema : subTypes
Type: array
Event Sub Type records associated with the Event Type. Updating this collection inserts new records, updates existing records, and deletes omitted records when no Event Definitions reference them.
Show Source
  • items
    Model for an Event Sub Type associated with the Event Type. Required fields apply only when a subtype object is supplied.
Nested Schema : items
Type: object
Model for an Event Sub Type associated with the Event Type. Required fields apply only when a subtype object is supplied.
Show Source
Nested Schema : name
Type: object
Event Sub Type name in configured languages.
Example:
{
    "1":"Wedding",
    "2":"Boda",
    "3":"Mariage"
}
Back to Top

Response

Supported Media Types

200 Response

Event Type updated.
Body ()
Root Schema : schema
Type: object
Show Source
Back to Top