Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include example of simplified tilde syntax #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ To access a Call Log resource you will require this URI:

`GET /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log`

Send the request having specified particular accountId and extensionId or using simplified syntax with tilde characters. Please note, that if dateFrom parameter is not specified, server will return records for last week only.
Send the request having specified particular accountId and extensionId or using simplified syntax with tilde characters.

**Example URI using simplified tilde syntax**
`GET /restapi/v1.0/account/~/extension/~/call-log`

Please note, that if dateFrom parameter is not specified, server will return records for last week only.

## Retrieve Filtered Call Logs

Expand Down Expand Up @@ -241,7 +246,12 @@ If you need to send a text message to somebody, you should use this URI:

`POST /restapi/v1.0/account/{accountId}/extension/{extensionId}/sms`

Send `POST` request: Specify `accountId` and `extensionId` in the request URL or use simplified syntax with tilde characters. Specify the recipient phone number in the `to` field and one of your valid RingCentral phone numbers in the `from` field. Enter your message in the `text` field.
Send `POST` request: Specify `accountId` and `extensionId` in the request URL or use simplified syntax with tilde characters.

**Example URI using simplified tilde syntax**
`POST /restapi/v1.0/account/~/extension/~/sms`

Specify the recipient phone number in the `to` field and one of your valid RingCentral phone numbers in the `from` field. Enter your message in the `text` field.

## Send Pager Message

Expand Down