getICollectionById
ID ile koleksiyonu al.
IntegrationCollections.getICollectionById(
id,
langCode
);
Minimal örnek
const result = await IntegrationCollections.getICollectionById(1);
Özelliklerle örnek
const result = await IntegrationCollections.getICollectionById(1, 'en_US');
Parametreler şeması
Şema
id(gerekli): number
Koleksiyon ID'si
örnek: 1
langCode: string
Dil kodu. Varsayılan: "en_US"
örnek: "en_US"
Örnek yanıt
{
"id": 1,
"identifier": "test_collection",
"formId": 2,
"localizeInfos": {
"title": "test_collection"
},
"attributeSetId": null,
"selectedAttributeMarkers": null
}
Yanıt şeması
Şema: ICollectionEntity
id: number
Nesne tanımlayıcısı.
örnek: 1
identifier: string | null
Kayıt alanı için metin tanımlayıcısı.
örnek: "collection1"
formId: number | null
Sipariş depolama için kullanılan formun tanımlayıcısı.
örnek: 1234
localizeInfos: ILocalizeInfo
Koleksiyon hakkında yerelleştirilmiş bilgi.
örnek:
{
"title": "Admins text"
}
attributeSetId: string | null
Koleksiyona ekli form tarafından kullanılan özellikler setinin tanımlayıcısı.
örnek: "attributeSet1" veya geçerli değilse null
selectedAttributeMarkers: string | null
Veri tablosunda görüntülemek için form nesnesi özelliklerinin metin tanımlayıcıları.
örnek: "collection_marker"