Orders_GetDatas

Request

Field Name  Data Type  Description
orderIds
Integer ()
orderIds is an integer array (usually loaded via the Orders_Get method)
Sample vb.net code
Dim sellerCloud As New SCServices.SCService
        sellerCloud.Timeout = 5 * 60 * 1000 // 5 minutes in milliseconds
        sellerCloud.AuthHeaderValue = New SCServices.AuthHeader
        sellerCloud.AuthHeaderValue.UserName = "UserName"
        sellerCloud.AuthHeaderValue.Password = "Password"
        // Prepare filters
        Dim keys As New List(Of String)
        Dim values As New List(Of String)
        // Add "From" and "To" filters
        Dim fromDate As New DateTime(2014, 10, 1)
        Dim toDate As New DateTime(2014, 10, 31)
        keys.Add("DateFrom")
        values.Add(fromDate.ToString("MM-dd-yyyy hh:mm:ss"))
        keys.Add("DateTo")
        values.Add(toDate.ToString("MM-dd-yyyy hh:mm:ss"))
        Dim filters As New SCServices.SerializableDictionaryOfStringString
        With filters
            .Keys = keys.ToArray()
            .Values = values.ToArray()
        End With
        Dim orderIds As Integer() = sellerCloud.Orders_Get(filters)
        If orderIds.Length > 0 Then
            // Download all orders
            Dim orders As SCServices.OrderData() = sellerCloud.Orders_GetDatas(orderIds)
            // Do something with the orders object
        End If

How did we do?