API UpdateCustomerSettings

Z Podpora.nextis.cz
Přejít na: navigace, hledání

Description

Method allows You to update customer settings in system.

Exact name

API_UpdateCustomerSettings

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@IDPartner int ID of customer from customer list (see relation) API_GetCustomers.ID
@EnableChildRegistration bit Enable child registration
@Blocked bit Blocked


Example

 DECLARE @IDPartner int
 DECLARE @EnableChildRegistration bit
 DECLARE @Blocked bit

 
 SELECT @IDPartner= [IDPartner], 
       @EnableChildRegistration= [EnableChildRegistration], 
       @Blocked= 1
 FROM   [API_GetCustomerSettings] 
 WHERE  id = 3
 
 EXECUTE [API_UpdateCustomerSettings] 
  @IDPartner,
  @EnableChildRegistration,
  @Blocked

Notices

None.