GlCodes
Delete a GL Code
Removes the specified GL Code from the subscriber’s system. You need to specify all code parameters to delete it.
delete/GlCodes/DeleteGlCode
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
glCodestring required
Numeric identifier of a GL Code.
tradestring
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.
categorystring
Category name. A category is the overall classification of a work order, such as MAINTENANCE, REPAIR, or WARRANTY. Maximum is 50 characters.
locationstring
Store ID. The numeric identifier of the store in the client's system. Assigned by and unique per subscriber.
Response
The deleted GL Code ID is in the response.
System Object required
Changes
No recorded changes to this operation across all 1 revision of this API.