Skip to main content

Posts

Showing posts from February, 2022

Integration in Business Central & Read JSON Data and store in Table : Using Http

Hi Readers, In this article will see how we can create connection with external application using  HTTP and read the Json data & store it in business central. In this scenario, if i will enter the ID then it will fill all the related details by getting information from third party application. Step-(1) Firstly i have created the table and call the procedure on OnValidate trigger. table 50102 "User Details API" {     DataClassification = ToBeClassified;     fields     {         field( 1 ; ID; Integer)         {             DataClassification = ToBeClassified;             trigger OnValidate ()             var                 JsonReadAndWrite_CU: Codeunit "Json Write";             begin                 JsonReadAndWrite_CU . JsonReadAndWrite ( Rec ) ;             end ;         }         field( 2 ; Name; Text [ 50 ] )         {             DataClassification = ToBeClassified;         }         field( 3 ; "User Name"; Text [ 50 ] )         {