pstnCallLogRow 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 public switched telephone network (PSTN) call log. Each row maps to one call.
Methods
Method | Return Type | Description |
---|---|---|
getPstnCalls | microsoft.graph.callRecords.pstnCallLogRow collection | List pstnCallLogRow objects in a call record. |
Properties
Property | Type | Description |
---|---|---|
callDurationSource | microsoft.graph.callRecords.pstnCallDurationSource | The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator may provide their own call duration data. In this case, the property value is operator . Otherwise, the value is microsoft . |
calleeNumber | String | Number of the user or bot who received the call (E.164). |
callerNumber | String | Number of the user or bot who made the call (E.164). |
callId | String | Call identifier. Not guaranteed to be unique. |
callType | String | Indicates whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference. |
charge | Decimal | Amount of money or cost of the call that is charged to your account. |
conferenceId | String | ID of the audio conference. |
connectionCharge | Decimal | Connection fee price. |
currency | String | Type of currency used to calculate the cost of the call (ISO 4217). |
destinationContext | String | Indicates whether the call 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 dialed. |
duration | Int32 | How long the call was connected, in seconds. |
endDateTime | DateTimeOffset | Call end time. |
id | String | Unique call identifier (GUID). |
inventoryType | String | User's phone number type, such as a service of toll-free number. |
licenseCapability | String | The license used for the call. |
operator | String | The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. |
otherPartyCountryCode | String | Country code of the caller in case of an incoming call, or callee in case of an outgoing call. For details, see ISO 3166-1 alpha-2. |
startDateTime | DateTimeOffset | Call start time. |
tenantCountryCode | String | Country code of the tenant. For details, see ISO 3166-1 alpha-2. |
usageCountryCode | 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 Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in , ucap_out ). |
userPrincipalName | String | The user principal name (sign-in name) in Azure Active Directory. This is usually the same as the user's SIP address, and can be same as the user's e-mail address. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"@odata.type": "#microsoft.graph.callRecords.pstnCallLogRow",
"callDurationSource": "String",
"calleeNumber": "String",
"callerNumber": "String",
"callId": "String",
"callType": "String",
"charge": "Decimal",
"conferenceId": "String",
"connectionCharge": "Decimal",
"currency": "String",
"destinationContext": "String",
"destinationName": "String",
"duration": "Int32",
"endDateTime": "String (timestamp)",
"id": "String (identifier)",
"inventoryType": "String",
"licenseCapability": "String",
"operator": "String",
"otherPartyCountryCode": "String",
"startDateTime": "String (timestamp)",
"tenantCountryCode": "String",
"usageCountryCode": "String",
"userDisplayName": "String",
"userId": "String",
"userPrincipalName": "String"
}
Feedback
Submit and view feedback for