Update a GL Code
Updates a GL Code number leaving the trade, category, and/or location of the code unchanged. You need to specify all code parameters to update it. <br />Use the POST /GlCodes/CreateGlCode method to create a new GL Code.
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Numeric identifier of a GL Code.
Trade name. A trade is an area of work for which a service is performed, such as LIGHTING, ALARMS, or ELECTRICAL. Maximum is 80 characters.
Category name. A category is the overall classification of a work order, such as MAINTENANCE, REPAIR, or WARRANTY. Maximum is 50 characters.
Store ID. The numeric identifier of the store in the client's system. Assigned by and unique per subscriber.
Response
The updated GL Code ID is in the response.
Changes
No recorded changes to this operation across all 1 revision of this API.