POST api/WebApp/GetCityListForCountryCode
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MethodReturnOfListOfCOM_CityMasterName | Description | Type | Additional information |
---|---|---|---|
ReturnValue | Collection of COM_CityMaster |
None. |
|
ReturnType | string |
None. |
|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
Schema | string |
None. |
|
UTCDate | date |
None. |
|
Token | string |
None. |
|
ResponseCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReturnValue": [ { "CityID": 1, "CityCode": "sample string 2", "CityName": "sample string 3", "RegionID": 4, "CountryCode": "sample string 5", "Active": "sample string 6", "CreatedBy": "sample string 7", "CreatedDate": "2024-11-27T17:44:58.0441257+03:00", "ModifiedBy": "sample string 9", "ModifiedDate": "2024-11-27T17:44:58.0441257+03:00", "RecOwnerOrgID": 11 }, { "CityID": 1, "CityCode": "sample string 2", "CityName": "sample string 3", "RegionID": 4, "CountryCode": "sample string 5", "Active": "sample string 6", "CreatedBy": "sample string 7", "CreatedDate": "2024-11-27T17:44:58.0441257+03:00", "ModifiedBy": "sample string 9", "ModifiedDate": "2024-11-27T17:44:58.0441257+03:00", "RecOwnerOrgID": 11 } ], "ReturnType": "sample string 1", "IsSuccess": true, "Message": "sample string 3", "Schema": "sample string 4", "UTCDate": "2024-11-27T17:44:58.0441257+03:00", "Token": "sample string 6", "ResponseCode": "sample string 7" }
application/xml, text/xml
Sample:
<MethodReturnOfArrayOfCOM_CityMasterjWCsHR7B xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes"> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> <ResponseCode>sample string 7</ResponseCode> <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.COM"> <d2p1:COM_CityMaster> <d2p1:Active>sample string 6</d2p1:Active> <d2p1:CityCode>sample string 2</d2p1:CityCode> <d2p1:CityID>1</d2p1:CityID> <d2p1:CityName>sample string 3</d2p1:CityName> <d2p1:CountryCode>sample string 5</d2p1:CountryCode> <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-27T17:44:58.0441257+03:00</d2p1:CreatedDate> <d2p1:ModifiedBy>sample string 9</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-27T17:44:58.0441257+03:00</d2p1:ModifiedDate> <d2p1:RecOwnerOrgID>11</d2p1:RecOwnerOrgID> <d2p1:RegionID>4</d2p1:RegionID> </d2p1:COM_CityMaster> <d2p1:COM_CityMaster> <d2p1:Active>sample string 6</d2p1:Active> <d2p1:CityCode>sample string 2</d2p1:CityCode> <d2p1:CityID>1</d2p1:CityID> <d2p1:CityName>sample string 3</d2p1:CityName> <d2p1:CountryCode>sample string 5</d2p1:CountryCode> <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-27T17:44:58.0441257+03:00</d2p1:CreatedDate> <d2p1:ModifiedBy>sample string 9</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-27T17:44:58.0441257+03:00</d2p1:ModifiedDate> <d2p1:RecOwnerOrgID>11</d2p1:RecOwnerOrgID> <d2p1:RegionID>4</d2p1:RegionID> </d2p1:COM_CityMaster> </ReturnValue> <Schema>sample string 4</Schema> <Token>sample string 6</Token> </MethodReturnOfArrayOfCOM_CityMasterjWCsHR7B>