POST Api/PC/UploadParameter

CS往BS上传项目参数

Request Information

URI Parameters

None.

Body Parameters

BaseRequestOfListOfTB_System_Parameter
NameDescriptionTypeAdditional information
QueryType

string

None.

OrgCold

string

None.

Data

Collection of TB_System_Parameter

None.

Request Formats

application/json, text/json

Sample:
{
  "QueryType": "sample string 1",
  "OrgCold": "sample string 2",
  "Data": [
    {
      "ID": "6679eee9-fbde-4b31-ab67-0e22bfe7e9d2",
      "PaToCode": "sample string 2",
      "PaProjectName": "sample string 3",
      "PaThresholdUp": "sample string 4",
      "PaThresholdDown": "sample string 5",
      "PaReferenceUp": "sample string 6",
      "PaReferenceDown": "sample string 7",
      "PaUserSex": 8,
      "PaUserAge": 1,
      "PaUntil": "sample string 9",
      "PaSystemCode": 1,
      "PaoverUp": "sample string 10",
      "PamoveUp": "sample string 11",
      "PamoveDown": "sample string 12",
      "PaoverDown": "sample string 13",
      "Paregular": "sample string 14",
      "PaProjectType": "sample string 15",
      "PaUpdateTime": "2025-01-22T13:07:48.4626935+08:00",
      "Notes": "sample string 16",
      "Spare1": "sample string 17",
      "Spare2": "sample string 18",
      "PianGaoJieGuo": "sample string 19",
      "PianDiJieGuo": "sample string 20",
      "GuoGaoJieGuo": "sample string 21",
      "GuoDiJieGuo": "sample string 22",
      "InputerName": "sample string 23",
      "ID_Institution": "1460404f-bd57-47da-8f35-d60557c0e249",
      "ProjectUp": null,
      "ProjectDown": null,
      "ProjectThresholdUp": null,
      "ProjectThresholdDown": null,
      "UserSexText": null,
      "GuideSerial": 1
    },
    {
      "ID": "6679eee9-fbde-4b31-ab67-0e22bfe7e9d2",
      "PaToCode": "sample string 2",
      "PaProjectName": "sample string 3",
      "PaThresholdUp": "sample string 4",
      "PaThresholdDown": "sample string 5",
      "PaReferenceUp": "sample string 6",
      "PaReferenceDown": "sample string 7",
      "PaUserSex": 8,
      "PaUserAge": 1,
      "PaUntil": "sample string 9",
      "PaSystemCode": 1,
      "PaoverUp": "sample string 10",
      "PamoveUp": "sample string 11",
      "PamoveDown": "sample string 12",
      "PaoverDown": "sample string 13",
      "Paregular": "sample string 14",
      "PaProjectType": "sample string 15",
      "PaUpdateTime": "2025-01-22T13:07:48.4626935+08:00",
      "Notes": "sample string 16",
      "Spare1": "sample string 17",
      "Spare2": "sample string 18",
      "PianGaoJieGuo": "sample string 19",
      "PianDiJieGuo": "sample string 20",
      "GuoGaoJieGuo": "sample string 21",
      "GuoDiJieGuo": "sample string 22",
      "InputerName": "sample string 23",
      "ID_Institution": "1460404f-bd57-47da-8f35-d60557c0e249",
      "ProjectUp": null,
      "ProjectDown": null,
      "ProjectThresholdUp": null,
      "ProjectThresholdDown": null,
      "UserSexText": null,
      "GuideSerial": 1
    }
  ]
}

application/xml, text/xml

