The Services module provides a standardized solution for integrating external applications with Drupal.

learn more… | top users | synonyms

0
votes
0answers
7 views

How to create and synchronize products with entities on another Drupal website (using Services)

Case description: I have one 'Asset management' Drupal website "A" (something like a simple ERP site) which manages the administration of purchased assets, being ECK entities. I also have a Drupal ...
0
votes
0answers
8 views

using Services module login to drupal from external webapplication

Im using service module of Drupal 7,I want to login from a website into Drupal. I click a link in my website it needs to login to drupal. The best way i found is using service module. I created a ...
0
votes
1answer
10 views

Quiz evaluation via rest service

I have created a web service which expose the quiz node and their properties. If user take the quiz I want to evaluate that quiz via rest service api. How can I do this? Is there any existing module ...
0
votes
1answer
19 views

Trying to create a user with an entity reference taxonomy term using services

So I've been trying to create a user with an entity reference taxonomy term, however for some reason it doesn't seem to work. I've noticed that it depends on the widget used, but I've tried every ...
1
vote
1answer
23 views

Services for Privatemsg module

I am using privatemsg services module to create REST API of privatemsg using Services Module in Drupal 7. If I send GET request to this url : http://example.com/rest/privatemsg/ I get all messages ...
0
votes
1answer
48 views

Ionic Framework won't authenticate in browser (works in emulator)

I've set up a simple Ionic Framework app which utilises Drupal 7 Services API to authenticate a user, before hitting some custom end points to retrieve data when logged in. The issue I'm seeing is ...
0
votes
1answer
44 views

Could not find resource node. but node enabled?

In my app, I am fetching data, editing and re-submitting it. That's where I am getting Could not find resource node.. However, node is enabled under Resources. Besides, I am not getting any errors ...
0
votes
1answer
17 views

Post method not working on non-CRUD methods

I'm just trying to create custom rest service action but I can't get it. I have created end_point called "testing". Whenever I try to post the data it shows access denied for authenticated user. Where ...
1
vote
0answers
28 views

Session expires for user logged in by moblie app

I am using drupal 7 services module version 3.x. I do not want my session to be expired. I have set ini_set('session.gc_maxlifetime', 946080000); and ini_set('session.cookie_lifetime', 0); This is ...
0
votes
0answers
9 views

How to give user access permissions to Services module POST

I created custom module for endpoint using the Services module tutorial. The POST request works for admin but not for a user. I can't seem to find information about how to give a user access to login ...
0
votes
0answers
12 views

login access via Android App using services module

I am currently using services module and I have an android app.Services ModuleIf there a way for me to keep the user logged in until they log out manually?
0
votes
0answers
11 views

Parameters and key value pairs for VotingAPI

My services definitions list notes that to 'select votes' using VotingAPI I have to POST the parameters 'type' (mandatory), and to 'set votes' I have to post a 'votes' array (mandatory) and 'criteria' ...
0
votes
0answers
6 views

Webform Service module : how to upload files

I need to create new submissions to a webform using a webservice. It works well using the Webform Service module, but it seems limited to simple components only (i.e. text...). Is it possible to ...
0
votes
1answer
19 views

How to delete file using drupal_form_submit?

I'm using rest services with a custom resource on node update, i want to build the correct variable node structure to delete one of the files on a file image multiple fields. I removed the file ...
1
vote
1answer
18 views

Comments are Posted anonymously

