Skip to main content
Server path: /infor-syteline | Type: Application | PCID required: Yes

Tools


infor-syteline_add_item

Insert one record into an IDO collection (a simpler alternative to the bulk update tool for single-record inserts). Call infor-syteline_get_ido_info(ido) first to learn the exact property names and which are required, then provide the new record’s properties as Name/Value pairs using those names VERBATIM — a Property whose Name is not a real property of the IDO fails the whole call. Requires Edit/Insert privileges on the IDO in the target configuration. HTTP status is 200 even for logical failures — check MessageCode/Message. Parameters:

infor-syteline_delete_item

Deletes one record from an IDO collection by its ItemId (returned by infor-syteline_load_collection). Requires Delete privileges on the IDO in the target configuration. HTTP status is 200 even for logical failures — check MessageCode/Message. Parameters:

infor-syteline_get_ido_info

Discover an IDO’s schema BEFORE querying or modifying it: returns each property’s name, data type, length, required/read-only flags, the IDO’s key properties (Keys), and subcollections. ALWAYS call this first for any IDO you have not already inspected, and copy property and key names VERBATIM into load/filter/update calls — those operations fail if you pass a name that is not an exact property of the IDO. Important nuances: (a) Keys are the primary-key structure (best as filter criteria) and are not guaranteed to be fetchable column names; (b) not every listed property is queryable in load_collection — derived/computed properties (names starting with Der) and some internal fields fail in a properties list, so prefer plain stored fields; (c) property names vary by SyteLine customization, so never assume names — read them here. Read the actual Keys from this response; do not reuse remembered key names (they vary by IDO, tenant, and version). Works without IDO Read data privileges. Note: there is no API to LIST the available IDOs — the IDO name itself must already be known. Parameters:

infor-syteline_invoke_ido_method

Invokes a named method on an IDO (business logic such as posting, validation, or document generation). Use the exact IDO and method names (method names are case-sensitive; call infor-syteline_get_ido_info if unsure of the IDO). The request body is a JSON array of parameter values in positional order (use an empty string for output-only parameters); output parameters come back in the response’s Parameters array. Method execution may modify ERP data — treat as a write operation. HTTP status is 200 even for logical failures — always check the Success field. Parameters:

infor-syteline_list_configurations

Returns the list of SyteLine configurations (sites/databases) available on the server. This is the only operation that does not require the X-Infor-MongooseConfig header, and it needs no IDO privileges — useful as a connectivity check and to discover valid values for the connection’s SyteLine Configuration field. Parameters:

infor-syteline_load_collection

Query records from a SyteLine IDO collection (a SQL-backed, table-like view). ALWAYS call infor-syteline_get_ido_info(ido) first to discover exact property names and Keys, then query here. CRITICAL behaviors: (1) SILENT FAILURE on bad property names: if ANY name in properties, filter, or orderBy is not a queryable property of the IDO, the ENTIRE query fails — typically Success=false with Message=null (no indication of WHICH name is wrong), or zero Items; never a partial result. Copy names verbatim from get_ido_info, never guess, and if a multi-property query fails, re-test the properties one at a time (a single bad property returns a clear ‘Property X not found on <IDO>’ message) to find the culprit. (2) Not every property from get_ido_info is queryable here: derived/computed properties (names starting with Der) and some internal fields cannot be requested in the properties list and will fail the query — prefer plain stored fields. (3) Keys vs. fetchable fields: the Keys from get_ido_info are the primary-key structure (best used as filter criteria), not a guarantee of a fetchable column; property names also differ from intuition (e.g. CoLine, not CoLineNum). (4) Do NOT use properties='' on large IDOs — many have hundreds of properties (SLItems ~615, SLCos ~442) and '' over thousands of rows times out (HTTP 504). Request only the specific properties you need. (5) Always set a small recordCap (e.g. 50-200) when exploring or building a report; the Mongoose default can return very large result sets and time out. (6) Pagination: results come back in the Items array (NOT ‘Records’). If MoreRowsExist=true, call again with loadType=‘NEXT’ and bookmark set to the Bookmark from the previous response; repeat until MoreRowsExist=false. (7) HTTP status is 200 even for logical failures — always check Success (a privilege failure names the exact IDO needing a Read grant). There is no API to list IDOs, and IDO/field names vary by SyteLine customization (a site may expose names like STI_SLCos) — always rely on get_ido_info rather than assumed names. Standard IDOs: SLItems (items/products), SLCustomers (customers), SLCos (customer orders), SLCoitems (order lines), SLPos (purchase orders), SLPoitems (PO lines), SLItemlocs/SLItemwhses (inventory), UserNames (users). Parameters:

infor-syteline_update_collection

Insert, update, or delete one or more records in an IDO collection in a single batch. Each change specifies an Action (1=insert, 2=update, 4=delete), the ItemId for update/delete (returned by load_collection), and the modified Properties. Call infor-syteline_get_ido_info(ido) first for the exact property names and Keys, and use property names VERBATIM — a Property whose Name is not a real property of the IDO fails the whole call. Requires Edit privileges on the IDO in the target configuration. HTTP status is 200 even for logical failures — always check Success. Parameters:

infor-syteline_update_item

Update one record in an IDO collection (a simpler alternative to the bulk update tool for single-record edits). Requires the record’s ItemId (returned by load_collection) and the changed properties as Name/Value pairs with Modified set true, using exact property names from infor-syteline_get_ido_info — a Property whose Name is not a real property of the IDO fails the whole call. Requires Edit privileges on the IDO in the target configuration. HTTP status is 200 even for logical failures — check MessageCode/Message. Parameters: