B080: city

Objective:

maintenance data parameter bank, parameter fa, parameter ta, parameter portfolio, parameter simpi, parameter securities, sector, benchmark, index

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 CountryID Integer  
2 ProvinceID Integer  

Available Fields

No Name Type Description
1 CountryID Integer  
2 ProvinceID Integer  
3 CityCode Varchar(20)  
4 CityName Varchar(100)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Parameter_securities.city”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“CountryID”:1, “ProvinceID”:10}

}

Sample Result

{“status”:true,”execution_time”:”0.0167″,”result”:{“page_no”:1,”rows_size”:1071,”rows_no”:8,”rows”:[{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2100″,”CityName”:”KEPULAUAN RIAU”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2101″,”CityName”:”KARIMUN”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2102″,”CityName”:”BINTAN”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2103″,”CityName”:”NATUNA”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2104″,”CityName”:”LINGGA”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2105″,”CityName”:”KEPULAUAN ANAMBAS”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2171″,”CityName”:”KOTA BATAM”},{“CountryID”:”1″,”ProvinceID”:”10″,”CityCode”:”2172″,”CityName”:”KOTA TANJUNG PINANG”}]},”id”:1}

Sample Data 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2100”,

“CityName”: “KEPULAUAN RIAU”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2101”,

“CityName”: “KARIMUN”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2102”,

“CityName”: “BINTAN”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2103”,

“CityName”: “NATUNA”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2104”,

“CityName”: “LINGGA”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2105”,

“CityName”: “KEPULAUAN ANAMBAS”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2171”,

“CityName”: “KOTA BATAM”

 

“CountryID”: “1”,

“ProvinceID”: “10”,

“CityCode”: “2172”,

“CityName”: “KOTA TANJUNG PINANG”

Leave a Reply

Your email address will not be published. Required fields are marked *