{
"name":"oiu",
"mail":"oiu@aol.com",
"field_mobile_number":{
"und":{
"0":{
"value":"987393"
}
}
},
"pass":"adsa",
"field_requirement":{
"und":{
"0":{
"value":"vzxvczx"
}
}
},
"field_gender":{
"und":"female"
},
"field_class":{
"und":[
"12"
]
},
"field_area":{
"und":[
"31"
]
},
"status":1,
"field_preferred_fee":{
"und":[
"434"
]
},
"profile_student_profile":{
"field_preferred_fee":{
"und":[
"432",
"433"
]
}
}
}
Create mytut_service.info and put following code in file. I am assuming you know how to create module. name = Mytut service description = My custom Service. package = Other core = 7.x dependencies[] = services dependencies[] = rest_server Put following code in mytut_service.module file. function mytut_service_services_resources() { $api = array( 'mytut_service_service' => array( 'operations' => array( 'retrieve' => array( 'help' => 'Retrieves story by nid', 'callback' => 'mycallback', 'access callback' => 'user_access', 'access arguments' => array('access content'), 'access arguments append' => FALSE, 'args' => array( array( 'name' => 'fn', 'type...
Hey Ashish,
ReplyDeleteI too tried to send profile fields along with user fields to user register service.
But, User are getting created without user profile fields.
I tried with only with term reference field with multiple selection & try different format
Delete