API UpdateArticle

Z Podpora.nextis.cz
Verze z 2. 8. 2017, 15:43, kterou vytvořil Chrzaszcz (diskuse | příspěvky) (Založena nová stránka s textem „==== Description ==== Method allows You to update article in system. ==== Exact name ==== <code>API_UpdateArticle</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 update article in system.

Exact name

API_UpdateArticle

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ID int Internal system id
@Title nvarchar(50) Title
@HtmlText ntext Html text
@Language int Language.

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


Example

 DECLARE @ID int 
 DECLARE @Title nvarchar(50)
 DECLARE @UrlName nvarchar(50)
 DECLARE @HtmlText ntext
 DECLARE @Language int
 
 SELECT @ID = [ID], 
       @Title= 'Title 2', 
       @HtmlText = [HtmlText], 
       @Language = [Language]
 FROM   [API_GetArticles] 
 WHERE  id = 3
 
 EXECUTE [API_UpdateArticle] 
  @ID, 
  @Title, 
  @HtmlText,
  @Language

Notices

None.