Sample:
<BaseRequestOfArrayOfTB_System_Parameter5TI2ngjK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/GT.WebModels">
    <d2p1:TB_System_Parameter>
      <d2p1:GuideSerial>1</d2p1:GuideSerial>
      <d2p1:GuoDiJieGuo>sample string 22</d2p1:GuoDiJieGuo>
      <d2p1:GuoGaoJieGuo>sample string 21</d2p1:GuoGaoJieGuo>
      <d2p1:ID>6679eee9-fbde-4b31-ab67-0e22bfe7e9d2</d2p1:ID>
      <d2p1:ID_Institution>1460404f-bd57-47da-8f35-d60557c0e249</d2p1:ID_Institution>
      <d2p1:InputerName>sample string 23</d2p1:InputerName>
      <d2p1:Notes>sample string 16</d2p1:Notes>
      <d2p1:PaProjectName>sample string 3</d2p1:PaProjectName>
      <d2p1:PaProjectType>sample string 15</d2p1:PaProjectType>
      <d2p1:PaReferenceDown>sample string 7</d2p1:PaReferenceDown>
      <d2p1:PaReferenceUp>sample string 6</d2p1:PaReferenceUp>
      <d2p1:PaSystemCode>1</d2p1:PaSystemCode>
      <d2p1:PaThresholdDown>sample string 5</d2p1:PaThresholdDown>
      <d2p1:PaThresholdUp>sample string 4</d2p1:PaThresholdUp>
      <d2p1:PaToCode>sample string 2</d2p1:PaToCode>
      <d2p1:PaUntil>sample string 9</d2p1:PaUntil>
      <d2p1:PaUpdateTime>2025-01-22T13:07:48.4626935+08:00</d2p1:PaUpdateTime>
      <d2p1:PaUserAge>1</d2p1:PaUserAge>
      <d2p1:PaUserSex>8</d2p1:PaUserSex>
      <d2p1:PamoveDown>sample string 12</d2p1:PamoveDown>
      <d2p1:PamoveUp>sample string 11</d2p1:PamoveUp>
      <d2p1:PaoverDown>sample string 13</d2p1:PaoverDown>
      <d2p1:PaoverUp>sample string 10</d2p1:PaoverUp>
      <d2p1:Paregular>sample string 14</d2p1:Paregular>
      <d2p1:PianDiJieGuo>sample string 20</d2p1:PianDiJieGuo>
      <d2p1:PianGaoJieGuo>sample string 19</d2p1:PianGaoJieGuo>
      <d2p1:Spare1>sample string 17</d2p1:Spare1>
      <d2p1:Spare2>sample string 18</d2p1:Spare2>
    </d2p1:TB_System_Parameter>
    <d2p1:TB_System_Parameter>
      <d2p1:GuideSerial>1</d2p1:GuideSerial>
      <d2p1:GuoDiJieGuo>sample string 22</d2p1:GuoDiJieGuo>
      <d2p1:GuoGaoJieGuo>sample string 21</d2p1:GuoGaoJieGuo>
      <d2p1:ID>6679eee9-fbde-4b31-ab67-0e22bfe7e9d2</d2p1:ID>
      <d2p1:ID_Institution>1460404f-bd57-47da-8f35-d60557c0e249</d2p1:ID_Institution>
      <d2p1:InputerName>sample string 23</d2p1:InputerName>
      <d2p1:Notes>sample string 16</d2p1:Notes>
      <d2p1:PaProjectName>sample string 3</d2p1:PaProjectName>
      <d2p1:PaProjectType>sample string 15</d2p1:PaProjectType>
      <d2p1:PaReferenceDown>sample string 7</d2p1:PaReferenceDown>
      <d2p1:PaReferenceUp>sample string 6</d2p1:PaReferenceUp>
      <d2p1:PaSystemCode>1</d2p1:PaSystemCode>
      <d2p1:PaThresholdDown>sample string 5</d2p1:PaThresholdDown>
      <d2p1:PaThresholdUp>sample string 4</d2p1:PaThresholdUp>
      <d2p1:PaToCode>sample string 2</d2p1:PaToCode>
      <d2p1:PaUntil>sample string 9</d2p1:PaUntil>
      <d2p1:PaUpdateTime>2025-01-22T13:07:48.4626935+08:00</d2p1:PaUpdateTime>
      <d2p1:PaUserAge>1</d2p1:PaUserAge>
      <d2p1:PaUserSex>8</d2p1:PaUserSex>
      <d2p1:PamoveDown>sample string 12</d2p1:PamoveDown>
      <d2p1:PamoveUp>sample string 11</d2p1:PamoveUp>
      <d2p1:PaoverDown>sample string 13</d2p1:PaoverDown>
      <d2p1:PaoverUp>sample string 10</d2p1:PaoverUp>
      <d2p1:Paregular>sample string 14</d2p1:Paregular>
      <d2p1:PianDiJieGuo>sample string 20</d2p1:PianDiJieGuo>
      <d2p1:PianGaoJieGuo>sample string 19</d2p1:PianGaoJieGuo>
      <d2p1:Spare1>sample string 17</d2p1:Spare1>
      <d2p1:Spare2>sample string 18</d2p1:Spare2>
    </d2p1:TB_System_Parameter>
  </Data>
  <OrgCold>sample string 2</OrgCold>
  <QueryType>sample string 1</QueryType>
</BaseRequestOfArrayOfTB_System_Parameter5TI2ngjK>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BaseRequest`1'.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
ResponseCode

返回Code

integer

None.

ResponseMsg

返回信息

string

None.

ResponseData

返回数据Json字符串

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMsg": "sample string 2",
  "ResponseData": "sample string 3"
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <ResponseCode>1</ResponseCode>
  <ResponseData>sample string 3</ResponseData>
  <ResponseMsg>sample string 2</ResponseMsg>
</BaseResponse>