連絡先をリソースディレクトリ、フォルダ、またはメンバーにバインドします。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ContactId |
string |
任意 |
連絡先の ID。 |
c-qL4HqKONzOM7**** |
| Members |
array |
任意 |
連絡先をバインドするオブジェクトの ID。 |
|
|
string |
任意 |
連絡先をバインドするオブジェクトの ID。有効な値:
N の有効値:1~5。これは、一度に最大 5 つのオブジェクトを指定できることを示します。 |
fd-ZDNPiT**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された結果。 |
||
| RequestId |
string |
リクエスト ID。 |
95060F1D-6990-4645-8920-A81D1BBFE992 |
| Members |
array<object> |
連絡先がオブジェクトにバインドされた時間の情報。 |
|
|
object |
|||
| ContactId |
string |
連絡先の ID。 |
c-qL4HqKONzOM7**** |
| MemberId |
string |
オブジェクトの ID。有効な値:
|
fd-ZDNPiT**** |
| ModifyDate |
string |
連絡先がオブジェクトにバインドされた時間。 |
2023-03-27 17:19:21 |
例
成功レスポンス
JSONJSON
{
"RequestId": "95060F1D-6990-4645-8920-A81D1BBFE992",
"Members": [
{
"ContactId": "c-qL4HqKONzOM7****",
"MemberId": "fd-ZDNPiT****",
"ModifyDate": "2023-03-27 17:19:21"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.ContactId | The ContactId is invalid. | |
| 400 | MissingParameter.ContactId | You must specify ContactId. | |
| 400 | InvalidParameter.Members | The Members is invalid. | |
| 400 | InvalidParameter.Members.Duplicate | The Members contains duplicate values. | |
| 400 | LimitExceeded.ContactMembers | The maximum number of contact members exceeds the limit. | |
| 400 | InvalidMember | The member does not exist in the resource directory. | |
| 400 | ContactStatusMismatchAction | The status of the contact does not allow the specified operation. | |
| 404 | EntityNotExists.Contact | This Contact does not exist. | |
| 429 | ConcurrentCallNotSupported | The operation conflicts with other operations. Please try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。