API CreateNewsletterEmailAddresses: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
Řádka 28: Řádka 28:
 
|
 
|
 
|}
 
|}
 +
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be created
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateNewsletterEmailAddresses] @CustomerID= 1 ,@Email= 'info@nextis.cz'
+
DECLARE @return_value int
 +
EXEC @return_value = [API_CreateNewsletterEmailAddresses] @CustomerID= 1 ,@Email= 'info@nextis.cz'
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Verze z 22. 9. 2017, 09:19

Description

Method allows You to create new newsletter email addresses in system.

Exact name

API_CreateNewsletterEmailAddresses

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
@Email text Email

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateNewsletterEmailAddresses] @CustomerID= 1 ,@Email= 'info@nextis.cz'

Notices

None.