REST API GoProcessTimePhase

Hi folks, we’re looking to retrieve timephase data for a given part. It looks like there’s an API to get this information (I couldn’t find any tables to get the data via a BAQ [preferred]). I found the ERP.BO.TimePhasSvc endpoint and a few methods.

But the only method that looks promising is the “GoProcessTimePhase” which looks like it would return an array of line items (like the lines shown in the screenshot below).

However, I’m only getting the first line of data back from the API returned array (2nd screenshot) which matches the first line of the output shown in the first screenshot.

Any thoughts? Thanks!

image

The table that holds the data used by the Time Phase program is PartDtl.

Using the Epicor Rest Helper, you need to convert the response into a datatable….


Dictionary<string, string> dic = new Dictionary<string, string>

{

{"inputPartNum", “myPartNumber”},

{ "ipplant", "MfgSys"},

{ "whatIfTog", "false"},

{ "tFSug", "false"},

{ "plnCtInfo", "false"},

{ "contractID", ""}

};

var response = EpicorRest.BoPost("Erp.BO.TimePhasSvc", "GoProcessTimePhase", dic, null);

@Ernie Thank you very much!