POST api/minor/GetDistrictMaster

Request Information

URI Parameters

None.

Body Parameters

ReqDistrictData
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

DivisionCode

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",
  "DivisionCode": "sample string 3",
  "Userid": 4,
  "UserType": 5,
  "Procid": 6
}

application/xml, text/xml

Sample:
<ReqDistrictData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <DivisionCode>sample string 3</DivisionCode>
  <Procid>6</Procid>
  <Token>sample string 2</Token>
  <UserType>5</UserType>
  <Userid>4</Userid>
</ReqDistrictData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespMasterData
NameDescriptionTypeAdditional 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>