API CreateNewsletterEmailAddresses: Porovnání verzí
Z Podpora.nextis.cz
(Není zobrazena jedna mezilehlá verze od stejného uživatele.) | |||
Řádka 23: | Řádka 23: | ||
|- | |- | ||
|@Email | |@Email | ||
− | | | + | |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, 14: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 | |
nvarchar(max) |
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.