Adds a new Top Cross Border Sweep
post
/crossborder
This endpoint is used to add a new Top Cross Border Sweep.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new crossborder
Root Schema : LmdTbTopCrossborderSweepsCollection
Type:
object
Collection of CrossborderSweeps
Show Source
Nested Schema : data
Type:
Show Source
array
-
Array of:
object LmdTbTopCrossborderSweepsDTO
CrossborderSweeps DTO
Nested Schema : LmdTbTopCrossborderSweepsDTO
Type:
object
CrossborderSweeps DTO
Match All
Show Source
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 : LmdTbTopCrossborderSweepsDTO-allOf[1]
Type:
Show Source
object
-
customerId(optional):
string
Pattern:
[a-zA-Z0-9]{1,20}
customerId -
customerName(optional):
string
customerName
-
fromAccountNumber(optional):
string
fromAccountNumber
-
fromAmount(optional):
number
fromAmount
-
fromCountryCode(optional):
string
fromCountryCode
-
fromCurrencyCode(optional):
string
fromCurrencyCode
-
lcyAmount(optional):
number
lcyAmount
-
structureId(optional):
string
Pattern:
[0-9a-fA-Z-]{1,36}
structureId -
toAccountNumber(optional):
string
toAccountNumber
-
toAmount(optional):
number
toAmount
-
toCountryCode(optional):
string
toCountryCode
-
toCurrencyCode(optional):
string
toCurrencyCode
-
userId(optional):
string
userId
-
valueDate(optional):
string(date)
value Date
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created Top Cross Border Sweep
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