API UpdateNewsletterEmailAddresses: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 38: | Řádek 38: | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
DECLARE @ID | DECLARE @ID int | ||
DECLARE @ | DECLARE @CustomerID int | ||
DECLARE @Email text | |||
SELECT @ID = id, | SELECT @ID = id, | ||
Verze z 2. 8. 2017, 12:51
Description
Method allows You to update newsletter email addresses in system.
Exact name
API_UpdateNewsletterEmailAddresses
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @ID | int | Internal system id | ||
| @CustomerID | int | ID of customer from customer list (see relation) | API_GetCustomers.ID | |
| text |
Example
DECLARE @ID int
DECLARE @CustomerID int
DECLARE @Email text
SELECT @ID = id,
@CustomerID= [CustomerID],
@Email = 'info@nextis.cz'
FROM [API_GetNewsletterEmailAddresses]
WHERE id = 3
EXECUTE [API_UpdateNewsletterEmailAddresses]
@ID,
@CustomerID,
@Email
Notices
None.