処理プラン処理の更新
patch
/crmRestApi/resources/11.13.18.05/actionplans/{ActionPlanId}/child/actionPlanAction/{ActionPlanActionId}
リクエスト
パス・パラメータ
- ActionPlanActionId(required): integer(int64)
処理プランの処理の一意の識別子。
- ActionPlanId(required): integer(int64)
処理プランの一意の識別子。
ヘッダー・パラメータ
- Metadata-Context:
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 次に例を示します : Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version:
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
サポートされるメディア・タイプ
- application/json
次の表では、このタスクのリクエストの本文パラメータについて説明します。
ルート・スキーマ : スキーマ
タイプ:
ソースを表示
object-
ActionId: integer (int64)
タイトル:
Action IDアクションの一意の識別子。 -
ActionNumber: string
タイトル:
Action Number処理プランの処理の参照番号。 -
actionPlanActionRelation: array Action Plan Action Relations
タイトル:
Action Plan Action Relationsアクション・プラン処理関係リソースは、アクション・プラン内のアクション間の関係を表示、作成、更新および削除するために使用されます。 アクション関係は、アクションが実行される順序を定義できます。 -
ActionPlanId: integer (int64)
タイトル:
Action Plan ID処理プランの一意の識別子。 -
DeletedFlag: boolean
タイトル:
Deleted最大長:1デフォルト値:false処理プランの処理が削除されるかどうかを示します。 デフォルト値はfalseです。 -
EndDate: string (date-time)
タイトル:
End Dateアクション・プランのアクションが終了する日付。 -
ExpectedCompletionDate: string (date-time)
タイトル:
Expected Completion Dateアクション・プランのアクションが完了する日付。 -
ExpectedStartDate: string (date-time)
タイトル:
Expected Start Dateアクション・プランのアクションが開始される予定の日付。 -
LeadTime: integer (int64)
タイトル:
Durationアクションの完了に必要な推定時間。 -
LeadTimeUnit: string
タイトル:
Duration Unit最大長:30分、時間、日など、リード・タイムの測定単位。 -
LeadTimeUnitMeaning: string
タイトル:
Lead Time Unit Value最大長:255処理プラン処理のリード・タイム・ユニット参照コードに対応する表示値です。 -
ObjectEntityNameMeaning: string
タイトル:
Object Entity Name Value最大長:255処理プラン処理のオブジェクト・エンティティ名参照コードに対応する表示値。 -
ObjectEntityTypeMeaning: string
タイトル:
Object Entity Type Value最大長:255処理プラン処理のオブジェクト・エンティティ・タイプ参照コードに対応する表示値。 -
ObjectId: integer (int64)
タイトル:
Object IDアクションに関連付けられたオブジェクトの一意の識別子。 -
ObjectReferenceNumber: string
タイトル:
Object Reference Number最大長:100処理に関連付けられたオブジェクトの参照番号。 -
OrderNumber: integer (int64)
タイトル:
Stepアクション・プランでのアクションの順序。 -
ProcessInstanceId: string
タイトル:
Process Instance ID最大長:500外部プロセスのプロセス・インスタンス識別子を示します。 -
ProcessStatus: string
タイトル:
Process Status最大長:100外部プロセスのステータス。 -
SkipFlag: boolean
タイトル:
Skip最大長:1デフォルト値:false処理プランの処理をスキップできるかどうかを示します。 -
StartDate: string (date-time)
タイトル:
Start Dateアクション・プランのアクションが開始する日付。 -
StatusCd: string
タイトル:
Status最大長:30処理のステータスを示すコード。 有効な値のリストは、参照ORA_SVC_AP_STATUS_CDで定義されます。 -
StatusCdMeaning: string
タイトル:
Status Value最大長:255処理プラン処理のステータス参照コードに対応する表示値です。 -
StatusDetails: string
タイトル:
Status Details最大長:1000処理プランの処理ステータスの詳細。 -
VisibilityCdMeaning: string
タイトル:
Visibility Value最大長:255処理プラン処理の表示参照コードに対応する表示値。
ネストされたスキーマ : 処理プラン処理関連
タイプ:
arrayタイトル:
Action Plan Action Relationsアクション・プラン処理関係リソースは、アクション・プラン内のアクション間の関係を表示、作成、更新および削除するために使用されます。 アクション関係は、アクションが実行される順序を定義できます。
ソースを表示
ネストされたスキーマ : スキーマ
タイプ:
ソースを表示
object-
ActionPlanActionId: integer (int64)
タイトル:
Action Plan Action ID処理プランの処理の一意の識別子。 -
ActionStatusCd: string
タイトル:
Action Status最大長:30デフォルト値:ORA_SVC_COMPLETED処理関係の依存関係条件のステータスを示すコード。 -
DeletedFlag: boolean
タイトル:
Deleted最大長:1デフォルト値:false処理依存関係が削除されたかどうかを示します。 デフォルト値はfalseです。 -
DepActionPlanActionId: integer (int64)
タイトル:
Dependent Action Plan Action ID処理プラン内の依存処理の一意の識別子です。
応答
サポートされるメディア・タイプ
- application/json
デフォルトのレスポンス
次の表では、このタスクに対するデフォルトのレスポンスについて説明します。
ヘッダー
- Metadata-Context(required):
REST APIがランタイム・カスタマイズをサポートしている場合、サービスのシェイプはランタイム中に変更される可能性があります。 RESTクライアントは、これらの変更から自身を分離したり、このヘッダーを指定して最新バージョンのAPIと対話することを選択できます。 次に例を示します : Metadata-Context:sandbox="TrackEmployeeFeature".
- REST-Framework-Version(required):
RESTクライアントとサービスの間のプロトコル・バージョン。 クライアントがリクエストでこのヘッダーを指定しない場合、サーバーはAPIのデフォルト・バージョンを選択します。
ルート・スキーマ : actionplans-actionPlanAction-item-response
タイプ:
ソースを表示
object-
ActionDescription: string
タイトル:
Description読取り専用:true最大長:1000処理プランの処理の摘要。 -
ActionId: integer (int64)
タイトル:
Action IDアクションの一意の識別子。 -
ActionName: string
タイトル:
Action読取り専用:true最大長:400アクションの名前。 -
ActionNumber: string
タイトル:
Action Number処理プランの処理の参照番号。 -
ActionPlanActionId: integer (int64)
タイトル:
Action Plan Action ID読取り専用:true処理プランの処理の一意の識別子。 -
ActionPlanActionNumber: string
タイトル:
Action Plan Action Number最大長:30処理プラン処理の代替一意識別子。 -
actionPlanActionRelation: array Action Plan Action Relations
タイトル:
Action Plan Action Relationsアクション・プラン処理関係リソースは、アクション・プラン内のアクション間の関係を表示、作成、更新および削除するために使用されます。 アクション関係は、アクションが実行される順序を定義できます。 -
ActionPlanId: integer (int64)
タイトル:
Action Plan ID処理プランの一意の識別子。 -
ActionPlanNumber: string
タイトル:
Action Plan Number最大長:30処理プラン参照番号。 -
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:64処理プランで処理を作成したユーザー。 -
CreationDate: string (date-time)
タイトル:
Creation Date読取り専用:trueアクション・プランでアクションが作成された日時。 -
DelayedFlag: boolean
読取り専用:
true処理プランの処理が遅延しているかどうかを示します。 -
DeletedFlag: boolean
タイトル:
Deleted最大長:1デフォルト値:false処理プランの処理が削除されるかどうかを示します。 デフォルト値はfalseです。 -
DeleteFlag: boolean
読取り専用:
true処理プランの処理を削除できるかどうかを示します。 -
EndDate: string (date-time)
タイトル:
End Dateアクション・プランのアクションが終了する日付。 -
EndDateReadOnlyFlag: boolean
読取り専用:
true終了日を読み取り専用にするかどうかを示します。 -
ExpectedCompletionDate: string (date-time)
タイトル:
Expected Completion Dateアクション・プランのアクションが完了する日付。 -
ExpectedStartDate: string (date-time)
タイトル:
Expected Start Dateアクション・プランのアクションが開始される予定の日付。 -
LastUpdateDate: string (date-time)
タイトル:
Last Update Date読取り専用:trueアクション・プランで処理が最後に更新された日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:64アクション・プランの処理を最後に更新したユーザー。 -
LastUpdateLogin: string
タイトル:
Last Update Login読取り専用:true最大長:32アクション・プランのアクションを最後に更新したユーザーのログイン詳細。 -
LeadTime: integer (int64)
タイトル:
Durationアクションの完了に必要な推定時間。 -
LeadTimeUnit: string
タイトル:
Duration Unit最大長:30分、時間、日など、リード・タイムの測定単位。 -
LeadTimeUnitMeaning: string
タイトル:
Lead Time Unit Value最大長:255処理プラン処理のリード・タイム・ユニット参照コードに対応する表示値です。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
MandatoryFlag: boolean
タイトル:
Mandatory最大長:1デフォルト値:true処理プランの処理が必須かどうかを示します。 デフォルト値はfalseです。 -
ObjectEntityName: string
タイトル:
Entity Name読取り専用:true最大長:400アクションの基になる親エンティティ・オブジェクトの名前。 -
ObjectEntityNameMeaning: string
タイトル:
Object Entity Name Value最大長:255処理プラン処理のオブジェクト・エンティティ名参照コードに対応する表示値。 -
ObjectEntitySubtype: string
タイトル:
Object Entity Subtype読取り専用:true最大長:400処理プランの処理のオブジェクト・エンティティ・サブタイプを示します。 -
ObjectEntityType: string
タイトル:
Type読取り専用:true最大長:400アクションの基になる親エンティティ・オブジェクトのタイプ。 -
ObjectEntityTypeMeaning: string
タイトル:
Object Entity Type Value最大長:255処理プラン処理のオブジェクト・エンティティ・タイプ参照コードに対応する表示値。 -
ObjectId: integer (int64)
タイトル:
Object IDアクションに関連付けられたオブジェクトの一意の識別子。 -
ObjectReferenceNumber: string
タイトル:
Object Reference Number最大長:100処理に関連付けられたオブジェクトの参照番号。 -
OrderNumber: integer (int64)
タイトル:
Stepアクション・プランでのアクションの順序。 -
OwnerName: string
タイトル:
Owner読取り専用:trueアクションの所有者の名前。 -
Prerequisites: string
タイトル:
Prerequisites読取り専用:trueアクションを開始するために必要な前提条件ステップ。 -
ProcessInstanceId: string
タイトル:
Process Instance ID最大長:500外部プロセスのプロセス・インスタンス識別子を示します。 -
ProcessStatus: string
タイトル:
Process Status最大長:100外部プロセスのステータス。 -
SkipFlag: boolean
タイトル:
Skip最大長:1デフォルト値:false処理プランの処理をスキップできるかどうかを示します。 -
StartDate: string (date-time)
タイトル:
Start Dateアクション・プランのアクションが開始する日付。 -
StatusCd: string
タイトル:
Status最大長:30処理のステータスを示すコード。 有効な値のリストは、参照ORA_SVC_AP_STATUS_CDで定義されます。 -
StatusCdMeaning: string
タイトル:
Status Value最大長:255処理プラン処理のステータス参照コードに対応する表示値です。 -
StatusDetails: string
タイトル:
Status Details最大長:1000処理プランの処理ステータスの詳細。 -
TemplateId: integer (int64)
タイトル:
Template ID処理の作成元である処理プラン・テンプレートの一意の識別子。 -
TemplateNumber: string
タイトル:
Template Number最大長:30処理プラン・テンプレートの参照番号。 -
TemplateTemplateId: integer (int64)
タイトル:
Template ID読取り専用:trueテンプレートの一意の識別子。 -
UpdateFlag: boolean
読取り専用:
true処理プランの処理を更新できるかどうかを示します。 -
VisibilityCd: string
タイトル:
Visibility読取り専用:true最大長:30デフォルト値:ORA_SVC_NOT_PUBLISHEDアクションの表示レベルを示すコード。 有効な値のリストは、参照ORA_SVC_AP_VISIBILITY_CDで定義されます。 -
VisibilityCdMeaning: string
タイトル:
Visibility Value最大長:255処理プラン処理の表示参照コードに対応する表示値。
ネストされたスキーマ : 処理プラン処理関連
タイプ:
arrayタイトル:
Action Plan Action Relationsアクション・プラン処理関係リソースは、アクション・プラン内のアクション間の関係を表示、作成、更新および削除するために使用されます。 アクション関係は、アクションが実行される順序を定義できます。
ソースを表示
ネストされたスキーマ : actionplans-actionPlanAction-actionPlanActionRelation-item-response
タイプ:
ソースを表示
object-
ActionPlanActionId: integer (int64)
タイトル:
Action Plan Action ID処理プランの処理の一意の識別子。 -
ActionPlanActionNumber: string
タイトル:
Action Plan Action Number最大長:30処理プラン参照番号。 -
ActionStatusCd: string
タイトル:
Action Status最大長:30デフォルト値:ORA_SVC_COMPLETED処理関係の依存関係条件のステータスを示すコード。 -
CreatedBy: string
タイトル:
Created By読取り専用:true最大長:64アクションの依存関係を作成したユーザー。 -
CreationDate: string (date-time)
タイトル:
Creation Date読取り専用:trueアクション依存関係が作成された日時。 -
DeletedFlag: boolean
タイトル:
Deleted最大長:1デフォルト値:false処理依存関係が削除されたかどうかを示します。 デフォルト値はfalseです。 -
DeleteFlag: boolean
読取り専用:
true処理依存関係を削除できるかどうかを示します。 -
DepActionPlanActionId: integer (int64)
タイトル:
Dependent Action Plan Action ID処理プラン内の依存処理の一意の識別子です。 -
DepActionPlanActionNumber: string
タイトル:
Dependent Action Plan Action Number最大長:30依存処理プラン参照番号。 -
LastUpdateDate: string (date-time)
タイトル:
Last Update Date読取り専用:trueアクションの依存関係が最後に更新された日時。 -
LastUpdatedBy: string
タイトル:
Last Updated By読取り専用:true最大長:64アクションの依存関係を最後に更新したユーザー。 -
LastUpdateLogin: string
タイトル:
Last Update Login読取り専用:true最大長:32アクションの依存関係を最後に更新したユーザーのログイン詳細。 -
links: array Links
タイトル:
Linksリソース・インスタンスに関連付けられたリンク関係。 -
RelationId: integer (int64)
タイトル:
Relation ID読取り専用:true処理プランの処理間の関係の一意の識別子。 -
UpdateFlag: boolean
読取り専用:
true処理依存関係を更新できるかどうかを示します。
ネストされたスキーマ : リンク
タイプ:
ソースを表示
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値を変更します。
リンク
- ActionVisibilityCdLookup
-
パラメータ:
- ファインダ:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_VISIBILITY_CD
処理プラン内の処理の表示を示す値リスト。
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: VisibilityCd;ターゲット属性: LookupCode
- 表示属性: 意味
- ファインダ:
- LeadTimeUnitLookup
-
パラメータ:
- ファインダ:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_LEAD_TIME_UNIT
処理の完了に必要な時間の単位を示す値リスト。
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: LeadTimeUnit;ターゲット属性: LookupCode
- 表示属性: 意味
- ファインダ:
- StatusCdLookup
-
パラメータ:
- ファインダ:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_STATUS_CD
処理プランの処理のステータスを示す値リスト。
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: StatusCd;ターゲット属性: LookupCode
- 表示属性: 意味
- ファインダ:
- YesNoLookup
-
パラメータ:
- ファインダ:
LookupTypeFinder%3BLookupType%3DYES_NO
処理プラン内の処理がスキップされるかどうかを示す値リスト。
LOVリンク関連では、次のプロパティが定義されます:- ソース属性: SkipFlag;ターゲット属性: LookupCode
- 表示属性: LookupCode
- ファインダ:
- actionPlanActionRelation
-
パラメータ:
- ActionPlanActionId:
$request.path.ActionPlanActionId - ActionPlanId:
$request.path.ActionPlanId
アクション・プラン内の他のアクションに対するアクションの依存関係が含まれます。 - ActionPlanActionId:
例:
次の例は、cURLを使用してRESTリソースに対してPATCHリクエストを発行することによって、アクション・プランのアクションを更新する方法を示しています。
cURLコマンド
curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans/300100117534967/child/actionPlanAction/300100118919336
リクエスト本文の例
次の例は、JSON形式のリクエスト本文のコンテンツを示しています。
{
"StatusDetails": "Not started"
}
レスポンス本文の例
次の例は、JSON形式のレスポンス本文のコンテンツを示しています。
{
"ActionId": 300100117527290,
"ActionPlanActionId": 300100118919336,
"ActionPlanId": 300100117534967,
"CreatedBy": "SALES_ADMIN",
"CreationDate": "2017-09-27T14:15:59+00:00",
"DelayedFlag": false,
"DeletedFlag": false,
"EndDate": null,
"ExpectedCompletionDate": null,
"ExpectedStartDate": null,
"LastUpdateDate": "2017-09-27T14:29:53+00:00",
"LastUpdateLogin": "5A2BD805BC436ED2E0538E09F20A9D1F",
"LastUpdatedBy": "SALES_ADMIN",
"LeadTime": null,
"LeadTimeUnit": null,
"MandatoryFlag": true,
"ObjectId": null,
"ObjectReferenceNumber": null,
"OrderNumber": 1,
"StartDate": null,
"StatusCd": "ORA_SVC_NOT_STARTED",
"StatusDetails": "Not started",
"TemplateId": null,
"OwnerName": null,
"Prerequisites": null,
"ObjectEntityName": "Activity",
"ObjectEntityType": "Appointment",
"VisibilityCd": "ORA_SVC_CUSTOMER_VISIBLE",
"ActionName": "action149_1",
"UpdateFlag": true,
"DeleteFlag": true,
"ActionNumber": "ACT0000043279",
"ActionDescription": null,
"EndDateReadOnlyFlag": false,
"DclActionPlan_Id_c": null,
"DclActionPlan_c": null,
"links": [
...
]
}