0

Here is my python script

request_data = {"request": {"PromoteRequestIds": [1, 2]}}
result = client.service.DeletePromoteRequests(**request_data)

In C# WCF.

public DeletePromoteRequestsResponse DeletePromoteRequests(
    DeletePromoteRequestsRequest request) 
{
    ...
}

The parameter object in WCF is defined as


[DataContract]
public class DeletePromoteRequestsRequest 
{
    
    [DataMember]
    public List<long> PromoteRequestIds { get; set; }
}

However, I don't understand why the PromoteRequestIds only contains one element [1] instead of [1, 2].

jamesnet214
  • 1,044
  • 13
  • 21
rj487
  • 4,476
  • 6
  • 47
  • 88

1 Answers1

0

Regarding your question, I found a reference that may be useful to you:Convert python array of int to SOAP ArrayofInt.

Theobald Du
  • 824
  • 4
  • 7