POST api/v1/devices/{deviceId}/particle

Create a particle device (requires the particle device to exist really just associated the particle device with this device.)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deviceId

The device Id (Tinamous DeviceId)

globally unique identifier

Required

Body Parameters

ParticleMessageDto

None.

Request Formats

application/json, text/json, application/senml+json

Sample:
{}

application/xml, text/xml

Sample:
<ParticleMessageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Particle.Models" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/senml+json

Sample:

Sample not available.