メニュー

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

メンバーリソース

The Member resource is a subresource of the Queue resource and represents a single call in a call queue.

All members in a call queue can be identified by their unique CallSid, and the member at the front of the queue can be identified by the Front sid.

Member properties

call_sid
sid<CA> Not PII

キューに入れられた通話を一意に識別する 34 文字の文字列です。

date_enqueued
date_time<rfc2822> Not PII

このメンバーがキューに入れられた日付です。RFC 2822 フォーマットを使用します。

position
integer Not PII

キューの中での、このメンバーの現在の位置です。

wait_time
integer Not PII

このメンバーがキューで待機している時間 (秒) です。

Fetch a Member resource

GET
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json

You can address the member to fetch by its unique CallSid or by the Front sid to fetch the member at the front of the queue.

パラメーター
QueueSid
必須
GET sid<QU> Not PII

The Queue in which to find the members

Loading Code Sample...
      
      
      
      

      Read multiple Member resources

      GET
      https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json
      パラメーター
      QueueSid
      必須
      GET sid<QU> Not PII

      The Queue in which to query the members

      Loading Code Sample...
          
          
          
          

          Update a Member resource

          post
          https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json

          Updating a Member resource dequeues the member to begin executing the TwiML document at that URL.

          You can address the member to dequeue by its unique CallSid or by the Front sid.

          If you successfully dequeue a member by its unique CallSid, it will no longer be queued so a second update action on that same member will fail.

          When dequeueing a member by using the Front sid, that member will be dequeued and the next member in the queue will take its place.

          パラメーター
          QueueSid
          必須
          post sid<QU> Not PII

          The Queue in which to find the members

          Loading Code Sample...
              
              
              
              

              ヘルプが必要ですか?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...