Skip to content

Share Recipient Accepts Share

Interface Address:/v2/binding/enduserapi/shareDevice

Request Method:POST

Request Data Type:application/json

Response Data Type:*/*

Interface Description:Share Recipient Accepts Share

Request Parameters:

Parameter NameParameter DescriptionRequest TypeRequiredData Typeschema
shareCodeShare codequerytruestring
deviceNameDevice namequeryfalsestring

Response Status:

Status CodeDescriptionschema
200Share recipient accepted share successfullyRegistration code response data
5032Token verification failed
5049Device already bound
5106Please enter token
5136Please enter share code
5137Invalid share code
5138Device sharing failed
5151With override flag 3, the device usage expiration time of the share code cannot be less than that of the currently used share code
5333Device name exceeds length limit

Response Parameters:

Parameter NameParameter DescriptionTypeschema
codeResponse status codeinteger(int32)integer(int32)
dataResponse dataobject
extMsgExtended messagestring
msgResponse messagestring

Response Example:

javascript
{
	"code": 0,
	"data": {},
	"extMsg": "",
	"msg": ""
}