API UpdateRecommendedLink
Z Podpora.nextis.cz
								Description
Method allows You to update recommended link in system.
Exact name
API_UpdateRecommendedLink
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation | 
|---|---|---|---|---|
| @ID | int | Internal system id | ||
| @Name | nvarchar(35) | Name | ||
| @Description | nvarchar(200) | Description | ||
| @Url | nvarchar(500) | Url | ||
| @IsTargetBlank | bit | Is target blank | ||
| @RegisteredOnly | bit | Registered only | 
Example
 DECLARE @ID int 
 DECLARE @Name nvarchar(35)
 DECLARE @Description nvarchar(200)
 DECLARE @Url nvarchar(500)
 DECLARE @IsTargetBlank bit
 DECLARE @RegisteredOnly bit
 
 SELECT @ID = [ID], 
       @Name = [Name],
       @Description = 'Description 2',
       @Url = [Url],
       @IsTargetBlank = [IsTargetBlank],
       @RegisteredOnly = [RegisteredOnly]
 FROM   [API_GetRecommendedLinks] 
 WHERE  id = 3
 
 EXECUTE [API_UpdateRecommendedLink] 
  @ID, 
  @Name,
  @Description,
  @Url,
  @IsTargetBlank,
  @RegisteredOnly
Notices
None.
