Merged PR 2274: case deadline and watch stream on results

case deadline and wat

Related work items: #22423, #22783
This commit is contained in:
Robert Bond
2026-04-27 13:07:46 +00:00
parent 138f03912b
commit b2945790b1
13 changed files with 172 additions and 11 deletions
@@ -86,7 +86,10 @@ export default async function ApiProxy(req, res) {
"&$count=true" +
"&$expand=" +
navigationProperty +
"($select=ticketnumber)";
"($select=ticketnumber)" +
(primaryIdAttribute == "pinswg_sipscase"
? ",pinswg_sipscase($select=ticketnumber),pinswg_CaseDeadlineExtension_pinswg_sips($select=pinswg_casedeadlineextensionid,pinswg_noofdaysextended,pinswg_reasonforextension,pinswg_agreedorimposedextension,pinswg_datedeadlineextended),pinswg_sips_pinswg_sipsevent($select=pinswg_linktotheevent,pinswg_name,pinswg_dateeventrequested,pinswg_typeofevent,createdon,modifiedon)"
: "");
queryUrl =
queryUrl +
@@ -137,7 +140,7 @@ export default async function ApiProxy(req, res) {
if (_.has(data, "@odata.nextLink") === true) {
const dataStr = JSON.stringify(data["@odata.nextLink"]);
data["@odata.nextLink"] = dataStr.split("/v8.2/")[1];
data["@odata.nextLink"] = dataStr.split("/v9.2/")[1];
}
return respondSuccess(res, data);