Elle Bolt
Posts: 0
Joined: Mon Jan 13, 2014 5:56 pm

New Rest Service

Hi,

I've been trying to add a new rest service but i'm not winning please show me how you would create this service with the following info.

Image Image

Thank you,

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

New Rest Service

Hi Elle,

Based on this information it's hard to set the REST service, is there a possibility to provide us a link to a full documentation?

Elle Bolt
Posts: 0
Joined: Mon Jan 13, 2014 5:56 pm

New Rest Service

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

New Rest Service

Hello Elle,

Could you please detail, what exactly do you have a problem with?
What is the error obtained when the test request?
The settings I got the following:
http://take.ms/r7zDm
In the request body ou should import the model schema
http://take.ms/VbGx0
Then please make test and see the error in the reply and correct it

Elle Bolt
Posts: 0
Joined: Mon Jan 13, 2014 5:56 pm

New Rest Service

Hi Evgene,

Here is what I got,

My settings:

Image

the imported body... I have remove some of the optional parameters:

Image

This is the test screen it does not allow me to edit the values of the parameters:

Image

then the response:

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

New Rest Service

Elle,

There is written "not enough arguments, expected 1 argument, got 0". Please find, what is missing.

Elle Bolt
Posts: 0
Joined: Mon Jan 13, 2014 5:56 pm

New Rest Service

That is just the thing when I try to test the service the parameters I've created in the Body is grayed out so I can't add values to them thus the error "not enough arguments, expected 1 argument, got 0" what i'm trying to figure out is why are they grayed out and how do I then get the values into them?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

New Rest Service

Elle,

For tests you should create an element with a specific index. It can be filled, after the test it should be removed.
Image

Return to “Issues”