GET api/Country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CountryRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Countries | Collection of Country |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "Countries": null }
application/xml, text/xml
Sample:
<CountryResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <Countries i:nil="true" /> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </CountryResp>