API CreateNewsletterEmailAddresses: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Založena nová stránka s textem „==== Description ==== Method allows You to create new newsletter email addresses in system. ==== Exact name ==== <code>API_CreateNewsletterEmailAddresses<…“ |
Bez shrnutí editace |
||
| (Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.) | |||
| Řádek 19: | Řádek 19: | ||
|int | |int | ||
| | | | ||
|ID of customer from | |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 ==== | ==== 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 | |
| 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.