Good Morning
I'm just experimenting with some custom queries for speed
I've set up an ABL script to pull specific fields from oeeh, called zzGetOrders.p and its set up in SASBR with Attribute Name: CustomSICode|zzGetOrders and Rule Type zCSDSICustom
I can call this script fine from SX/webuiserviceinterface/sxeapi/api/custom/ascustomcall and get the right information
I've seen there is also a customcall (and a v2) endpoint in SX/web/sxapirestservice. I added the zzGetOrders into the Allow Generic SXAPI call Types and set the Allow Additional Generic SXAPI calls to YES
I'm making a huge assumption that the sxapirestservice/sxapicustomcall is designed to call the same program as the SX/webuiserviceinterface/sxeapi/api/custom/ascustomcall
So 1, is my assumption correct and 2, is there a step I'm missing as I never have anything returned aside from a payload with empty properties and arrays:
{ "response": { "cErrorMessage": "", "tOutgenHeader": { "t-outgen-header": [] }, "tOutgenLine": { "t-outgen-line": [] }, "tMessages": { "t-messages": [] } }}
Maybe I am doing something wrong with the input parameters? Or maybe this isn't what it was designed for
Many Thanks