GET api/ERA?enrolleeNo={enrolleeNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| enrolleeNo | string |
Required |
Body Parameters
AddressFromCoord| Name | Description | Type | Additional information |
|---|---|---|---|
| fullAddress | string |
None. |
|
| lng | decimal number |
None. |
|
| lat | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"fullAddress": "sample string 1",
"lng": 2.0,
"lat": 3.0
}
application/xml, text/xml
Sample:
<sharedService.AddressFromCoord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.shared"> <fullAddress>sample string 1</fullAddress> <lat>3</lat> <lng>2</lng> </sharedService.AddressFromCoord>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"fullAddress":"sample string 1","lng":2.0,"lat":3.0}
Response Information
Resource Description
getDispatcherResult| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Data_ERA |
None. |
|
| status | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"phone_numbers": [
"sample string 1",
"sample string 2"
]
},
"status": "sample string 1"
}
application/xml, text/xml
Sample:
<getDispatcherResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.ERA.getDispatcher">
<data>
<phone_numbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</phone_numbers>
</data>
<status>sample string 1</status>
</getDispatcherResult>
text/html
Sample:
{"data":{"phone_numbers":["sample string 1","sample string 2"]},"status":"sample string 1"}