The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 views

Can't create/update resources with Services module

I can't create/update nodes, taxonomy, users, etc., with Drupal Services. I can log in, retrieve system connection info and log out. Also, I can retrieve a node, user (all details), taxonomy term, ...
1
vote
0answers
8 views

How to use API versioning with the Services module?

I'm using the Services module to produce a REST API. According to the official documentation, there is a way to version services resources. I believe version here means supplying a single API (e.g. ...
0
votes
1answer
36 views

Post image via webservices

I tried to create a node through external application using web services. This having only two fields node title and cck field image. i will grateful if anyone share the JSON format to post the ...
0
votes
0answers
15 views

Q how to enter API functions in wsclient rest server setting?

I need to add functions from an SDK API reference document to the Drupal7 webservices rest server. I'd like to query them through the wsclient rest server, attached to a feed, to input them as ...
0
votes
0answers
34 views

RESTful web services return 403 forbidden for uc_order_product

I'm using ubercart and RESTful web services module. When I query for node, uc_order, user, etc., it returns data correctly, but when I query for "uc_order_product" I always get 403 Forbidden. ...
1
vote
1answer
60 views

What is wrong in my XML structure to add nodes using a RESTFul web service POST?

I'm using RESTFul Web Services module with Drupal 7. I can log in with basic authentication, get CSRF-token, get nodes, and so on. The problem is with POST/PUT: I cannot get adding nodes to work. I ...
0
votes
1answer
28 views

Issue while adding arguments to the custom services

