{"type":"api","title":"Send Downlink","meta":{"id":"/apps/pubhub/media/cisco-iot-suite/64f8fe4b343793ff572741607351ff520b6a158d/5c66b3aa-a761-3029-b823-c160b9ed90db","swagger":"2.0","info":{"contact":{"email":"asset-tracking-team@cisco.com"},"description":"This service exposes APIs for managing AssetTypes, Assets, Sensors, Gateways deployed in the network.","license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"http://swagger.io/terms/","title":"Industrial Asset Vision","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/at/nbapi/v1","schemes":["https"],"externalDocs":{"description":"Find out more about Industrial Asset Vision","url":"https://www.cisco.com/c/en/us/products/cloud-systems-management/industrial-asset-vision/index.html"},"securityDefinitions":{"BearerToken":{"in":"header","name":"Authorization","type":"apiKey"}},"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"serverConfig":true,"meta":{"useProxy":true}}},"spec":{"consumes":["application/json"],"description":"Send downlink for 3rd Party Sensor","operationId":"sendDownlink","parameters":[{"description":"Sensor DevEUI","in":"path","name":"devEui","required":true,"type":"string"},{"description":"Downlink details","in":"body","name":"body","required":true,"schema":{"properties":{"fPort":{"description":"FPort to send downlink","format":"int32","type":"integer"},"payload":{"description":"Downlink Payload to push to LTP sensor","type":"string"}},"type":"object","xml":{"name":"NBDownlinkRequest"},"$$ref":"#/definitions/DownlinkRequest"}}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"configInfo":{"description":"The status of the pushed downlink","example":"Downlink sent successfully","type":"string"},"configStatus":{"description":"The downlink push status","type":"string"},"configStatusLastUpdated":{"description":"The device config status last updated time in unix epoch time. ex-1573483982768","format":"int64","type":"integer"}},"type":"object","xml":{"name":"NBDownlinkResponse"},"$$ref":"#/definitions/DownlinkResponse"}},"400":{"description":"Bad Request","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"401":{"description":"Unauthorized","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"403":{"description":"Forbidden","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"404":{"description":"Not found","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"500":{"description":"Server failure","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}}},"security":[{"BearerToken":[]}],"summary":"Send downlink for 3rd Party Sensor","tags":["Sensors"],"__originalOperationId":"sendDownlink","method":"post","path":"/sensors/{devEui}/downlink"}}