Skip To Content

/importInvitationResponse: Import Invitation Response

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

Example usage

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


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--

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


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