API CreateTECDOC Brands: 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 TecDoc Brands in system. ==== Exact name ==== <code>API_CreateTECDOC_Brands</code> ==== Type ==== S…“)
 
 
(Není zobrazena jedna mezilehlá verze od stejného uživatele.)
Řádka 16: Řádka 16:
 
!Relation
 
!Relation
 
|-
 
|-
|@WorkshopID
+
|@TecDocID
 
|int
 
|int
 
|
 
|
|ID of workshop from workshop list (see relation)
+
|TecDoc ID
|API_GetWorkshops.ID
+
|
 +
|-
 +
|@Name
 +
|nvarchar(80)
 +
|
 +
|Name
 +
|
 
|}
 
|}
 +
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be created
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateTECDOC_Brands] @TecDocID= 1 ,@Name = 'Name'
+
DECLARE @return_value int
 +
EXEC @return_value = [API_CreateTECDOC_Brands] @TecDocID= 1 ,@Name = 'Name'
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Aktuální verze z 22. 9. 2017, 10:40

Description

Method allows You to create new TecDoc Brands in system.

Exact name

API_CreateTECDOC_Brands

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@TecDocID int TecDoc ID
@Name nvarchar(80) Name

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateTECDOC_Brands] @TecDocID= 1 ,@Name = 'Name'

Notices

None.