API RemoveBasket: Porovnání verzí
Z Podpora.nextis.cz
								
												
				 (Založena nová stránka s textem „==== Description ==== Method allows You to remove basket in system.  ==== Exact name ==== <code>API_RemoveBasket</code>  ==== Type ==== Standard executable…“)  | 
				 (→Example)  | 
				||
| Řádka 32: | Řádka 32: | ||
  DECLARE @return_value int  |   DECLARE @return_value int  | ||
  EXEC @return_value = [API_RemoveBasket]  |   EXEC @return_value = [API_RemoveBasket]  | ||
| − |   @  | + |   @CustomerID = 3  | 
</syntaxhighlight>  | </syntaxhighlight>  | ||
==== Notices ====  | ==== Notices ====  | ||
None.  | None.  | ||
Aktuální verze z 1. 8. 2017, 14:50
Description
Method allows You to remove basket in system.
Exact name
API_RemoveBasket
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation | 
|---|---|---|---|---|
| @CustomerID | int | ID of customer from customer list (see relation) | API_GetCustomers.ID | 
Return
0 : OK 100 : Item does not exist 200 : Item was sent. It exists on order ID:
Example
 DECLARE @return_value int
 EXEC @return_value = [API_RemoveBasket]
 @CustomerID = 3
Notices
None.