smsLogRow resource type

Namespace: microsoft.graph.callRecords

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a row of data in the log of a sent or received SMS. Each row maps to one SMS.

Per-country privacy requirements include the obfuscation of the external (not owned by the customer) phone numbers for some countries based on the location of the organization. For those countries, the three or four last digits of the external phone number are replaced with asterisks (for example, +123 456789***).

Methods

Method Return Type Description
Get SMS log microsoft.graph.callRecords.smsLogRow collection Get the log of a sent/received SMS as a collection of smsLogRow entries.

Properties

Property Type Description
administrativeUnitInfos microsoft.graph.callRecords.administrativeUnitInfo collection Collection of administrative units associated to a call.
callCharge Decimal Amount of money or cost of the SMS that is charged.
currency String Currency used to calculate the cost of the call. For details, see ISO 4217.
destinationContext String Indicates whether the SMS was Domestic (within a country or region) or International (outside a country or region) based on the user's location.
destinationName String Country or region of a phone number that received the SMS.
destinationNumber String Partially obfuscated phone number that received the SMS. For details, see E.164.
id String Unique identifier (GUID) for the SMS.
licenseCapability String The license used for the SMS.
otherPartyCountryCode String For an outbound SMS, the country code of the receiver; otherwise (inbound SMS) the country code of the sender. For details, see ISO 3166-1 alpha-2.
sentDateTime DateTimeOffset The date and time when the SMS was sent.
smsId String SMS identifier. Not guaranteed to be unique.
smsType String Type of SMS such as outbound or inbound.
smsUnits Int32 Number of SMS units sent/received.
sourceNumber String Partially obfuscated phone number that sent the SMS. For details, see E.164.
tenantCountryCode String Country code of the tenant. For details, see ISO 3166-1 alpha-2.
userCountryCode String Country code of the user. For details, see ISO 3166-1 alpha-2.
userDisplayName String Display name of the user.
userId String The unique identifier (GUID) of the user in Microsoft Entra ID.
userPrincipalName String The user principal name (sign-in name) in Microsoft Entra ID. It is usually the same as the user's SIP address and can be the same as the user's e-mail address.

Relationships

None.

JSON representation

The following JSON representation shows the resource.

{
  "@odata.type": "#microsoft.graph.callRecords.smsLogRow",
  "administrativeUnitInfos": [{"@odata.type": "microsoft.graph.callRecords.administrativeUnitInfo"}],
  "callCharge": "Decimal",
  "currency": "String",
  "destinationContext": "String",
  "destinationName": "String",
  "destinationNumber": "String",
  "id": "String (identifier)",
  "licenseCapability": "String",
  "otherPartyCountryCode": "String",
  "sentDateTime": "String (timestamp)",
  "smsId": "String",
  "smsType": "String",
  "smsUnits": "Int32",
  "sourceNumber": "String",
  "tenantCountryCode": "String",
  "userCountryCode": "String",
  "userDisplayName": "String",
  "userId": "String",
  "userPrincipalName": "String"  
}