GET api/Health/AddDevice?GoodsID={GoodsID}&DeviceTypeID={DeviceTypeID}&InterfaceType={InterfaceType}&InterfaceInfo={InterfaceInfo}

绑定设备

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GoodsID

商品编号

integer

Required

DeviceTypeID

设备类型 1-血压 2-血糖

integer

Required

InterfaceType

接口类型 没有传空字符

string

Required

InterfaceInfo

接口连接数据 没有传空字符

string

Required

Body Parameters

None.

Response Information

Resource Description

Result_API
NameDescriptionTypeAdditional information
Code

integer

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Data": {},
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<Result_API xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_Model">
  <Code>1</Code>
  <Data />
  <Message>sample string 3</Message>
</Result_API>