POST api/GetTelCode
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTelcodeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| telecodelist | Collection of GetTelecodeItems |
None. |
Response Formats
application/json, text/json
Sample:
{
"telecodelist": [
{
"flag": "sample string 1",
"Tel_code": "sample string 2"
},
{
"flag": "sample string 1",
"Tel_code": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<GetTelcodeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
<telecodelist>
<GetTelecodeItems>
<Tel_code>sample string 2</Tel_code>
<flag>sample string 1</flag>
</GetTelecodeItems>
<GetTelecodeItems>
<Tel_code>sample string 2</Tel_code>
<flag>sample string 1</flag>
</GetTelecodeItems>
</telecodelist>
</GetTelcodeResult>