レコードアラート (GET)
- リソース
-
1/recordalerts - リソースの例
-
1https://yourInstance.salesforce.com/services/data/vXX.X/recordalerts 2?whatId=a0URO000000Ccbz2AC -
1https://yourInstance.salesforce.com/services/data/vXX.Xrecordalerts 2?parentId=001RO000002JPkrYAG -
1https://yourInstance.salesforce.com/services/data/vXX.Xrecordalerts 2?whatId=a0URO000000Ccbz2AC&parentId=001RO000002JPkrYAG - 使用可能なバージョン
- 54.0
- Chatter が必要かどうか
- いいえ
- HTTP のメソッド
- GET
- GET のクエリパラメーター
-
パラメーター名 型 説明 必須か省略可能 使用可能なバージョン parentId String レコードアラートが作成される関連する親レコード ID。 省略可能 54.0 whatId String レコードアラートが作成される Salesforce オブジェクトレコード ID。 サポートされる多態的オブジェクトは、次のとおりです。- Account
- Asset
- BusinessMilestone
- Campaign
- Contract
- Contact
- Case
- Claim
- InsurancePolicy
- InsurancePolicyCoverage
- InteractionSummary
- Lead
- LoanApplication
- LoanApplicantEmployment
- LoanApplicantIncome
- LoanApplicationProperty
- LoanApplicationFinancial
- LoanApplicationAsset
- LoanApplicationLiability
- Opportunity
- PersonLifeEvent
- ResidentialLoanApplication
- すべてのカスタムオブジェクト
必須 54.0 - GET のレスポンスボディ
- レコードアラートのコレクション
- JSON のレスポンスボディの例
-
1{ 2 "recordAlerts" : [ { 3 "actions" : { 4 "actionInfoCollection" : [ { 5 "actionName" : "dismiss", 6 "parameters" : [ ] 7 }, { 8 "actionName" : "snooze", 9 "parameters" : [ "effectiveDate" ] 10 } ] 11 }, 12 "active" : true, 13 "description" : "Unauthorized transaction on card ending with -XXXX on Nov. 11, 2021 in Rome, Italy", 14 "effectiveDate" : "2021-11-10T20:00:00.000Z", 15 "id" : "0qZRO000000003o", 16 "recordAlertCategoryName" : "Fraud", 17 "severity" : "Error", 18 "source" : "Internal", 19 "subject" : "Fraud Transaction 3", 20 "validUntilDate" : "2022-11-08T20:00:00.000Z", 21 "whatId" : "a0URO000000Ccbz" 22 }, { 23 "actions" : { 24 "actionInfoCollection" : [ { 25 "actionName" : "dismiss", 26 "parameters" : [ ] 27 }, { 28 "actionName" : "snooze", 29 "parameters" : [ "effectiveDate" ] 30 } ] 31 }, 32 "description" : "Apex alert description from an external system", 33 "severity" : "Test", 34 "source" : "External", 35 "sourceSystemId" : "sourceSystemId", 36 "subject" : "Subject", 37 "whatId" : "a0URO000000Ccbz2AC" 38 } ] 39}