POST Block/getSingleBlock

获取单个试块

Request Information

URI Parameters

None.

Body Parameters

blockDetailQuery
NameDescriptionTypeAdditional information
bId

integer

None.

wId

integer

None.

programId

integer

None.

blockName

string

None.

blockType

integer

None.

blockDegree

string

None.

blockJz

integer

None.

blockSj

integer

None.

blockDate

date

None.

blockBy

integer

None.

blockKs

integer

None.

blockTtj

integer

None.

blockCm

integer

None.

blockByDate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "bId": 1,
  "wId": 2,
  "programId": 3,
  "blockName": "sample string 4",
  "blockType": 5,
  "blockDegree": "sample string 6",
  "blockJz": 7,
  "blockSj": 8,
  "blockDate": "2020-04-10T16:23:10.4415148+08:00",
  "blockBy": 10,
  "blockKs": 11,
  "blockTtj": 12,
  "blockCm": 13,
  "blockByDate": 14
}

application/xml, text/xml

Sample:
<blockDetailQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Query">
  <bId>1</bId>
  <blockBy>10</blockBy>
  <blockByDate>14</blockByDate>
  <blockCm>13</blockCm>
  <blockDate>2020-04-10T16:23:10.4415148+08:00</blockDate>
  <blockDegree>sample string 6</blockDegree>
  <blockJz>7</blockJz>
  <blockKs>11</blockKs>
  <blockName>sample string 4</blockName>
  <blockSj>8</blockSj>
  <blockTtj>12</blockTtj>
  <blockType>5</blockType>
  <programId>3</programId>
  <wId>2</wId>
</blockDetailQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取单个试块

commonResultOfmBlock
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

singInfo

string

None.

userId

string

None.

unionid

string

None.

UID

integer

None.

counts

integer

None.

data

mBlock

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,
    "_ParentID": 1,
    "_BlockPart": "sample string 1",
    "_BlockType": 1,
    "_WID": 1,
    "_IsCheck": 1,
    "_BlockJZFL": 1,
    "_BlockSJFL": 1,
    "_BlockDate": "2020-04-10T16:23:10.4454212+08:00",
    "_AddTime": "2020-04-10T16:23:10.4454212+08:00",
    "_BlockBYZS": 1,
    "_BlockKSZS": 1,
    "_BlockTTJZS": 1,
    "_BlockBYDate": 1,
    "_F1": 1,
    "_F2": 1,
    "_F3": "sample string 2",
    "_F4": "sample string 3",
    "_CheckDate": "sample string 4",
    "_BlockLevel": "sample string 5",
    "_BlockCMZS": 1
  }
}

application/xml, text/xml

Sample:
<commonResultOfmBlockyspe689J 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-10T16:23:10.4454212+08:00</d2p1:_AddTime>
    <d2p1:_BlockBYDate>1</d2p1:_BlockBYDate>
    <d2p1:_BlockBYZS>1</d2p1:_BlockBYZS>
    <d2p1:_BlockCMZS>1</d2p1:_BlockCMZS>
    <d2p1:_BlockDate>2020-04-10T16:23:10.4454212+08:00</d2p1:_BlockDate>
    <d2p1:_BlockJZFL>1</d2p1:_BlockJZFL>
    <d2p1:_BlockKSZS>1</d2p1:_BlockKSZS>
    <d2p1:_BlockLevel>sample string 5</d2p1:_BlockLevel>
    <d2p1:_BlockPart>sample string 1</d2p1:_BlockPart>
    <d2p1:_BlockSJFL>1</d2p1:_BlockSJFL>
    <d2p1:_BlockTTJZS>1</d2p1:_BlockTTJZS>
    <d2p1:_BlockType>1</d2p1:_BlockType>
    <d2p1:_CheckDate>sample string 4</d2p1:_CheckDate>
    <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:_IsCheck>1</d2p1:_IsCheck>
    <d2p1:_ParentID>1</d2p1:_ParentID>
    <d2p1:_WID>1</d2p1:_WID>
  </data>
  <singInfo>sample string 3</singInfo>
  <success>true</success>
  <unionid>sample string 5</unionid>
  <userId>sample string 4</userId>
</commonResultOfmBlockyspe689J>