developpement arround sage x3 using web service

I want to save data from sage to my sql database, the problem is in soap i get a group structure. example:

"ITM0_1": {
"TCLCOD": "ASSET",
"ZTCLCOD": "Invest",
"ITMSTA": "1",
"ITMSTA_LBL": "Actif",
"ITMREF": "ASS001",
"DES1AXX": "Serveur informatique"
},
"ITM1_1": {
"DES2AXX": "Serveur",
"DES3AXX": ""
},

etc...

but i don't think that's right to create lot of group tables and even there is no relations between those groups to create classes for them for 1 model like ITMMASTER. any idea how i can deal with this structure.

Parents Reply
  • in reply to Alex Lamarca

    I already used REST web services, i use both of them Combined REST and SOAP but i still confused about the structure and relations, cause as you see in REST there is nothing called GRP but in SOAP if you want to post or export you should use GRP  and also export return a file which is not good pactice for developpement purposes also it returns data seperated by ";" which you can't know every single data is related to what field exactly,in general for posting in soap you need to know every field is related to which GRP. and if i am gonna use SOAP i can't make a great structure to save it in my external db 

Children