/acceptCollaborationInvitation: Accept Invitation

URL:
https://[root]/portals/[portalID]/acceptCollaborationInvitation
Methods:
POST
Required Capability:
Administrator (guest)
Version Introduced:
10.5

Example usage

The following is a sample ArcGIS Enterprise multipart POST request for the acceptCollaborationInvitation operation:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/acceptCollaborationInvitation HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Length: []

------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="invitationFile"; filename=""
Content-Type: application/octet-stream

collaboration-org.domain.com.invite
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactFirstname"

John
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactLastname"

Smith
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactEmailAddress"

JSmith@org.com
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthUsername"


------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthPassword"


------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthCertificateFile"; filename=""
Content-Type: application/octet-stream


------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthCertPassword"


------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="f"

pjson
------WebKitFormBoundary2GBVvqDqPuRWXT4N--

Description

The acceptCollaborationInvitation operation allows an ArcGIS Enterprise organization to accept a collaboration invitation. The invitation file received securely from the collaboration host must be provided as input for the invitationFile parameter. Once a guest accepts an invitation to a collaboration, they must link workspaces associated with the collaboration to local organization groups. The guest must export a collaboration invitation response file and send it to the host. Once the host processes the response, content can be shared between the host and participating guests.

Request parameters

ParameterDetails

invitationFile

A multipart form parameter—file upload.

guestContactFirstname

The first name of the contact person for the guest portal.

guestContactLastname

The last name of the contact person for the guest portal.

guestContactEmailAddress

The email address for the contact person for the guest portal.

hostWebauthUsername

If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication user name.

hostWebauthPassword

If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication password.

hostWebauthCertificateFile

If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication certificate file.

hostWebauthCertPassword

If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication certificate password.

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

1
{"success": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close