Overview | Service | Command |
Perform an action on a voice message
Authorization token required | true |
Admin Authorization token required | false |
<VoiceMsgActionRequest> ## VoiceMsgActionRequest
<storeprincipal [id="{id-of-user-in-the-backing-store}"] [name="{name-of-user-in-the-backing-store}"]
[accountNumber="{account-number}"] /> ## StorePrincipalSpec
<action op="{operation}" phone="{phone-number}" [l="{location}"] id="{list}" /> ## VoiceMsgActionSpec
</VoiceMsgActionRequest>
The following table describes elements and attributes you can define within a
<VoiceMsgActionRequest>
element:
XPath | Required / Optional | Description |
/storeprincipal | Optional (0 or 1) | Store principal specification |
/storeprincipal@id | Optional (0 or 1) | Type:String ID of user in the backing store |
/storeprincipal@name | Optional (0 or 1) | Type:String Name of user in the backing store |
/storeprincipal@accountNumber | Optional (0 or 1) | Type:String Account Number |
/action | Required (only 1) | Action specification |
/action@op | Required (only 1) | Type:String move|[!]read|empty|delete
|
/action@phone | Required (only 1) | Type:String Phone number |
/action@l | Optional (0 or 1) | Type:String Folder ID of the destination location for the move
|
/action@id | Required (only 1) | Type:String IDs list.
|
<VoiceMsgActionResponse> ## VoiceMsgActionResponse
<action id="{successes}" op="{operation-move|read|empty}" /> ## VoiceMsgActionInfo
</VoiceMsgActionResponse>
The following table describes elements and attributes you can define within a
<VoiceMsgActionResponse>
element:
XPath | Required / Optional | Description |
/action | Required (only 1) | Information on action performed |
/action@id | Required (only 1) | Type:String List of ids that were acted on |
/action@op | Required (only 1) | Type:String Operation - move|read|empty |