API RemoveBranch: Porovnání verzí
Z Podpora.nextis.cz
Řádka 1: | Řádka 1: | ||
− | + | === Description === | |
+ | Method allows You to remove branch in system. | ||
− | + | ==== Exact name ==== | |
+ | <code>API_RemoveBranch</code> | ||
− | + | ==== 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 ==== | |
− | + | <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, 07: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.