Adds a new event
post
/events
This endpoint is used to add a new event.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new event
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmdTbEventsDTO-allOf[1]
Type:
Show Source
object
-
closeDate(optional):
string(date)
Close Date for Events
-
createdBy(optional):
string
Maximum Length:
20
Created by for Events -
customerId(optional):
string
Pattern:
[a-zA-Z0-9]{1,20}
Customer Id in Events -
eventCode:
string
Maximum Length:
50
Code for Events -
eventDate(optional):
string
Date of Events
-
eventDescription(optional):
string
Maximum Length:
500
Description for Events -
eventSource(optional):
string
Maximum Length:
150
Source for Events -
eventType(optional):
string
Type of Events
-
fromAccountNumber(optional):
string
Maximum Length:
50
From Account Number for Events -
fromBranchCode(optional):
string
Maximum Length:
4
From Branch Code for Exceptions -
fromCurrencyCode(optional):
string
Maximum Length:
3
From Currency Code for Exceptions -
isActive(optional):
string
Is Active in Events
-
startDate(optional):
string(date)
Start Date for Events
-
structureId(optional):
string
Pattern:
[A-Z0-9]{1,30}
Structure Id for Events -
structureType(optional):
string
Maximum Length:
20
Structure Type for Exceptions -
toAccountNumber(optional):
string
Maximum Length:
50
To Account Number for Events -
toBranchCode(optional):
string
Maximum Length:
4
To Branch Code for Exceptions -
toCurrencyCode(optional):
string
Maximum Length:
3
To Currency Code for Exceptions -
transactionId(optional):
string
Maximum Length:
50
Transaction Id for Events -
userId(optional):
string
Maximum Length:
12
User Id for Exceptions
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created event
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error