My country mobile to get a Salesforce Inbox package comprises an Apex assistant course that lessens the sum of code required to socialize together with My country mobile APIs. As the Lightning parts from the package deal focus solely on SMS, the assistant class gives you the ability to compose custom made Apex to socialize to some of all My country mobile API products and services, such for instance Voice and speak.
Notice: code samples are all composed in Apex; however, they are also tagged as”Java” to get syntax-highlighting functions.
My country mobile will affirm you have comprised a legal My country mobile phone-number from the By parameter, subsequently queue the telephone or return a mistake.
Take a look at the total API Reference to receive Messages to your entire collection of parameters you may put within your request. You may insert those with the add UrlPart system. You may even locate the settings you may get straight back from My country mobile.
Utilize My country mobile ApiClientResponse to recover the exact position code and error message in the petition.
This case demonstrates just how you can pull on a set of messages out of My country mobile. Automatically, this procedure will yield 50 final results. The most quantity of information in one petition is 1, 000. You may specify the number of answers is returned utilizing the pageSize param.
Watch the”Get Messages together with Pagination” cases to get retrieving more substantial collections of messages.
This case illustrates how you can recover a set of messages which fit criteria that are specified. Watch this particular documentation to watch extra alternatives for text messages.
Get Messages together with Pagination – Case in Point Inch.
Access all messages from your My country mobile account utilizing pagination. Inside this case, we receive another webpage URL; in fact, it’s and calls it into our My country mobile consumer.
An instance, Standard concept Of Deletion.
A Messaging assistance can be a pool of mobile numbers which precisely moisturizes your message human body, suits with the receiver’s area code, also spread SMS throughout various amounts. You may read far more on the subject of Messaging products and services right here.
This code example illustrates ways to receive Salesforce Inbox yourself a set of Messaging companies on your accounts.
This case demonstrates how you can upgrade this”Licensed Title” of the Messaging assistance with the My country mobile API.
Taskrouter can be an API for monitoring the access to call center navigation and staff activities for the proper employee. Inside this case, we’re drawing on the present collection of available (“book”) events to get a single employee.