API CreateRecommendedLink: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
 
Řádka 46: Řádka 46:
 
|
 
|
 
|}
 
|}
 +
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be created
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateRecommendedLink] @Name = 'Name' ,@Description= 'Description' ,@Url= 'https://nextis.cz' ,@IsTargetBlank= 0 ,@RegisteredOnly = 0
+
DECLARE @return_value int
 +
EXEC @return_value = [API_CreateRecommendedLink] @Name = 'Name' ,@Description= 'Description' ,@Url= 'https://nextis.cz' ,@IsTargetBlank= 0 ,@RegisteredOnly = 0
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Aktuální verze z 21. 9. 2017, 11:49

Description

Method allows You to create new recommended link in system.

Exact name

API_CreateRecommendedLink

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@Name nvarchar(35) Name
@Description nvarchar(200) Description
@Url nvarchar(500) Url
@IsTargetBlank bit Is target blank
@RegisteredOnly bit Registered only

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateRecommendedLink] @Name = 'Name' ,@Description= 'Description' ,@Url= 'https://nextis.cz' ,@IsTargetBlank= 0 ,@RegisteredOnly = 0

Notices

None.