webアクティビティ・ルールの更新
patch
/crmRestApi/resources/11.13.18.05/webActivityRules/{WebActivityRuleNumber}
リクエスト
パス・パラメータ
- WebActivityRuleNumber(required): string
webアクティビティ・ルールの公開一意識別子。
ヘッダー・パラメータ
- Metadata-Context:
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 次に例を示します : Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version:
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
サポートされるメディア・タイプ
- application/json
次の表では、このタスクのリクエストの本文パラメータについて説明します。
ルート・スキーマ : スキーマ
タイプ:
ソースを表示
object-
ActiveFlag: boolean
タイトル:
Status最大長:1webアクティビティ・ルールがアクティブかどうかを示します。 -
Description: string
タイトル:
Description最大長:1000webアクティビティ・ルールの説明。 -
ObjectVersionNumber: 整数(int32)
タイトル:
Object Version Numberwebアクティビティ・ルールのオブジェクト・バージョン番号。 -
WebActivityRuleCondition: array Web Activity Rule Conditions
タイトル:
Web Activity Rule Conditionswebアクティビティ・ルール条件リソースは、Webアクティビティ・ルール条件の表示、作成、更新および削除に使用されます。 -
WebActivityRuleName: string
タイトル:
Name最大長:30webアクティビティ・ルールの名前。
ネストされたスキーマ : Webアクティビティ・ルール条件
タイプ:
arrayタイトル:
Web Activity Rule Conditionswebアクティビティ・ルール条件リソースは、Webアクティビティ・ルール条件の表示、作成、更新および削除に使用されます。
ソースを表示
ネストされたスキーマ : スキーマ
タイプ:
ソースを表示
object-
ObjectVersionNumber: 整数(int32)
タイトル:
Object Version Numberwebアクティビティ・ルール条件のオブジェクト・バージョン番号。 -
RuleConditionExpression: 文字列(バイト)
タイトル:
Condition Expressionwebアクティビティ・ルール条件のルール条件グループの式。 -
RuleConditionGroupName: string
タイトル:
Condition Group Name最大長:30webアクティビティ・ルール条件のルール条件グループ。 -
RuleConditionGroupType: string
タイトル:
Condition Group Type最大長:30webアクティビティ・ルール条件のルール条件グループのタイプ。 -
SourceObject: string
タイトル:
Source Object最大長:30webアクティビティ・ルール条件のソース・オブジェクト。 条件は、ソース・オブジェクトの属性を使用して定義されます。 -
WebActivityRuleId: integer (int64)
タイトル:
Web Activity Rule IDwebアクティビティ・ルール条件におけるWebアクティビティ・ルールの一意の識別子。
応答
サポートされるメディア・タイプ
- application/json
デフォルトのレスポンス
次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
- Metadata-Context(required):
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 次に例を示します : Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version(required):
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
ルート・スキーマ : webActivityRules-item-response
タイプ:
ソースを表示
object-
ActiveFlag: boolean
タイトル:
Status最大長:1webアクティビティ・ルールがアクティブかどうかを示します。 -
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:64webアクティビティ・ルールを作成したリソース・ユーザー。 -
CreationDate: string (date-time)
タイトル:
Creation Date読取り専用:truewebアクティビティ・ルールが作成された日時。 -
Description: string
タイトル:
Description最大長:1000webアクティビティ・ルールの説明。 -
LastUpdateDate: string (date-time)
タイトル:
Last Updated Date読取り専用:truewebアクティビティ・ルールが最後に更新された日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:64webアクティビティ・ルールを最後に更新したリソース・ユーザー。 -
LastUpdateLogin: string
タイトル:
Last Updated Login読取り専用:true最大長:32webアクティビティ・ルールを最後に更新したユーザーに関連付けられたログイン。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
ObjectVersionNumber: 整数(int32)
タイトル:
Object Version Numberwebアクティビティ・ルールのオブジェクト・バージョン番号。 -
StatusLookupCode: string
タイトル:
Status読取り専用:true最大長:30webアクティビティ・ルールのステータスの参照コード。 -
StatusMeaning: string
タイトル:
Status読取り専用:true最大長:80webアクティビティ・ルールのステータス内容。 -
WebActivityRuleCondition: array Web Activity Rule Conditions
タイトル:
Web Activity Rule Conditionswebアクティビティ・ルール条件リソースは、Webアクティビティ・ルール条件の表示、作成、更新および削除に使用されます。 -
WebActivityRuleId: integer (int64)
タイトル:
Web Activity Rule IDwebアクティビティ・ルールの一意の識別子。 -
WebActivityRuleName: string
タイトル:
Name最大長:30webアクティビティ・ルールの名前。 -
WebActivityRuleNumber: string
タイトル:
Web Activity Rule Number最大長:30webアクティビティ・ルールの公開一意識別子。 -
WebActivityType: string
タイトル:
Web Activity Type最大長:100webアクティビティ・ルールのWebアクティビティ・タイプ。 -
WebActivityTypeLookupCode: string
タイトル:
Web Activity Type読取り専用:true最大長:30webアクティビティ・ルールのWebアクティビティ・タイプの参照コード。 -
WebActivityTypeMeaning: string
タイトル:
Web Activity Type読取り専用:true最大長:80webアクティビティ・ルールのWebアクティビティ・タイプの意味。
ネストされたスキーマ : Webアクティビティ・ルール条件
タイプ:
arrayタイトル:
Web Activity Rule Conditionswebアクティビティ・ルール条件リソースは、Webアクティビティ・ルール条件の表示、作成、更新および削除に使用されます。
ソースを表示
ネストされたスキーマ : リンク
タイプ:
ソースを表示
object-
href: string
タイトル:
hyperlink reference関連リソースへのURI。 -
kind: string
タイトル:
kind許可された値:[ "collection", "item", "describe", "other" ]関連リソースの種類。 -
name: string
タイトル:
name関連リソースへのリンクの名前。 -
properties: object properties
-
rel: string
タイトル:
relation許可された値:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]リソース・インスタンスとの関係の名前。 例: self.
ネストされたスキーマ : properties
タイプ:
ソースを表示
object-
changeIndicator: string
リソース・インスタンスのインジケータまたはETag値を変更します。
ネストされたスキーマ : webActivityRules-WebActivityRuleCondition-item-response
タイプ:
ソースを表示
object-
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:64webアクティビティ・ルール条件を作成したリソース・ユーザー。 -
CreationDate: string (date-time)
タイトル:
Created Date読取り専用:truewebアクティビティ・ルール条件が作成された日時。 -
LastUpdateDate: string (date-time)
タイトル:
Last Updated Date読取り専用:truewebアクティビティ・ルール条件が最後に更新された日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:64webアクティビティ・ルール条件を最後に更新したリソース・ユーザー。 -
LastUpdateLogin: string
タイトル:
Last Updated Login読取り専用:true最大長:32webアクティビティ・ルール条件を最後に更新したユーザーに関連付けられたログイン。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
ObjectVersionNumber: 整数(int32)
タイトル:
Object Version Numberwebアクティビティ・ルール条件のオブジェクト・バージョン番号。 -
RuleConditionExpression: 文字列(バイト)
タイトル:
Condition Expressionwebアクティビティ・ルール条件のルール条件グループの式。 -
RuleConditionGroupName: string
タイトル:
Condition Group Name最大長:30webアクティビティ・ルール条件のルール条件グループ。 -
RuleConditionGroupType: string
タイトル:
Condition Group Type最大長:30webアクティビティ・ルール条件のルール条件グループのタイプ。 -
SourceObject: string
タイトル:
Source Object最大長:30webアクティビティ・ルール条件のソース・オブジェクト。 条件は、ソース・オブジェクトの属性を使用して定義されます。 -
WebActivityRuleId: integer (int64)
タイトル:
Web Activity Rule IDwebアクティビティ・ルール条件におけるWebアクティビティ・ルールの一意の識別子。 -
WebActyRuleCondId: integer (int64)
タイトル:
Web Activity Rule Condition IDwebアクティビティ・ルール条件の一意の識別子。 -
WebActyRuleCondNumber: string
タイトル:
Web Activity Rule Condition Number最大長:30webアクティビティ・ルール条件の公開一意識別子。
リンク
- StatusLookupVA
-
パラメータ:
- ファインダ:
LookupTypeActiveEnabledOrBindCodeFinder%3BBindLookupType%3DORA_ZCA_WEB_ACT_RULE_STATUS
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: StatusLookupCode;ターゲット属性: LookupCode
- 表示属性: 意味
- ファインダ:
- WebActivityRuleCondition
-
パラメータ:
- WebActivityRuleNumber:
$request.path.WebActivityRuleNumber
webアクティビティ・ルール条件リソースは、Webアクティビティ・ルール条件の表示、作成、更新および削除に使用されます。 - WebActivityRuleNumber:
- WebActivityTypeLookupVA
-
パラメータ:
- ファインダ:
LookupTypeActiveEnabledOrBindCodeFinder%3BBindLookupType%3DORA_ZCA_WEB_ACT_TYPE
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: WebActivityTypeLookupCode;ターゲット属性: LookupCode
- 表示属性: 意味
- ファインダ:
例:
次の例は、cURLを使用してRESTリソースに対してPATCHリクエストを発行して、webアクティビティ・ルールを更新する方法を示しています。
curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/webActivityRules/300100553880757
リクエスト本文の例
次の例は、JSON形式のリクエスト本文のコンテンツを示しています。
{
"Description" : "Active Email Send Web Activity Rule ",
"ActiveFlag" : "Y"
}
レスポンス本文の例
次の例は、JSON形式のレスポンス本文のコンテンツを示しています。
{
"WebActivityRuleId": 300100553880757,
"WebActivityRuleNumber": "300100553880757",
"WebActivityRuleName": "Email Send Rule",
"WebActivityType": "EmailSend",
"Description": "Active Email Send Web Activity Rule ",
"ActiveFlag": true,
"CreationDate": "2022-04-27T08:12:59+00:00",
"CreatedBy": "SALES_ADMIN",
"LastUpdateDate": "2022-04-27T08:13:24+00:00",
"LastUpdatedBy": "SALES_ADMIN",
"LastUpdateLogin": "DD64F68F5E0D0F27E053D711F10AB350",
"ObjectVersionNumber": 2,
"WebActivityTypeMeaning": "Email Send",
"WebActivityTypeLookupCode": "ORA_EMAIL_SEND",
"StatusMeaning": "Inactive",
"StatusLookupCode": "ORA_INACTIVE",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/webActivityRules/300100553880757",
"name": "webActivityRules",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/webActivityRules/300100553880757",
"name": "webActivityRules",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/webActivityRules/300100553880757/child/WebActivityRuleCondition",
"name": "WebActivityRuleCondition",
"kind": "collection"
}
]
}