POST api/v1/thethingsnetwork/v3/downlinkfailed

Downlink failed from The Things Network

Request Information

URI Parameters

None.

Body Parameters

DownlinkFailedDto
NameDescriptionTypeAdditional information
end_device_ids

EndDeviceIds

None.

correlation_ids

Collection of string

None.

downlink_failed

DownlinkFailed

None.

Request Formats

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

Sample:
{
  "end_device_ids": {
    "device_id": "sample string 1",
    "application_ids": {
      "application_id": "sample string 1"
    },
    "dev_eui": "sample string 2",
    "join_eui": "sample string 3",
    "dev_addr": "sample string 4"
  },
  "correlation_ids": [
    "sample string 1",
    "sample string 2"
  ],
  "downlink_failed": {
    "downlink": {
      "f_port": 1,
      "frm_payload": "sample string 2",
      "confirmed": true,
      "priority": "sample string 4",
      "correlation_ids": [
        "sample string 1",
        "sample string 2"
      ]
    },
    "error": {
      "namespace": "sample string 1",
      "name": "sample string 2",
      "message_format": "sample string 3",
      "correlation_id": "sample string 4",
      "code": 5
    }
  }
}

application/xml, text/xml

Sample:
<DownlinkFailedDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.TheThingsNetwork.V3">
  <CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CorrelationIds>
  <DownlinkFailed>
    <Downlink>
      <Confirmed>true</Confirmed>
      <CorrelationIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CorrelationIds>
      <FPort>1</FPort>
      <FrmPayload>sample string 2</FrmPayload>
      <Priority>sample string 4</Priority>
    </Downlink>
    <Error>
      <Code>5</Code>
      <CorrelationId>sample string 4</CorrelationId>
      <MessageFormat>sample string 3</MessageFormat>
      <Name>sample string 2</Name>
      <Namespace>sample string 1</Namespace>
    </Error>
  </DownlinkFailed>
  <EndDeviceIds>
    <ApplicationIds>
      <ApplicationId>sample string 1</ApplicationId>
    </ApplicationIds>
    <DevAddr>sample string 4</DevAddr>
    <DevEui>sample string 2</DevEui>
    <DeviceId>sample string 1</DeviceId>
    <JoinEui>sample string 3</JoinEui>
  </EndDeviceIds>
</DownlinkFailedDto>

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.