API UpdateVATRate
Z Podpora.nextis.cz
Description
Method allows You to update branch in system.
Exact name
API_UpdateBranch
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@ID | int | Internal system id | API_GetBranches.ID | |
@WorkshopID | int | Workshops ID
ID of workshops from workshops list (see relation) |
API_GetWorkshops.ID | |
@Name | nvarchar(100) | Branch name |
Example
DECLARE @ID INT
DECLARE @WorkshopID INT
SELECT @ID = id,
@WorkshopID = [workshopid],
@Name = 'Name2',
FROM [api_getbranches]
WHERE id = 3
EXECUTE [Api_updatebranch]
@ID,
@WorkshopID,
Notices
None.