ahmader / node-zoho

Zoho API access for NodeJS
21 stars 15 forks source link

Dynamic support for nested rows in building XML #9

Closed interlock closed 8 years ago

interlock commented 10 years ago

As mentioned in #8

chemerisuk commented 10 years ago

In current status it should look like below:

crmModule.build [
  "Subject": "Test",
  "Account Name": "phone account11 9pm",
  "Product Details": {
    _name: "product",
    _items: [
      {
        "Product Id": "269840000000136287",
        "Product Name": "prd1"
      },
      {
        "Product Id": "269840000000136289",
        "Product Name": "prd2"
      }
    ]
  }
]
interlock commented 10 years ago

@chemerisuk You want to take this on?

chemerisuk commented 10 years ago

@interlock Let's touch this when I will face with such requirement. Currently I haven't seen a nested entity different from "product".