API UpdateCustomerSettings
Z Podpora.nextis.cz
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 |
Return
0 : OK 100 : Item could not be updated
Example
DECLARE @return_value int
DECLARE @IDPartner int
DECLARE @EnableChildRegistration bit
DECLARE @Blocked bit
SELECT @IDPartner= [IDPartner],
@EnableChildRegistration= [EnableChildRegistration],
@Blocked= 1
FROM [API_GetCustomerSettings]
WHERE id = 3
EXECUTE @return_value = [API_UpdateCustomerSettings]
@IDPartner,
@EnableChildRegistration,
@Blocked
Notices
None.