Consume odata/web api d365fo and parsing json content
// Two types of content type url will have usually , //1. normal URL encocoding(means adding parameters in url link) //2. multiform-data(values needs to specify on webforms to accesss data ) //Check RetailCommonWebAPI and do find references how they are consuming odata API class ALMMenaiHRMSIntegrationService { str accessToken,responseJsONData; RecordInsertList recIns; public void getAuthToken() { RetailCommonWebAPI webApi; str rawResponse; RetailWebResponse response; URL loginURL; str contentType; Map docFields = new Map(Types::String, Types::Class); webApi = RetailCommonWebAPI::construct(); loginU...