Skip to Content

Taking array of inputs in odata

Hi ,

My Odata service needs to take from date and to date along with list of sales order numbers as input and then process the data.

How can i achieve this?

How would my URI be?

Thanks,

AR

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 02, 2017 at 06:09 PM

    Multiple ways,

    1. Take dates as separate filters and sales order list as separate filter with format of a delimited list of string and parse the same in backend.

    2. Take a serailzed JSON in a filter property and then deserialize the same in backend. Catch for dates is you should take dates here as string and not in timestamp format else standard name based transformation won't work and you will need to write transformation logic as well.

    Add comment
    10|10000 characters needed characters exceeded