POST Program/getList

获取当前用户下所有工程

Request Information

URI Parameters

None.

Body Parameters

userQuery
NameDescriptionTypeAdditional information
code

string

None.

userId

string

None.

wId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "userId": "sample string 2",
  "wId": 3
}

application/xml, text/xml

Sample:
<userQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Query">
  <code>sample string 1</code>
  <userId>sample string 2</userId>
  <wId>3</wId>
</userQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取当前用户下所有工程

Collection of programResult
NameDescriptionTypeAdditional information
pId

integer

None.

title

string

None.

allCounts

integer

None.

checkCounts

integer

None.

tem

decimal number

None.

proId

integer

None.

proName

string

None.

cityId

integer

None.

cityName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "pId": 1,
    "title": "sample string 2",
    "allCounts": 3,
    "checkCounts": 4,
    "tem": 5.0,
    "proId": 6,
    "proName": "sample string 7",
    "cityId": 8,
    "cityName": "sample string 9"
  },
  {
    "pId": 1,
    "title": "sample string 2",
    "allCounts": 3,
    "checkCounts": 4,
    "tem": 5.0,
    "proId": 6,
    "proName": "sample string 7",
    "cityId": 8,
    "cityName": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfprogramResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Result">
  <programResult>
    <cityId>8</cityId>
    <cityName>sample string 9</cityName>
    <proId>6</proId>
    <proName>sample string 7</proName>
    <allCounts>3</allCounts>
    <checkCounts>4</checkCounts>
    <pId>1</pId>
    <tem>5</tem>
    <title>sample string 2</title>
  </programResult>
  <programResult>
    <cityId>8</cityId>
    <cityName>sample string 9</cityName>
    <proId>6</proId>
    <proName>sample string 7</proName>
    <allCounts>3</allCounts>
    <checkCounts>4</checkCounts>
    <pId>1</pId>
    <tem>5</tem>
    <title>sample string 2</title>
  </programResult>
</ArrayOfprogramResult>