POST Program/getProgramById

单个工程查询

Request Information

URI Parameters

None.

Body Parameters

programQuery
NameDescriptionTypeAdditional information
wId

integer

None.

programId

integer

None.

programTitle

string

None.

mailCount

string

None.

proId

integer

None.

cityId

integer

None.

code

string

None.

userId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "wId": 1,
  "programId": 2,
  "programTitle": "sample string 3",
  "mailCount": "sample string 4",
  "proId": 5,
  "cityId": 6,
  "code": "sample string 7",
  "userId": "sample string 8"
}

application/xml, text/xml

Sample:
<programQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Query">
  <code>sample string 7</code>
  <userId>sample string 8</userId>
  <wId>0</wId>
  <cityId>6</cityId>
  <proId>5</proId>
  <mailCount>sample string 4</mailCount>
  <programId>2</programId>
  <programTitle>sample string 3</programTitle>
  <wId>1</wId>
</programQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

单个工程查询

commonResultOfmProgram
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

singInfo

string

None.

userId

string

None.

unionid

string

None.

UID

integer

None.

counts

integer

None.

data

mProgram

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "code": 2,
  "singInfo": "sample string 3",
  "userId": "sample string 4",
  "unionid": "sample string 5",
  "UID": 6,
  "counts": 7,
  "data": {
    "_ID": 1,
    "_Name": "sample string 1",
    "_AddTime": "2020-04-10T17:40:41.2118944+08:00",
    "_ProID": 1,
    "_CityID": 1,
    "_AllCounts": 1,
    "_F1": 1,
    "_F2": 1,
    "_F3": "sample string 2",
    "_F4": "sample string 3",
    "_WID": 1
  }
}

application/xml, text/xml

Sample:
<commonResultOfmProgramyspe689J xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Result">
  <UID>6</UID>
  <code>2</code>
  <counts>7</counts>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/pmddwApi.Models.dataModel">
    <d2p1:_AddTime>2020-04-10T17:40:41.2118944+08:00</d2p1:_AddTime>
    <d2p1:_AllCounts>1</d2p1:_AllCounts>
    <d2p1:_CityID>1</d2p1:_CityID>
    <d2p1:_F1>1</d2p1:_F1>
    <d2p1:_F2>1</d2p1:_F2>
    <d2p1:_F3>sample string 2</d2p1:_F3>
    <d2p1:_F4>sample string 3</d2p1:_F4>
    <d2p1:_ID>1</d2p1:_ID>
    <d2p1:_Name>sample string 1</d2p1:_Name>
    <d2p1:_ProID>1</d2p1:_ProID>
    <d2p1:_WID>1</d2p1:_WID>
  </data>
  <singInfo>sample string 3</singInfo>
  <success>true</success>
  <unionid>sample string 5</unionid>
  <userId>sample string 4</userId>
</commonResultOfmProgramyspe689J>