API CreateImage

Z Podpora.nextis.cz
Verze z 6. 4. 2021, 14:34, kterou vytvořil Chrzaszcz (diskuse | příspěvky) (Založena nová stránka s textem „==== Description ==== Method allows You to create new image in system. ==== Exact name ==== <code>API_CreateImage</code> ==== Type ==== Standard executab…“)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Přejít na: navigace, hledání

Description

Method allows You to create new image in system.

Exact name

API_CreateImage

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ProduktGroupID int Produkt group ID API_GetProductGroups.ID
@Sorting int Sorting, numbers from 0 up
@ImageURL int Image URL
@IsFeedImage int Is feed image

NO=0; YES=1

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateImage] @ProduktGroupID = 2345, @Sorting = 1, @ImageURL = 'https://www.nextis.cz/wp-content/uploads/2018/10/logo_nextis01.png', @IsFeedImage = 0

Notices

None.