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]
.