API CreateNewsletterEmailAddresses: Porovnání verzí

Z Podpora.nextis.cz
Skočit na navigaci Skočit na vyhledávání
Bez shrnutí editace
Bez shrnutí editace
 
(Není zobrazena jedna mezilehlá verze od stejného uživatele.)
Řádek 23: Řádek 23:
|-
|-
|@Email
|@Email
|text
|nvarchar(max)
|
|
|Email
|Email
|
|
|}
|}
==== 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.

Aktuální verze z 9. 11. 2018, 13: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 nvarchar(max) 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.