API RemoveBranch: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
Řádka 1: Řádka 1:
'''API_RemoveBranch'''
+
=== Description ===
 +
Method allows You to remove branch in system.
  
@ID int - API_GetBranches.ID
+
==== Exact name ====
 +
<code>API_RemoveBranch</code>
  
''RETURN:''
+
==== Type ====
 +
Standard executable stored procedure.
 +
 
 +
==== Specification ====
 +
{| class="wikitable"
 +
!Parameter
 +
!Data type
 +
!Value range
 +
!Description
 +
!Relation
 +
|-
 +
|@ID
 +
|int
 +
|
 +
|Branches ID
 +
(could be equal to ID in Your internal system)
 +
|API_GetBranches.ID
 +
|}
 +
 
 +
 
 +
 
 +
=== Return ===
 
  0 : OK
 
  0 : OK
 
  100 : Item does not exist
 
  100 : Item does not exist
Řádka 9: Řádka 32:
  
  
''Example:''
+
==== Example ====
 
+
<syntaxhighlight lang="sql">
 
  DECLARE @return_value int
 
  DECLARE @return_value int
 
  EXEC @return_value = [API_RemoveBranch]
 
  EXEC @return_value = [API_RemoveBranch]
 
  @ID = 3
 
  @ID = 3
 +
</syntaxhighlight>
 +
 +
==== Notices ====
 +
None.

Verze z 25. 7. 2017, 08:43

Description

Method allows You to remove branch in system.

Exact name

API_RemoveBranch

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ID int Branches ID

(could be equal to ID in Your internal system)

API_GetBranches.ID


Return

0 : OK
100 : Item does not exist
200 : There is connection to Customer


Example

 DECLARE @return_value int
 EXEC @return_value = [API_RemoveBranch]
 @ID = 3

Notices

None.