POST:
https://<D365FOURL>/data/<EntityPublicCollectionName>
Body:
POST:
https://<D365FOURL>/data/<EntityPublicCollectionName>
Body:
SysInfologEnumerator sysInfologEnumerator;
SysInfologMessageStruct infoMessageStruct;
str logMessage;
container logData = inputLogData;// Input
sysInfologEnumerator = SysInfologEnumerator::newData(logData );
while (sysInfologEnumerator.moveNext())
{
int i = 1;
if (logMessage)
{
logMessage += '\n';
}
infoMessageStruct = SysInfologMessageStruct::construct(sysInfologEnumerator.currentMessage());
while (i <= infoMessageStruct.prefixDepth())
{
logMessage += infoMessageStruct.preFixTextElement(i) + '. '; i++;
}
logMessage += infoMessageStruct.message();
}
info( logMessage);
INSERT INTO dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED) VALUES ('<FlightObjectName>_KillSwitch', 1) or INSERT INTO dbo.SYSFLIGHT...