管理測試人員

所有代理商都隸屬於品牌 (商家、機構或群組)。建立代理程式前,請先建立品牌。品牌純粹是組織用途,可協助您將相關代理分組。

本頁面的程式碼片段來自 Python 範例

將測試人員新增至代理程式

Python

endpoint_url = (BASE_ENDPOINT + 'testers')

body = {
  "agentId": agentId,
  "phoneNumber": msisdn
}

response = authed_session.post(endpoint_url, data=json.dumps(body))
這段程式碼摘錄自 RBM Management API 範例

列出代理程式的測試人員

Python

endpoint_url = (BASE_ENDPOINT +
  'testers?' +
  'agentId=' + agentId)

response = authed_session.get(endpoint_url)
這段程式碼摘錄自 RBM Management API 範例

擷取測試人員的狀態

Python

endpoint_url = (BASE_ENDPOINT +
  testerId +
  '?agentId=' + agentId)

response = authed_session.get(endpoint_url)
這段程式碼摘錄自 RBM Management API 範例

刪除測試人員

Python

endpoint_url = (BASE_ENDPOINT +
  testerId +
  '?agentId=' + agentId)

response = authed_session.delete(endpoint_url)
這段程式碼摘錄自 RBM Management API 範例