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

learn more… | top users | synonyms

0
votes
0answers
30 views

Discount of type product_discount not showing as line item

I am working on a project where I have to create an "order" resource using services module; and I have come across this issue in regards to creating an order. I have noticed that when I create an ...
1
vote
1answer
52 views

Votingapi REST server call internal server error - 'services exception: missing entity ID'

I am trying to post votes to 'fivestar' ratings on my D7 site, through my iOS app (xcode7, swift2). My iOS swift API to post a vote to the votingapi REST services post gives me a 200 status ok, and no ...
0
votes
1answer
10 views

Content Statistics: Total View not showing up in Services

I'm pretty sure this worked the other day, but today I checked and it didn't appear in my Services If I add a new field such as body, it appears in my json file.. When I add Content Statistics: Total ...
0
votes
0answers
22 views

Create a service provider for authentication and authorization

I need to create a service provider for authentication and authorization of users as well as their registration. Like the like google, fasebook, twitter and etc. I use the library OAUTH But then the ...
2
votes
1answer
36 views

How to set a checkbox using POST request with Services Module? [closed]

I am trying to set a checkbox in a display using a post request by setting the value of the mark field to 1, specifically field_mark_as_discounted. But I can't seem to be able to achieve that. Note: ...
1
vote
0answers
23 views

entity_privatemsg_message

Working on a Android APP to read/reply private message (Drupal 7). I am able to access all secure information for a user. Services/Resources> works file. shows the entities But I am facing some ...
0
votes
0answers
20 views

Updating non-required fields via Services/JSON

I am using Services 7.3 and REST server to add new authenticated users via POST. All is working well except for the "customer" user field (boolean) that isn't required (and is actually hidden on the ...
0
votes
0answers
32 views

How to save latitude/longitude with Services module

I've designed a website and I'm using Geolocation to store geographical location of businesses. Now I'm going to create an app to save businesses and their location data with GPS. I pass data like ...
0
votes
1answer
49 views

how to load 2 services (or more) through dependency injection

if i have 1 service, i can load my service through dependency injection like: class MyForm extends FormBase { protected $coreService; /** * Class constructor. */ public function ...
1
vote
1answer
103 views

Field for if the current user is a member of the organic group

I am working with Services module to create an API. I have created a View that shows list of Organic groups. Now I need to add a field which will show if the current user is member of the group or ...
0
votes
1answer
38 views

Retrieve all fields of an entity with all details (label, type, constraints, allowed values) using services api

Problem : I've an entity-type say a Content-type with n number of fields. I want to have a mobile application using which I want to create a node of that content-type using the services module. I can ...
0
votes
1answer
19 views

How to send a vote using Advance Poll and Services Voting Api?

I need to expose a poll to a mobile app. After doing some research I found out that I could receive the votes, through a web service, using the services_votingapi module, and the go-to poll to use was ...
1
vote
0answers
17 views

File association With node in drupal of already uploaded file using Services

I created a file on drupal service using /api_endpoint/file Multipart post method and got response as fid and uri. { fid: uri: } Now when i need to add the fid to my custom field of a node which is ...
0
votes
1answer
18 views

Unable to delete a file with services

I am making an AJAX call to /file/.json. Webserver log says DELETE /services/file/5710.json HTTP/1.1 200, console log says the file has been deleted; yet the file is still there when you go here. What ...
1
vote
1answer
23 views

Make PDF,XLSX,DOCX,PPTX output for drupal REST server

When I tried to configure drupal service admin/structure/services/list/MyServiceName/server, I only see the following response content types. Is it possible to provide pdf, docx, pptx, xlsx etc. as ...
0
votes
1answer
29 views

Correct permissions for a services callback?

I wrote a service that, when called and passed the parameters correctly, creates a node of a certain content type. My service endpoint requires authentication, but so far only the maintenance (user 1) ...
1
vote
1answer
30 views

Service function is not calling

I am trying to validate a key, which I am passing as url argument using service. But service function is not calling. It's giving "Access denied" error. Am I missing something? My sample code is: ...
0
votes
0answers
15 views

Correctly create node through services when content type is created by another module

I'm adding a Service to create Reservations, as in Room Reservations Reservation, but when I create the node all the fields inside the node are empty. I think it has to do with the Room Reservations ...
0
votes
2answers
30 views

how to access configuration module from service

I have module config, something like: modulename.config.yml: modulename: core_address: 107.101.xx.yy core_port: 153759 core_user: superuser core_pass: superpass And I have module service, ...
2
votes
1answer
42 views

How to pass required arguments to a custom content type with services?

I am trying to create a Room Reservations Reservation through a Service using the Node Creation resource, but looking at the Room Reservations module code, the module does not allow the creation of ...
0
votes
0answers
27 views

How to create entities on another site using the Web Services Client module

I have installed the Web Services Client module, together with the Drupal Services module and Rules, in order to create, edit and delete entities on a remote Drupal site. The remote Drupal site has a ...
2
votes
2answers
137 views

How do I create and synchronize product fields with entity fields on another site

Case description: I have one centralized 'Asset management' Drupal website "A" (something like a simple ERP site) which manages the administration of purchased Assets, being ECK entities. The assets ...
0
votes
0answers
17 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
18 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
53 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
143 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
47 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
25 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
38 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
14 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
14 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?
1
vote
0answers
13 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' ...
1
vote
0answers
7 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
23 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
20 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 { "nid":"401","...
1
vote
1answer
46 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 ...
1
vote
0answers
11 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
31 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 ...
1
vote
0answers
19 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 ...
0
votes
0answers
18 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
43 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 ...
1
vote
0answers
37 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
63 views

How do I edit the output of a field?

I am creating REST API using Services Module in Drupal 7. I have created a View to Get lists of Groups. In this views, I have added a Field privacy which will tell if the group is Private or Public. ...
0
votes
1answer
15 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
31 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
19 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
36 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
15 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
15 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, ...