GET api/Merchant/GetNationalitybyID?IDCardNumber={IDCardNumber}&LanguageId={LanguageId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IDCardNumber | string |
Required |
|
LanguageId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CountryCodeResponseName | Description | Type | Additional information |
---|---|---|---|
CountryCodeList | Collection of CountryCodeModel |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CountryCodeList": [ { "CountryID": 1, "Country": "sample string 2", "CountryCode": "sample string 3" }, { "CountryID": 1, "Country": "sample string 2", "CountryCode": "sample string 3" } ], "success": true, "code": "sample string 2", "message": "sample string 3", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<NoqoodyUserModels.CountryCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 2</code> <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </errors> <message>sample string 3</message> <success>true</success> <CountryCodeList> <Extensions.CountryCodeModel> <Country>sample string 2</Country> <CountryCode>sample string 3</CountryCode> <CountryID>1</CountryID> </Extensions.CountryCodeModel> <Extensions.CountryCodeModel> <Country>sample string 2</Country> <CountryCode>sample string 3</CountryCode> <CountryID>1</CountryID> </Extensions.CountryCodeModel> </CountryCodeList> </NoqoodyUserModels.CountryCodeResponse>