Get list of master data
Request Header | Authorization | |
Authentication | Yes |
Get list of master data
Request Header | Authorization | |
Authentication | Yes |
Request Parameter
Field | DataType | Required | Description |
masterData | string[] | Yes | -List of master data “Country”, “Nationality”, “Bank”, “BankingType”, “Currency”, “SenderDocumentType”, “SenderType”, “SupportingDocumentType”, “TransactionStatus”, “TransferPurpose”, “Title”, “Province” |
Response Parameter
Field | DataType | Description |
status | string | response status |
message | string | response message |
payload (Country) | ||
id | integer | country id |
countryName | string | country name |
nameThai | string | country name thai |
countryCode | string | country code 3 digit |
phoneCode | string | phone code |
payload (Nationality)
|
||
id | integer | |
nationalityName | string | |
nameThai | string | |
alpha2Code | string | |
alpha3Code | string | |
numericCode | integer | |
payload (BankingType)
|
||
id | integer | Banking type id |
bankingTypeName | string | banking type name |
payload (Currency) | ||
id | integer | currency id |
currencyName | string | currency name |
currencyCode | string | currency code |
payload (Language) | ||
id | integer | Language id |
languageName | string | language name |
localeCode | string | language code |
payload (PartnerDocumentType)
|
||
id | integer | partner document type id |
partnerDocumentTypeName | string | partner document type name |
payload (PartnerStatus)
|
||
id | integer | partner status id |
partnerStatusName | string | partner status name |
payload (PrefundStatus)
|
||
id | integer | prefund status id |
prefundStatusName | string | prefund status name |
payload (SenderDocumentType)
|
||
id | integer | sender document type id |
senderDocumentTypeName | string | sender document type name |
payload (SenderType)
|
||
id | integer | sender type id |
senderTypeName | string | sender type name |
senderTypeCode | string | sender type code |
payload (SupportingDocumentType)
|
||
id | integer | supporting document type id |
supportingDocumentTypeName | string | supporting document type name |
payload (TransactionStatus)
|
||
id | integer | transaction status id |
transactionStatusName | string | transaction status name |
payload (TransferPurpose)
|
||
id | integer | transfer purpose id |
transferPurposeName | string | transfer purpose name |
transferPurposeThai | string | transfer purpose name thai |
payload (UserStatus)
|
||
id | integer | user status id |
userStatusName | string | user status name |
payload (UserType) | ||
id | integer | user type id |
userTypeName | string | user type name |
payload (Bank) | ||
id | integer | bank id |
bankName | string | bank name |
bankNameThai | string | bank name thai |
bankCode | string | bank code |
payload (Title) | ||
id | integer | title id |
titleName | string | title name |
tittleNameThai | string | title name thai |
payload (Province) | ||
id | integer | province id |
provinceName | string | province name |
provinceNameThai | string | province name thai |
[
"Country"
]
Status Code | Error Description |
000 | Success |
Status Code | Error Description |
101 | General/Process error (see message) |
301 | Permission denined |
401 | Unauthorized |
500 | Internal server error (see message) |
{
"status": "000",
"message": "Success",
"payload": {
"Country": [
{
"id": 3,
"countryName": "AFGHANISTAN",
"nameThai": "อัฟกานิสถาน",
"countryCode": "AFG",
"phoneCode": "93"
},
{
"id": 15,
"countryName": "ALAND ISLANDS",
"nameThai": "หมู่เกาะอะแลนด์",
"countryCode": "ALA",
"phoneCode": ""
},
{
"id": 6,
"countryName": "ALBANIA",
"nameThai": "แอลเบเนีย",
"countryCode": "ALB",
"phoneCode": "355"
},
{
"id": 62,
"countryName": "ALGERIA",
"nameThai": "แอลจีเรีย",
"countryCode": "DZA",
"phoneCode": "213"
},
{
"id": 11,
"countryName": "AMERICAN SAMOA",
"nameThai": "อเมริกันซามัว",
"countryCode": "ASM",
"phoneCode": ""
},
{
"id": 1,
"countryName": "ANDORRA",
"nameThai": "อันดอร์รา",
"countryCode": "AND",
"phoneCode": "376"
},
–