Create a data retrieval API service using Codeless

Mission: CLOUD CODER
Task: Create a data retrieval API service using Codeless

I’ve created the service and it is returning the results in the right format.
The only deviation being in my codeless API, I do not get the objectId and the jsonclass in the output.

Additionally, I think there is a discrepancy between the video and the instructions.
In the video, the country’s name is to be defined as CountryName
In the instructions, the country’s name is to be defined as Country

I tried with both but the mission doesn’t complete.

Thanks,
Varun

@mark-piller or @stanislaw.grin can you guys please help

Hello @Varun_Parikh

Can you provide us screenshot of service you have created.
Before doing this, make sure you use the PUT request, not POST.

Regard, Viktor

Hi Viktor,

It’s a retrieval API and not a create/update API And hence am using ‘Get’.

Backendless_6_Retrieve_API

Hello @Varun_Parikh

Try to change services name to “CityService”

Regard, Viktor

I can’t get this mission to complete either. See attached image of my Codeless API. I tried CountryCode.Name as CountryCode too like the video states.

Hi @Michael_Wildermuth,

The name of the method and method path must be getCities. You method name is /Cities now.

Regards,
Stanislaw

This morning when I logged in, it instantly told me I completed the mission without making any changes. Not sure what happened there.