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
Maximum Length:
100
customerName -
fromAccountNumber(optional):
string
Maximum Length:
30
fromAccountNumber -
fromAmount(optional):
number
fromAmount
-
fromCountryCode(optional):
string
Maximum Length:
4
fromCountryCode -
fromCurrencyCode(optional):
string
Maximum Length:
3
fromCurrencyCode -
lcyAmount(optional):
number
lcyAmount
-
structureId(optional):
string
Pattern:
[A-Z0-9]{1,30}
structureId -
toAccountNumber(optional):
string
Maximum Length:
30
toAccountNumber -
toAmount(optional):
number
toAmount
-
toCountryCode(optional):
string
Maximum Length:
4
toCountryCode -
toCurrencyCode(optional):
string
Maximum Length:
3
toCurrencyCode -
userId(optional):
string
Maximum Length:
12
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