Guest User

Untitled

a guest
Mar 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. public IHttpActionResult Patch([FromODataUri] int key, Delta<Individual> patch)
  2.  
  3. {
  4. "statusId": ""
  5. }
  6.  
  7. {
  8. "error": {
  9. "code": "",
  10. "message": "Request contains validation errors.",
  11. "details": [
  12. {
  13. "target": "patch",
  14. "message": "",
  15. "innerError": {
  16. "message": "Cannot convert the literal '' to the expected type 'Edm.Int32'."
  17. }
  18. }
  19. ]
  20. }
  21. }
  22.  
  23. {
  24. "statusId": null
  25. }
  26.  
  27. {
  28. "error": {
  29. "code": "",
  30. "message": "Request contains validation errors.",
  31. "details": [
  32. {
  33. "target": "patch",
  34. "message": "",
  35. "innerError": {
  36. "message": "Cannot convert null to the expected type 'Edm.Int32'."
  37. }
  38. }
  39. ]
  40. }
  41. }
Add Comment
Please, Sign In to add comment