API UpdateSelectedCategory: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
(Založena nová stránka s textem „==== Description ==== Method allows You to update selected category in system. ==== Exact name ==== <code>API_UpdateSelectedCategory</code> ==== Type ===…“)
(Žádný rozdíl)

Verze z 2. 8. 2017, 14:16

Description

Method allows You to update selected category in system.

Exact name

API_UpdateSelectedCategory

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ID int Internal system id
@Name int Name
@URL text URL
@Image Image Image
@ImageExt nvarchar(5) Image ext
@Language int Language

cs=0; pl=1; en=2; de=3; sk=4; hu=5; ar=11; bg=17

@OrderNumber int Order number


Example

 DECLARE @ID int
 DECLARE @Name nvarchar(255)
 DECLARE @URL text
 DECLARE @Image image
 DECLARE @ImageExt nvarchar(5)
 DECLARE @Language int
 DECLARE @OrderNumber int
 
 SELECT @ID = [ID], 
       @Name = [Name],
       @URL = [URL],
       @Image = [Image],
       @ImageExt = [ImageExt],
       @Language = [Language],
       @OrderNumber = [OrderNumber]
 FROM   [API_GetSelectedCategories] 
 WHERE  id = 3
 
 EXECUTE [API_UpdateSelectedCategory] 
  @ID, 
  @Name,
  @URL,
  @Image,
  @ImageExt,
  @Language,
  @OrderNumber

Notices

None.