API UpdateImage: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „==== Description ==== Method allows You to update image in system. ==== Exact name ==== <code>API_UpdateImage</code> ==== Type ==== Standard executable s…“) |
(Žádný rozdíl)
|
Aktuální verze z 6. 4. 2021, 13:43
Description
Method allows You to update image in system.
Exact name
API_UpdateImage
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@ID | int | Internal system id | ||
@ProduktGroupID | int | Produkt group ID | API_GetProductGroups.ID | |
@Sorting | int | Sorting, numbers from 0 up | ||
@ImageURL | nvarchar(260) | Image URL | ||
@IsFeedImage | int | Is feed image
NO=0; YES=1 |
Return
0 : OK 100 : Item could not be updated
Example
DECLARE @return_value int
DECLARE @ID int
DECLARE @ProduktGroupID int
DECLARE @Sorting int
DECLARE @ImageURL nvarchar(260)
DECLARE @IsFeedImage int
SELECT @ID = [ID],
@ProduktGroupID = [ProduktGroupID],
@Sorting = [Sorting],
@ImageURL = [ImageURL],
@IsFeedImage = 1
FROM [API_GetImage]
WHERE id = 2345
EXECUTE @return_value = [API_UpdateImage]
@ID,
@ProduktGroupID,
@Sorting,
@ImageURL,
@IsFeedImage
Notices
None.