GET api/Masters/GetSectors?distCode={distCode}&projCode={projCode}&stateCode={stateCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
distCode

string

Required

projCode

string

Required

stateCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SpGetSector_Result
NameDescriptionTypeAdditional information
SectorName

string

None.

SectorID

integer

None.

SectorCode

string

None.

DistrictCode

string

None.

StateCode

string

None.

ProjectCode

string

None.

SupName

string

None.

SupMobile

string

None.

SupAddress

string

None.

SupEmail

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SectorName": "sample string 1",
    "SectorID": 2,
    "SectorCode": "sample string 3",
    "DistrictCode": "sample string 4",
    "StateCode": "sample string 5",
    "ProjectCode": "sample string 6",
    "SupName": "sample string 7",
    "SupMobile": "sample string 8",
    "SupAddress": "sample string 9",
    "SupEmail": "sample string 10"
  },
  {
    "SectorName": "sample string 1",
    "SectorID": 2,
    "SectorCode": "sample string 3",
    "DistrictCode": "sample string 4",
    "StateCode": "sample string 5",
    "ProjectCode": "sample string 6",
    "SupName": "sample string 7",
    "SupMobile": "sample string 8",
    "SupAddress": "sample string 9",
    "SupEmail": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSpGetSector_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSWDCW.Models">
  <SpGetSector_Result>
    <DistrictCode>sample string 4</DistrictCode>
    <ProjectCode>sample string 6</ProjectCode>
    <SectorCode>sample string 3</SectorCode>
    <SectorID>2</SectorID>
    <SectorName>sample string 1</SectorName>
    <StateCode>sample string 5</StateCode>
    <SupAddress>sample string 9</SupAddress>
    <SupEmail>sample string 10</SupEmail>
    <SupMobile>sample string 8</SupMobile>
    <SupName>sample string 7</SupName>
  </SpGetSector_Result>
  <SpGetSector_Result>
    <DistrictCode>sample string 4</DistrictCode>
    <ProjectCode>sample string 6</ProjectCode>
    <SectorCode>sample string 3</SectorCode>
    <SectorID>2</SectorID>
    <SectorName>sample string 1</SectorName>
    <StateCode>sample string 5</StateCode>
    <SupAddress>sample string 9</SupAddress>
    <SupEmail>sample string 10</SupEmail>
    <SupMobile>sample string 8</SupMobile>
    <SupName>sample string 7</SupName>
  </SpGetSector_Result>
</ArrayOfSpGetSector_Result>