檢視、編輯及新增參考類型
若要滿足公用程式的需求,您可以檢視和編輯現有的參考類型,或新增自己的參考類型。
若要檢視現有的參考類型,請執行下列動作:
-
要求 URL:<CXIF-host>/api/utilitiesAdmin/v1/<ReferenceTypeName>
例如,https://xxxxxxxx.oci.customer-oci.com/api/utilitiesAdmin/v1/<ReferenceTypeName>
-
作業:GET
-
授權:OAUTH2.0
如需如何尋找要求 URL 的指示,請參閱尋找存取權杖資訊。
若要編輯參考類型,請執行下列動作:
-
使用 GET 呼叫取得回應。
-
使用下方資訊,使用指定的承載更新組態,並對下方端點執行 POST 作業。
要求 URL:<hostname>/api/CXIPlatformService/v1/CXIReferenceEntity/<ReferenceTypeName>
例如,https://xxxxxxxx.oci.customer-oci.com/api/CXIPlatformService/v1/CXIReferenceEntity/<ReferenceTypeName>
Operation: POST
Authorization: OAUTH2.0
Request payload
{
"items": [
{
"operation": "update",
"data": <object for a single record returned from GET in step 1>
}
]
}
下列各節描述 CX for Utilities 應用程式中依整合點區分的可用組態。
本節內容: