POST api/minor/GetTehsilMaster
Request Information
URI Parameters
None.
Body Parameters
ReqTehsilData| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiUserName | string |
None. |
|
| Token | string |
None. |
|
| DistrictCode | string |
None. |
|
| Userid | integer |
None. |
|
| UserType | integer |
None. |
|
| Procid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApiUserName": "sample string 1",
"Token": "sample string 2",
"DistrictCode": "sample string 3",
"Userid": 4,
"UserType": 5,
"Procid": 6
}
application/xml, text/xml
Sample:
<ReqTehsilData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models"> <ApiUserName>sample string 1</ApiUserName> <DistrictCode>sample string 3</DistrictCode> <Procid>6</Procid> <Token>sample string 2</Token> <UserType>5</UserType> <Userid>4</Userid> </ReqTehsilData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespMasterData| Name | Description | Type | Additional information |
|---|---|---|---|
| respCode | string |
None. |
|
| respMessage | string |
None. |
|
| Data | Collection of MasterData |
None. |
Response Formats
application/json, text/json
Sample:
{
"respCode": "sample string 1",
"respMessage": "sample string 2",
"Data": [
{
"MasterId": 1,
"MasterName": "sample string 2"
},
{
"MasterId": 1,
"MasterName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RespMasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models">
<Data>
<MasterData>
<MasterId>1</MasterId>
<MasterName>sample string 2</MasterName>
</MasterData>
<MasterData>
<MasterId>1</MasterId>
<MasterName>sample string 2</MasterName>
</MasterData>
</Data>
<respCode>sample string 1</respCode>
<respMessage>sample string 2</respMessage>
</RespMasterData>