GET api/Masters/GetProjects?distCode={distCode}&stateCode={stateCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
distCode | string |
Required |
|
stateCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SpGetProject_ResultName | Description | Type | Additional information |
---|---|---|---|
ProjectID | integer |
None. |
|
DistrictCode | string |
None. |
|
DistrictName | string |
None. |
|
StateCode | string |
None. |
|
StateName | string |
None. |
|
ProjectCode | string |
None. |
|
ProjectName | string |
None. |
|
CDPOName | string |
None. |
|
CDPOMobile | string |
None. |
|
CDPOAddress | string |
None. |
|
CDPOEmail | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ProjectID": 1, "DistrictCode": "sample string 2", "DistrictName": "sample string 3", "StateCode": "sample string 4", "StateName": "sample string 5", "ProjectCode": "sample string 6", "ProjectName": "sample string 7", "CDPOName": "sample string 8", "CDPOMobile": "sample string 9", "CDPOAddress": "sample string 10", "CDPOEmail": "sample string 11" }, { "ProjectID": 1, "DistrictCode": "sample string 2", "DistrictName": "sample string 3", "StateCode": "sample string 4", "StateName": "sample string 5", "ProjectCode": "sample string 6", "ProjectName": "sample string 7", "CDPOName": "sample string 8", "CDPOMobile": "sample string 9", "CDPOAddress": "sample string 10", "CDPOEmail": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfSpGetProject_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSWDCW.Models"> <SpGetProject_Result> <CDPOAddress>sample string 10</CDPOAddress> <CDPOEmail>sample string 11</CDPOEmail> <CDPOMobile>sample string 9</CDPOMobile> <CDPOName>sample string 8</CDPOName> <DistrictCode>sample string 2</DistrictCode> <DistrictName>sample string 3</DistrictName> <ProjectCode>sample string 6</ProjectCode> <ProjectID>1</ProjectID> <ProjectName>sample string 7</ProjectName> <StateCode>sample string 4</StateCode> <StateName>sample string 5</StateName> </SpGetProject_Result> <SpGetProject_Result> <CDPOAddress>sample string 10</CDPOAddress> <CDPOEmail>sample string 11</CDPOEmail> <CDPOMobile>sample string 9</CDPOMobile> <CDPOName>sample string 8</CDPOName> <DistrictCode>sample string 2</DistrictCode> <DistrictName>sample string 3</DistrictName> <ProjectCode>sample string 6</ProjectCode> <ProjectID>1</ProjectID> <ProjectName>sample string 7</ProjectName> <StateCode>sample string 4</StateCode> <StateName>sample string 5</StateName> </SpGetProject_Result> </ArrayOfSpGetProject_Result>