获取国家/地区的方法:
{
"Id": 0,
"Code": 0,
"Status": "SUCCESS",
"IsSuccess": true,
"Message": "Country Get successfully...",
"ReturnStatus": false,
"ReturnMessage": null,
"Content": [
{
"Id": 1,
"CityName": "India"
},
{
"Id": 2,
"CityName": "Bangladesh"
}
]
}
显示状态的post方法:
jsonObject.put("CountryId" : 1)
{
"Id": 0,
"Code": 0,
"Status": "SUCCESS",
"IsSuccess": true,
"Message": "State List Get successfully...",
"ReturnStatus": false,
"ReturnMessage": null,
"Content": [
{
"StateName": "Maharastra",
"CountryId": 1
},
{
"StateName": "Paras Paras",
"CountryId": 1
}
]
}
显示城市的发布方法:
jsonObject.put("StateId" : 1)
{
"Id": 0,
"Code": 0,
"Status": "SUCCESS",
"IsSuccess": true,
"Message": "City List Get successfully...",
"ReturnStatus": false,
"ReturnMessage": null,
"Content": [
{
"CityName": "Maharastra",
"CityId": 1
},
{
"CityName": "Paras Paras",
"CityId": 1
}
]
}