1.2 API Response
The follwing table shown the data structure response by the API.
Data Structure of API Response
Name |
Data Type |
Notes |
ResultCode |
Enum |
|
ResultMessage |
String |
|
AddressValidate |
String |
|
Addresses |
AddressDetails[] |
|
Errors |
String[] |
Error messages of API. |
Result Code (Enum)
Code |
Name |
Notes |
0 |
OK |
|
1 |
PartialIncorrect |
Part of data is incorrect. |
2 |
Invalid |
|
3 |
InvalidCountry |
Country is invalid or not supported yet. |
AddressDetails
Name |
Data Type |
Notes |
State |
String |
|
City |
String |
|
District |
String |
|
Postcode |
String |