Published Detail / 商品

檢視目前已發布的 EntityType,必要時可回到原始 draft 重新調整。

Type Code
SHP01T102
EntityTypeId: 20
Published Version
1
Approved: 1
Published Source
Effective EntityType
Review: Approved
Published 摘要
目前有效發布內容與來源查詢設定。
Effective Definition
Active
API Exposed
Source Query
RootTableName: SHP01T102
RootAlias: M
Active Aliases: M
DefaultWhere: (none)
Review 資訊
保留送審與核准紀錄,方便追蹤發布來源。
Submitted
N/A
Reviewed
N/A
Comment
N/A
API 測試(Try it out)
直接呼叫 projection 查詢 API,對讀取複本即時查詢並顯示回傳結果,類似 Swagger。
GET
GET /metadata/projection-data
依已發佈 metadata 組來源 SQL 查讀取複本(ReadReplicaDb),欄位別名=AttributeCode。
參數 位置 型別 必填 說明
entityName query string 必填 EntityType 的 TypeCode,此處=SHP01T102
json query object 必填 等值過濾條件 JSON 物件,至少一個條件;key 限下方 active 欄位的 AttributeCode。
version query string 選填 指定發佈版本;留空=最新 active 版本。歷史版本需填該版號。
可過濾 / 回傳欄位(active attributes)
AttributeCode DataType Flags
ProductId string PK Required
CompanyId string Required
Source string
Locale string
ClientId string
ProductName string Required
ProductSize string
ProductDesc string
ProductSort int
ProductStock int
ProductPrice decimal
SpecialOffer decimal
IsOnSale int
IsBestSale int
ProductStatus int
IsDelete int
SeoMetaId string
MinInventory decimal
ExternalSource string
ExternalId string
ExtraData string
必須是 JSON 物件,至少一個條件;key 僅限上方 active 欄位的 AttributeCode。
Request URL

            
curl

            
Response
(按 Execute 後顯示回傳結果)
Attributes
published entity type 的欄位定義。
Code Name DataType Flags
ClientId ClientId string Active
CompanyId CompanyId string Required Active
ExternalId ExternalId string Active
ExternalSource ExternalSource string Active
ExtraData ExtraData string Active
IsBestSale IsBestSale int Active
IsDelete IsDelete int Active
IsOnSale IsOnSale int Active
Locale Locale string Active
MinInventory MinInventory decimal Active
ProductDesc ProductDesc string Active
ProductId ProductId string PK Required Active
ProductName ProductName string Required Active
ProductPrice ProductPrice decimal Active
ProductSize ProductSize string Active
ProductSort ProductSort int Active
ProductStatus ProductStatus int Active
ProductStock ProductStock int Active
SeoMetaId SeoMetaId string Active
Source Source string Active
SpecialOffer SpecialOffer decimal Active