GlCodes
Add a GL Code
Creates a GL Code with a new trade, category, or location. <br />Send the GET /GlCodes/RetrieveGlCodes request to get the list of GL Codes.
post/GlCodes/CreateGlCode
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 created GL Code ID is in the response.
System Object required
Changes
No recorded changes to this operation across all 1 revision of this API.