/importInvitationResponse: Import Invitation Response

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/importInvitationResponse
Methods:
POST
Required Capability:
Administrator (host)
Version Introduced:
10.5

Example usage

The following is a sample ArcGIS Online POST request for the importInvitationResponse operation:

Use dark colors for code blocksCopy
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
POST /sharing/rest/portals/0123456789ABCDEF/collaborations/eefa7ebb30aa435382cc9b27ffa95e3e/importInvitationResponse HTTP/1.1
Host: org.arcgis.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJqAJAReayTSU0x73
Content-Length: []

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

[response file]
------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthUsername"


------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthPassword"


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


------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthCertPassword"


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

pjson
------WebKitFormBoundaryJqAJAReayTSU0x73--

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

Use dark colors for code blocksCopy
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
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/eefa7ebb30aa435382cc9b27ffa95e3e/importInvitationResponse HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJqAJAReayTSU0x73
Content-Length: []

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

[response file]
------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthUsername"


------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthPassword"


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


------WebKitFormBoundaryJqAJAReayTSU0x73
Content-Disposition: form-data; name="guestWebauthCertPassword"


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

pjson
------WebKitFormBoundaryJqAJAReayTSU0x73--

Description

The importInvitationResponse operation imports an invitation response file from a portal collaboration guest. The operation is performed on the portal that serves as the collaboration host. Once an invitation response is imported, trust between the host and the guest is established. Sharing of content between participants can proceed from this point.

Request parameters

ParameterDetails

invitationResponseFile

A multipart form parameter—file upload.

guestWebauthUsername

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

guestWebauthPassword

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

guestWebauthCertificateFile

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

guestWebauthCertPassword

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

f

The response formatting parameter. The default value is html.

Values: html | json | pjson

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