GET api/Master/GetTumbon?AmphurID={AmphurID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AmphurID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfListOfReligionModelName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of ReligionModel |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "Id": "sample string 1", "Name": "sample string 2" }, { "Id": "sample string 1", "Name": "sample string 2" } ], "Status": true, "ErrorMessage": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<ResultModelOfArrayOfReligionModelhraDSAs4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.SCSModels"> <d2p1:ReligionModel> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:ReligionModel> <d2p1:ReligionModel> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:ReligionModel> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 3</Message> <Status>true</Status> </ResultModelOfArrayOfReligionModelhraDSAs4>