GET api/sms/sent/{sms}

Gives you a given sent SMS message

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sms

SMS ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

SMS message

LoggedOutgoingSMSDTO
NameDescriptionTypeAdditional information
Created

Date when the SMS message was sent

date

None.

CreatedDate

Date when the SMS message was sent

date

Deprecated: Use Created instead

Modified

Date of latest modification/status update

date

None.

UpdatedDate

Date of latest modification/status update

date

Deprecated: Use Modified instead

ID

SMS message ID

integer

None.

BundleID

SMS bundle ID, if any

integer

None.

Status

SMS message status code

integer

None.

StatusDescription

SMS message status description

string

None.

To

Destination phone number

string

None.

CountryCode

Country code of destination phone number if To field is valid, otherwise null

string

None.

Currency

What currency the SMS was payed in. Is displayed as ISO 4217 Alphabetic code

Currency

None.

TotalPrice

The price for sending the entire message

decimal number

None.

Price

The price for sending each segment of the message

decimal number

None.

Encoding

Encoding in which the message was encoded

SmsEncoding

None.

Segments

The number of segments the message consists of

byte

None.

Prio

SMS message priority, normal (1) or high (2)

integer

Deprecated: No longer makes a difference, use 1 if any

Range: inclusive between 1 and 2

From

SMS message sender name or phone number

string

Required

Message

SMS message contents

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Created": "2019-10-23T22:29:28.1471108+00:00",
  "CreatedDate": "2019-10-23T22:29:28.1471108+00:00",
  "Modified": "2019-10-23T22:29:28.1471108+00:00",
  "UpdatedDate": "2019-10-23T22:29:28.1471108+00:00",
  "ID": 1,
  "BundleID": 1,
  "Status": 2,
  "StatusDescription": "Invalid message content",
  "To": "sample string 3",
  "CountryCode": null,
  "Currency": "SEK",
  "TotalPrice": 4.0,
  "Price": 5.0,
  "Encoding": "GSM7",
  "Segments": 1,
  "Prio": 2,
  "From": "sample string 7",
  "Message": "sample string 8"
}