Type Code
SHP01T118
EntityTypeId: 31
Published Version
1
Approved: 1
Published Source
Effective EntityType
Review: Approved
Published 摘要
Effective Definition
Active
API Exposed
Source Query
RootTableName: SHP01T118
RootAlias: M
Active Aliases: M
DefaultWhere: (none)
Review 資訊
Submitted
N/A
Reviewed
N/A
Comment
N/A
API 測試(Try it out)
GET
GET
/metadata/projection-data
依已發佈 metadata 組來源 SQL 查讀取複本(ReadReplicaDb),欄位別名=AttributeCode。
| 參數 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
| entityName | query | string | 必填 | EntityType 的 TypeCode,此處=SHP01T118。 |
| json | query | object | 必填 | 等值過濾條件 JSON 物件,至少一個條件;key 限下方 active 欄位的 AttributeCode。 |
| version | query | string | 選填 | 指定發佈版本;留空=最新 active 版本。歷史版本需填該版號。 |
可過濾 / 回傳欄位(active attributes)
| AttributeCode | DataType | Flags |
|---|---|---|
| ProductSpecId | string | PK Required |
| ProductSpecTypeId | string | |
| ProductSpecName | string | |
| OriginalPrice | decimal | |
| SpecialOffer | decimal |
必須是 JSON 物件,至少一個條件;key 僅限上方 active 欄位的 AttributeCode。
Request URL
curl
Response
(按 Execute 後顯示回傳結果)
Attributes
| Code | Name | DataType | Flags |
|---|---|---|---|
| OriginalPrice | OriginalPrice | decimal | Active |
| ProductSpecId | ProductSpecId | string | PK Required Active |
| ProductSpecName | ProductSpecName | string | Active |
| ProductSpecTypeId | ProductSpecTypeId | string | Active |
| SpecialOffer | SpecialOffer | decimal | Active |