1. Home
  2. Docs
  3. IoTGtw API Samples
  4. Messaging API (Upstream Application Data)
  5. Submit Message (Raw)

Submit Message (Raw)

The raw submit endpoint is similar to the submit endpoint however this endpoint allows customers to submit the payload to be transmitted to the device as the POST DATA. The IoTGtw request parameters such as device identifier, service access point, etc must in this specific case be supplied in the request header (prefixed with the key iotgtw).
The response will be provided as standard HTTP response status of 200 (success) or 404 (Failed).
Property Description
Resource URL /customer/v1/{customer_id}/messaging/{messaging_profile_id}/rawSubmit
Method POST
Body Opaque data
Sample Request

HEADER
authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIiLCJpYXQiOjE1MjIwODg2MzIsImV4cCI6MTUyMjA4ODY0MiwiYXVkIjoiIiwic3ViIjoiIiwiY3VzdG9tZXJfaWQiOiI1YTM5M2VhMjEwZDkxODA2YjdlZjcwMmMifQ.mHoao135IAn6mdKpJJAxKVldCsHWZtGtvTn3DuLhDjg
Content-Type:text/plain
iotgtw-udid:5b2297d87e091748f024482e
iotgtw-service_access_point:udp.lon1.sap.iotgtw.com
iotgtw-downlink_delivery_sap_restriction:any_sap
iotgtw-delivery_priority:4
iotgtw-message_queueing_duration_minutes:56

RHVpc3Bvc3VlcmVhdWd1ZXZlbGN1cnN1c3BoYXJldHJhSW5sdWN0dXNhZXhuZWMgcHJldGl1bS5QcmFlc2VudG5lcXVlcXVhbSx0aW5jaWR1bnRuZWNEdWlzcG9zdWVyZWF1Z3VldmVsY3Vyc3VzcGhhcmV0cmFJbmx1Y3R1c2FleG5lYyBwcmV0aXVtLlByYWVzZW50bmVxdWVxdWFtLHRpbmNpZHVudG5lY0R1aXNwb3N1ZXJlYXVndWV2ZWxjdXJzdXNwaGFyZXRyYUlubHVjdHVzYWV4bmVjIHByZXRpdW0uUHJhZXNlbnRuZXF1ZXF1YW0sdGluY2lkdW50bmVjRHVpc3Bvc3VlcmVhdWd1ZXZlbGN1cnN1c3BoYXJldHJhSW5sdWN0dXNhZXh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