I am using Drupal 7, services, and smsframework. I am able to register the user from website by enter their phone number. However, I can not find the field how to enter the phone number when I try to register the user in JSON format via services.
I did it via service API: POST /api/resource/user/register
I have tried different ways to show the field, such as:
"sms_user": "1234567"
"sms_user[number]": "1234567"
or many different ways...
but always got the same error as the following:
"sms_user][number": "Phone number field is required."
I did some research and used the same field format as other user account setting such as : "name", "mail", but can't find the answer. Is this a configuration problem I need to fix or this is not supported in current SMSframework?
Thanks for any info/suggestion!
Comments
Comment #1
PeterC989 CreditAttribution: PeterC989 commentedI figured it out by myself, this is just a configuration change I need to perform. Close the ticket.
Comment #2
ymazigo CreditAttribution: ymazigo commentedhi how did you solve this issue