{
"accounts": [
{
"title": "Testing account",
"owner": {
"id": "627637",
"shortName": "bo name"
},
"type": "CA",
"swiftCode": "SCBLBHBMXXX",
"iban": "789",
"bank": "STANDARD CHARTERED BANK",
"accountNumber": "0018902867608",
"currency": "BHD",
"openingDate": "2024-10-15",
"closingDate": "2020-12-01",
"accountStatus": "O",
"addressDetails": {
"line1": "Test",
"line3": "BAHRAIN"
}
}
]
}
当data.account.account.identification和data.account.servicer.identification没有值的时候期待输出
{
"Data" : {
"Account" : [
{
"AccountType" : "Business",
"Account" : [ {
"Name" : "bo name"
} ],
"AccountId" : "0018902867608",
"Status" : "Enabled",
"Currency" : "BHD",
"AccountSubType" : "CurrentAccount",
"Nickname" : "Testing account",
"OpeningDate" : "2024-10-15T00:00:00+03:00",
"MaturityDate" : "2020-12-01T00:00:00+03:00",
"Servicer" : {
}
}
]
}
}
当data.account.account.identification和data.account.servicer.identification有值的时候期待输出
{
"Data" : {
"Account" : [
{
"AccountType" : "Business",
"Account" : [ {
"SchemeName":"BH.OBF.IBAN",
"Identification" : "789",
"Name" : "bo name"
} ],
"AccountId" : "0018902867608",
"Status" : "Enabled",
"Currency" : "BHD",
"AccountSubType" : "CurrentAccount",
"Nickname" : "Testing account",
"OpeningDate" : "2024-10-15T00:00:00+03:00",
"MaturityDate" : "2020-12-01T00:00:00+03:00",
"Servicer" : {
"SchemeName":"BH.OBF.BICFI",
"Identification" : "SCBLBHBMXXX"
}
}
]
}
}
相似问题