I am using Services Module in Drupal 7. When I try to POST comments, these comments are Posted anonymously. I am sending POST request to ?q=endpoint/comment.json with this Body { ...
0
votes
1answer
32 views

Can't save location when posting node through services module

I am using services module to post nodes using rest/json. The nodes also contain images and location. So far I can upload the image and save the node, but the location is not saved. I receive no ...
0
votes
0answers
9 views

Service status website

What I have: An intranet website with links to other private network website pages. What I want Links to appear green when the private website is up and links to appear red when the link is in ...
0
votes
1answer
27 views

Invalid datetime format for a field never submitted?

I'm working my the edit page for my mobile app which is fetching data from a Drupal site. I'm fetching data, I'm editing it, and submitting it. However, when submitting back, I'm getting Internal ...
0
votes
0answers
17 views

Services, android application and Leaflet map

I have a tricky question. I have a content type with a map where the user can provide a location by putting a marker on a leaflet map. I am building an android app through witch the user will also be ...
1
vote
0answers
12 views

Is there anyway to vote on the core Drupal Module using Services 3.x? [closed]

I need to vote on Drupal's core poll using Web Services 3.x, there is an alternate option called Advanced Poll but apart from that is there any way that I can achieve this using the simple core Drupal ...
0
votes
0answers
13 views

make http request with drupal entityforms

Im complete new with making http request. I have for my users on my Drupal site the possibilty to calculate their own cost. This is done in a entityform. The outcome from the calculation is coming ...
0
votes
0answers
18 views

405 Method Not Allowed

I am using services module with Universally Unique IDentifier to exposed some services. Everything was working fine. But from 3-4 days back i am facing a issue. Whenever i am using PUT method to ...
0
votes
0answers
24 views

Custom services returns null

I have extended services module and created a custom web service to get and post data. The problem is on the first rest call I get proper response but on the next response I receive "null" where as in ...
3
votes
0answers
35 views

How to edit output of a field in Views

I am creating REST API using Services Module in Drupal 7. I have created a View to Get lists of Groups. In this view I have added a Field privacy which will tell if the group is Private or Public. ...
0
votes
1answer
14 views

what is the use of universal unique identifier ,why its so much important in deployment?

What is the use of universal unique identifier in drupal7, why its play important role in deploy and service
1
vote
2answers
29 views

is it possible to edit default output of services module?

Is it possible to edit/customize the default output we get using Services Module ? For example I want to edit output which I get from this URL : http://example.com/api/node/39 And I want to edit ...
0
votes
0answers
16 views

How can I collect webform data from 500 Drupal sites as entities in a centrally managed Drupal site?

The scenario is as follows: I have 500 products, each has its own webpage and domain on an Aegir (BOA) server. I want to collect data that customers submit. To start with a simple example: the ...
3
votes
2answers
33 views

is_flagged with Views

Is it possible to to check is_flagged in views ? If I send POST request to this URL it works fine http://website/rest/flag/is_flagged but I want do it in Views ? I am creating REST API using ...
0
votes
0answers
13 views

Services node retrieve -> Access restriction

I am currently working on a project where i am exposing some nodes from a specific content type via services. For the scope of the project I only allow retrieving of nodes from that specific content ...
1
vote
0answers
14 views

How to include an image in the user registration using the module Services

As the scheme would be to post a picture in the picture user or field in another field custom image. I tested with the following scheme and get nothing. The other fields in the record, user, password, ...
2
votes
2answers
27 views

Config for using PUT with Services Module

I'm integrating DrupalGap with Drupal 7 and Services module. Issue I'm running into is that all PUT requests are returned as 405 Method Not Allowed. For example: GET ...
0
votes
0answers
22 views

How to extend user.data service?

What I want to achieve is: each time a user is being loaded from the database, he has added additional parameter loaded from some external source. So far I wrote a custom module, with my own service ...
0
votes
1answer
44 views

how to use “hook_services_request_postprocess_alter” to wrap field with CDATA in drupal 7?

May i know how to use "hook_services_request_postprocess_alter" .I have field called 'body' in $result ,I want to wrap it with CDATA.Any idea how to do it? &$result[0]->body is my variable. ...
0
votes
0answers
12 views

How to use og_is_member() to create REST API?

I have created a View for Services. Everything is working but I am not sure How to check if user is a member or not? Do I need to use og_is_member() or there is any other way to check ?
1
vote
0answers
22 views

POST an emoji in comment body using Service 3.x

I'm trying to POST a comment with an emoji in my Drupal 7.43 project, where I'm using Service 3.x for all Web Service calls. Using POSTMAN (Chrome) in the body of my comment I've added: { ...
0
votes
1answer
12 views

JSON through Services View- Authenticating through Parameters when accessing JSON through external app

My Drupal site is generating JSON through Views. I am using Services for that. It is something like this:- http://www.asite.com/api/views/all-date.json Now the problem is that I want to restrict ...
0
votes
1answer
37 views

Making all REST Server calls to Drupal site as an authenticated user through Services

I am making REST Service calls to my Drupal 7 site to either retrieve or create content. Is there a way I can make all these calls through one specific authenticated user? Thanks.
0
votes
0answers
15 views

Unable to Create Webform Submission through WebForm Service

I am trying to create a submission through Webform Service by passing POST call. Here is what my POST call looks like:- The problem is that it keeps on creating an empty submission as shown ...
1
vote
1answer
15 views

Add a new role using the Drupal Services Rest api

I'm trying to create a new role using the drupal services module. I am able to update a user with an already created role but can't find a way to add a new role. I'd rather not build a custom service ...
0
votes
0answers
22 views

How to convert multiple node in Json format to use in Apps?

I have created a custom module which takes post argument and sent the result in json format. function cfood_api_get_stadium_list($cn, $city){ $query = new EntityFieldQuery(); $entities = ...
1
vote
1answer
40 views

Services Module Authentication with Username and Password in URL

I have to match the following format when implementing Services to maintain some legacy APIs that were poorly written. I understand this is horrible practice and we're going to provide a new better ...
0
votes
0answers
23 views

Configuration Management services.yml

I'm trying to change the configuration storage from database to files during a clean install of a Drupal 8 site. I've read the documentation and several tutorials, books outlining what is needed. I ...
0
votes
0answers
68 views

Wrap 'full html' output with CDATA in Service view in drupal 7?

I'm using Services and Services Views modules. I have created service display view which includes body field(full html type). In the output url view source body is rendering with <p> ...
0
votes
0answers
25 views

views_embed_view is overriding the output in hook_services_views_execute_view_alter

I'm working with Drupal 7.x with services 3.x and views 3.x module, below is the code which I've in my custom module. When I'm executing the same, views_embed_view() overrides the output of the whole ...
0
votes
1answer
35 views

Views Service Error: 'Document is empty' and no 'view preview output' (service module with drupal 7.41 )?

I'm using Services and Services Views modules. Steps I followed to create service are: Enabled ...
1
vote
0answers
51 views

404 Not found : Could not find the controller. Services module

I have installed services module and enabled Resource-> node. Now i am using postman to test default services. My configuration details: endpoint is "apis". Server is "REST". localhost url ...
0
votes
1answer
33 views

Flood control IP bypass whitelist

I am utilising Services to open up some login resources on my site and as a result if multiple users incorrectly try to sign in the entire external website will be blocked because of flood control. ...
0
votes
1answer
21 views

Use a CURL to work with sites without api?

I have this problem. I need to programmatically submit forms on multiple sites and receive data The sites do not use API This task perfectly solves the CURL. Is there a solution to this issue Drupal ...
0
votes
1answer
36 views

Populate Dropdown list from a web service without code

I know that in Drupal a drop down list field can be populated with taxonomy terms, but is there a way without having to go custom (custom PHP development) to populate a dropdown list from the results ...
2
votes
1answer
34 views

How to display like and dislike count in Drupal Web Services

I'm working with Drupal 7.x, for web services I'm using service & services_views whereas for voting I'm using rate with votingapi as the dependency. I'm unable to get the count of positive votes ...