/validateInvitationResponse: Validate Invitation Response

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

Example usage

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
POST /sharing/rest/portals/0123456789ABCDEF/collaborations/eefa7ebb30aa435382cc9b27ffa95e3e/validateInvitationResponse HTTP/1.1
Host: org.arcgis.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryaVOuWh0Nhxy1Ij1f
Content-Length: []

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


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

pjson
------WebKitFormBoundaryaVOuWh0Nhxy1Ij1f--

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/eefa7ebb30aa435382cc9b27ffa95e3e/validateInvitationResponse HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryaVOuWh0Nhxy1Ij1f
Content-Length: []

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


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

pjson
------WebKitFormBoundaryaVOuWh0Nhxy1Ij1f--

Description

The validateInvitationResponse operation validates the invitation response from a distributed collaboration guest. Prior to importing a collaboration invitation response, the invitation response file should be validated to check for the existence of the collaboration and validity of the invitation response file.

Request parameters

ParameterDetails

invitationResponseFile

A multipart form parameter—file upload.

f

The response format. The default format 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.