API CreateRecommendedLink: 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 create new recommended link in system. ==== Exact name ==== <code>API_CreateRecommendedLink</code> ==== Type =…“)
 
Řádka 16: Řádka 16:
 
!Relation
 
!Relation
 
|-
 
|-
|@WorkshopID
+
|@Name
|int
+
|nvarchar(35)
 +
|
 +
|Name
 +
|
 +
|-
 +
|@Description
 +
|nvarchar(200)
 +
|
 +
|Description
 +
|
 +
|-
 +
|@Url
 +
|nvarchar(500)
 +
|
 +
|Url
 +
|
 +
|-
 +
|@IsTargetBlank
 +
|bit
 +
|
 +
|Is target blank
 +
|
 +
|-
 +
|@RegisteredOnly
 +
|bit
 +
|
 +
|Registered only
 
|
 
|
|ID of workshop from workshop list (see relation)
 
|API_GetWorkshops.ID
 
 
|}
 
|}
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateRecommendedLink] @WorkshopID = 1 ,@Name = 'Name' ,@Street = 'Street' ,@City = 'City' ,@ZIPCode = 'ZIPCode' ,@Country = 'Country' ,@Region = 'Region' ,@State ='Česká republika' ,@StateID = 15797 ,@Phone = '+420 556 621 300' ,@Fax = '+420 596 790 789' ,@MobilePhone = '+420 556 621 301' ,@Email = 'info@nextis.cz' ,@Web = 'www.nextis.cz'
+
EXEC [API_CreateRecommendedLink] @Name = 'Name' ,@Description= 'Description' ,@Url= 'https://nextis.cz' ,@IsTargetBlank= 0 ,@RegisteredOnly = 0
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Verze z 31. 7. 2017, 12:35

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

Example

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

Notices

None.