Entity Behavior: OverralTest6103.SampleEntity.AddCurrency

Project: OverralTest6103

Line: 0 / Column: 0

Message: Type not supported for rest path parameter

I got this when I exposed a working Behavior.

The Behavior takes in 2 Currency Parameters and placed in my URI Template (Method=PUT) as follows:

AddCurrency/Currency1/{Curr1}/Currency2/{Curr2}

asked 08 Oct, 15:43

ChrisG's gravatar image

ChrisG
1000k243148
accept rate: 67%

edited 08 Oct, 15:44


Currency is a complex type and cannot be used in the URI Template for REST Services. Please use Method=POST and adjust URITemple accordingly (e.g., just use AddCurrency).

link

answered 08 Oct, 15:46

ChrisG's gravatar image

ChrisG
1000k243148
accept rate: 67%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×4
×4
×1
×1

Asked: 08 Oct, 15:43

Seen: 71 times

Last updated: 08 Oct, 15:46

Powered By:   Graphite