I'm having some serious difficulties in creating a new Google Apps Account
for my domain (paid version).
The following ruby code returns with the error
"Required extensions are missing.Login@userName, Login@password,
Name@givenName, and Name@familyName are required fields for user creation"
However, the apps:name and apps:login elements are in my xml document. What
Gives ???
The XML document:
builder = Nokogiri::XML::Builder.new do |xml|
xml.send(:"atom:entry", "xmlns:atom" =>
"http://www.w3.org/2005/Atom", "xmlns:apps" =>
"http://schemas.google.com/apps/2006") {
xml.send(:"atom:category", "scheme" =>
"http://schemas.google.com/g/2005#kind", "term" =>
"http://schemas.google.com/apps/2006#user")
xml.send(:"apps:name", "familyName" => "Jones", "givenName" =>
"Susan")
}
end
return builder.to_xml
Sending it:
access_token.post("https://apps-apis.google.com/a/feeds/rapleaf.com/user/2.0/",
newUserXmlDoc,
{'Content-type' => 'application/atom+xml'})
--
You received this message because you are subscribed to the Google Groups
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/HMWkTMGczXAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.