I am adding one argument to the custom service named "streamtype" as follows function CMODULE_services_resources() { $api = array( 'oidar' => array( 'operations' => array( ...
1
vote
0answers
59 views

Can't edit soap envelope

I'm trying to test SOAP webservices using the webservice client module but I can't edit the datatype parameter which is set by default to arg0. I've changed it to what is shown in the picture below ...
0
votes
0answers
26 views

Drupal Webservice api for fblogin and twitterlogin

I have to create an mobile app where user should login into drupal from their fb or twitter accounts. I have created an api to login into drupal but should I also need to paas the oauth token from ...
0
votes
0answers
29 views

Create comment with services 3.X on Android with json

Im developing one Android app. I'm trying to post a comment from the app to drupal via Services module, but i cant send a json data to the module, there is the java code: HttpClient httpclient = new ...
0
votes
0answers
20 views

View XML Request when using WSClient and Rules

I am building a website that uses 3rd party data from a web service. I decided to use WSClient...so far so good. I am using Rules together with WSClient to create the proper SOAP request, however I ...
0
votes
1answer
53 views

Synchronize data between 2 Drupal sites dynamically

I currently have two Drupal sites and I would like to synchronize in a specific way the data of each one. More precisely, the first one contains detailed informations and the other only has the main ...
0
votes
2answers
36 views

Instructions to install a ready-made site in localhost

I am trying to install a ready-made instructional site on my local Linux webserver. How should I proceed? Thank you J.Reynolds for answer. Please understand that after I posted question I did some ...
0
votes
1answer
37 views

How to retrieve specified fields using services?

Using services we can retrieve list of all nodes with different filters and we can get a specific node as well. But is there any way we can specify the fields we would like to retrieve ? Eg: ...
0
votes
0answers
28 views

Profile data not showing using REST server

When visiting user profile page /user/1 the page shows the custom profile data (bio, and a few other fields), but when accessing the same resource via rest (using web services), the data isn't ...
0
votes
0answers
11 views

Webform and WebService

I'm just trying to generate one Webform for the people enter their data and that will answer true or false. Depending on that answer I need to show some kind of message, but if thats true I need to ...
0
votes
1answer
20 views

Is there any way in drupal to get all primary links through views?

My objective is to get the primary links or any kind of menus items, to be shown as JSON, so that an app could consume it and show it. I tried it using views and I have services module and ...
0
votes
0answers
5 views

Openpublic and Webservice

I am working on a Drupal 7 website using the openpublic distribution. I just wanted to know which is the best way to send data to one webservice? 1) Should I use a "webform" connecting to a ...
0
votes
0answers
23 views

Drupal 7 services module - add inline item attributes

I'm creating a custom API resource called pages which hooks up to a custom content type. function curatorapi_services_resources() { $api = array( 'pages' => array( 'operations' => array( ...
2
votes
1answer
46 views

Web services for specific node

I know you can enable Web services for content in Drupal8. You also need to set permissions to make a GET request to content. But I was wondering if it's possible to set for each node if it can be ...
0
votes
1answer
46 views

Cache SOAP search results from external web service

I've inherited an older Drupal 6 site which calls an external SOAP web service which not only takes a while to query and display results (approx. 5 seconds) but also re-queries the web service when ...
-2
votes
1answer
148 views

Creating Custom Weather Module in Drupal 7 [closed]

I'm a beginner at Drupal 7 trying to create a custom module that gets the weather from weather.yahoo.com for my own personal use. I'm not trying to make anything fancy like the Weather module. I just ...
-1
votes
1answer
52 views

How can I achieve basic authentication in Drupal?

I am trying to get working webservices in drupal (Services, restws,...), but ,as a first step I am trying to get a cookie using 'Basic Authorization' using the following python script: import urllib2 ...
0
votes
0answers
82 views

XML format for creating a new submission in a webform

Can someone please tell me how to create a webform submission on XML form? Or if not can you please correct this code and tell me where I'm going wrong?? I've been struggling for a week This is my ...
0
votes
2answers
264 views

Consuming RESTful web services with Drupal 8

Is there any existing Drupal 8 module (on drupal.org, GitHub or anywhere else) that would leverage Guzzle to consume JSON and/or HAL+JSON Web Services over REST? Alternatively, is the recommended way ...
0
votes
1answer
64 views

third party data source. best way to do

I am trying to display some TV schedule information from a thirdparty json api. I need to know what is the best way to do this. I have tried various module wsclient module,json query plugin, wsclient ...
0
votes
1answer
31 views

Drupal - Microsoft SQL Custom database

I would like to get some opinions on the following challenge: A client of mine has a desktop application that has been built in .net and is backed by a Microsoft SQL server to store all the records. ...
0
votes
0answers
130 views

Unable to get the json or xml format of views using views services

I have enabled the following modules 1. Services and it dependencies like Rest 2. Views Services I have added an endpoint at /admin/structure/services/list as follows : Then went to view and added ...
0
votes
0answers
199 views

Adding node with multi value field using Services

While adding node using REST API, submitting multi-value field is adding only one value to that field. { "title":"test", "type":"article", "body":{"und":[{"value":"this is main body"}]}, ...
0
votes
1answer
71 views

How can get five star rating data in drupal 6 services views?

i am using drupal 6.x, added five star(fivestar module) rating functionality to a node in my site. Everything working fine but i want to users rated data in drupal json services for mobile ...
1
vote
3answers
129 views

How to reply to a comment through services in drupal 7

I am using drupal 7 as back-end for a mobile application. I am using comments in my application. Can anyone help me to reply to comment through web-service. Thanks in advance
0
votes
1answer
329 views

Drupal 7 Services — hook_services_request_postprocess_alter() does not identify the requested resource

According to the Services API in Drupal 7, we can use hook_services_request_postprocess_alter() to alter drupal's REST response before returning it to the user. This is useful if you want to alter the ...
1
vote
2answers
1k views

Drupal Rest services “access denied user anonymous”

I have created a custom service where I am passing parameters and retrieving result from another file. So to test it I tried on Postman and I put URL with sitename/endpoint/resource and passed ...
0
votes
3answers
125 views

Single page Drupal apps with custom theme

I have a static HTML page which contains navigation that links to different sections on the same page. Just like this one http://www.cedricvella.com/#node-3 . What I would like to know is how can ...
0
votes
0answers
55 views

Access to node files with SMB share or similar

I'm thinking to use drupal as an ECM, but I miss an essential function (from my point of view): to be able to access to the files via samba share, webdav or similar. My idea is the following: Imagine ...
0
votes
0answers
35 views

Drupal web services on api subdomain

I want to make some data available through a web-service. So I'm looking into Services module I didn't find anything about using it on sub domain to make it more professional look (api.mysite.com) ...
0
votes
1answer
27 views

How can I use the web service with one or none arguments?

I have a web service with the Services module that works perfectly, with an URL like myweb.com\api\my_conent\124 I obtain the information of my_content that has the 124 id. Now with the URL ...
2
votes
1answer
106 views

Drupal Services node filtering based on taxonomy terms

I followed this post, I am able to filter nodes based on content type and other parameters http://test/api/node?parameters[nid]=1&parameters[status]=1 but I am not able to filter based on ...
0
votes
1answer
567 views

Webservice endpoint with hook_services_resources()

I've stumbled upon some limitations of the services module. I wanted to create the following endpoints: public/events/ public/events/categories public/events/resources public/blogs/ I wanted to ...
1
vote
1answer
718 views

insert data into database using web service

I am creating a custom web service. In this, as soon as service call, data should be store into database. I am using Hook_service_resource() function. How can i implement insertion into database using ...
1
vote
1answer
87 views

login/register web service

i am creating a web service for login and register. for login- http://example.com/endpointname/user/login for register- http://example.com/endpointname/user/register BUT i want a single url link ...
0
votes
1answer
46 views

D7 Services node view mode

I am using the services module. When I call domain.com/json/node/3 is it possible to ask for a specific view mode of the node ? Something like this ? domain.com/json/node/teaser/3 Thanks!
0
votes
1answer
312 views

How to Post JSON data to Cart service in Drupal Commerce Services

I'm uses Drupal commerce services for mobile commerce. But I don't know how to Post jSON to REST service Cart or Order. With Comment services I"m post JSON successful as below: URL: ...
0
votes
2answers
145 views

Which parameter do I need to pass for user registration of Drupal service

I have first name, lastname, email, password, confirmed password and gender for user registration like facebook registration when I call the url using poster ...
0
votes
1answer
234 views

How to attach/upload a file to node using restws?

I've got a content type with "File" field and "File" widget. I am successfully able to create a node without a file using restws. But, if I want to attach a file to it, it just doesn't allow me to do ...
1
vote
1answer
116 views

Is it necessary to learn php in order to use drupal to manage my site? [closed]

I am planning on using Drupal to manage a website. Should I learn PHP because I understand Drupal is built on PHP language? I don't know PHP and I am not planning to learn it, but I have decided to ...
0
votes
1answer
101 views

Calling web service on page load

Until now I'm calling a web service with using specific function like hook_user_logout, _validate, _submit..., but now I need to create a page that will display details that I'll receive results from ...
0
votes
1answer
2k views

REST Services module - Access denied for user anonymous

I'm Using Drupal 7, I installed Services module with all the requirements, according to this question and this video. I'm trying to get all users with Postman where I give my credential, but I'm ...
2
votes
1answer
80 views

Create a user profile on user creation in drupal 6

I have a problem and can't seem to find the answer. I'm creating a user via a rest service and it's not creating a user profile along with it. I'm not sure how to even create the profile. our user ...
0
votes
2answers
165 views

Create a user Programmatically in Drupal 6.22

i was trying to create a new user Programmatically in drupal 6.22 but i can't seem to get it working. I need to make a web service that can do a few things, one being create a new user. This ...