Need Send Multiple Objects on WebService
im trying to send like [
{
"CompanyName": "FSHION",
"ProductName": "Test Shirt",
"ItemCode": "999999",
"Price": "1250.00"
},
{
"CompanyName": "FSHION",
"ProductName": "Test Shirt",
"ItemCode": "999999",
"Price": "1250.00"
},
{
"CompanyName": "FSHION",
"ProductName": "Test Shirt",
"ItemCode": "999999",
"Price": "1250.00"
}
] and api http://localhost/Integration/WebServiceIntegration/Execute and show error "Text": "The web service request data '[\r\n {\r\n \"CompanyName...' has an incorrect format. The data is expected to be formatted as 'JSONVariables'. Details: The JSON value could not be converted to System.Collections.Generic.Dictionary`2[System.String,System.Object]. Path: $ | LineNumber: 0 | BytePositionInLine: 1."
Please sign in to leave a comment.
Comments
0 comments