Method:
mm.maps.share
Shares a map and sends emails (maybe skipped)
Authentication
Requires signing: | Yes |
Requires authentication: | Yes |
Requires access: | write |
Parameters
-
map_id
(required) -
allow_sub_sharing
(optional) -
collaborators
(optional) -
message
(optional) -
skip_email
(optional) -
viewers
(optional)
Sample Response
<rsp stat="ok"> <existingusers> <user id="1" username="quentin" fullname="Max Muster" /> </existingusers> <newusers> <email>[email protected]</email> <email>[email protected]</email> </newusers> <subshare>0</subshare></rsp>
Error Codes
-
20
Object not found - Object not found
-
21
Collaborators and Viewers empty - Either collaborators or viewers must be set correctly
-
22
Invalid email - Email address provided is malformed
-
30
Subsharing not activated for map - Map can only be shared or unshared by owner, no subshare is activated
-
96
Invalid signature - The passed signature was invalid.
-
97
Missing signature - The call required signing but no signature was sent.
-
98
Login failed - The login details or auth token passed were invalid.
-
100
Invalid API Key - The API key passed was not valid or has expired.
-
112
Method not found - The requested method was not found.
Test Method
No API key found.
If you already have an API key you might just have to Sign In.