- 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 import
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--
The following is a sample ArcGIS Enterprise POST request for the import
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 import
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
Parameter | Details |
---|---|
| A multipart form parameter—file upload. |
| If the collaboration guest requires web-tier authentication, optionally use this parameter to provide the guest's web-tier authentication user name. |
| If the collaboration guest requires web-tier authentication, optionally use this parameter to provide the guest's web-tier authentication password. |
| If the collaboration guest requires web-tier authentication, optionally use this parameter to provide the guest's web-tier authentication certificate file. |
| If the collaboration guest requires web-tier authentication, optionally use this parameter to provide the guest's web-tier authentication certificate password. |
| The response formatting parameter. The default value is Values: |