メニュー

Expand
ページを評価:

メンバーリソース

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

Resource Properties in REST API format
call_sid
sid<CA> Not PII

The SID of the Call the Member resource is associated with.

date_enqueued
date_time<rfc2822> Not PII

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

position
integer Not PII

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

uri
uri Not PII

The URI of the resource, relative to https://api.twilio.com.

wait_time
integer Not PII

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

queue_sid
sid<QU> Not PII

The SID of the Queue the member is in.

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.

パラメーター
Parameters in REST API format
account_sid
Path
GET sid<AC> Not PII

The SID of the Account that created the Member resource(s) to fetch.

queue_sid
Path
GET sid<QU> Not PII

The SID of the Queue in which to find the members to fetch.

call_sid
Path
GET sid_like<CA> Not PII

The Call SID of the resource(s) to fetch.

例 1
        
        
        
        
        例 2
              
              
              
              

              Read multiple Member resources

              GET
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json
              パラメーター
              Parameters in REST API format
              account_sid
              Path
              GET sid<AC> Not PII

              The SID of the Account that created the Member resource(s) to read.

              queue_sid
              Path
              GET sid<QU> Not PII

              The SID of the Queue in which to find the members

              例 1
                    
                    
                    
                    

                    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.

                    パラメーター
                    Parameters in REST API format
                    account_sid
                    Path
                    post sid<AC> Not PII

                    The SID of the Account that created the Member resource(s) to update.

                    queue_sid
                    Path
                    post sid<QU> Not PII

                    The SID of the Queue in which to find the members to update.

                    call_sid
                    Path
                    post sid_like<CA> Not PII

                    The Call SID of the resource(s) to update.

                    url
                    必須
                    post url Not PII

                    The absolute URL of the Queue resource.

                    method
                    オプション
                    post http_method Not PII

                    How to pass the update request data. Can be GET or POST and the default is POST. POST sends the data as encoded form data and GET sends the data as query parameters.

                    例 1
                          
                          
                          
                          
                          例 2
                                
                                
                                
                                
                                ページを評価:

                                ヘルプが必要ですか?

                                誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。

                                      
                                      
                                      

                                      フィードバックくださりありがとうございます!

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

                                      Sending your feedback...
                                      🎉 Thank you for your feedback!
                                      Something went wrong. Please try again.

                                      Thanks for your feedback!

                                      Refer us and get $10 in 3 simple steps!

                                      ステップ1

                                      Get link

                                      Get a free personal referral link here

                                      ステップ2:

                                      Give $10

                                      Your user signs up and upgrade using link

                                      ステップ3

                                      Get $10

                                      1,250 free SMSes
                                      OR 1,000 free voice mins
                                      OR 12,000 chats
                                      OR more