- URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/validateInvitationResponse(POST only)
- Required Capability:Administrator (host)
- Version Introduced:10.5
Example usage
Below is a sample ArcGIS Online POST request for the validateInvitationResponse operation:
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--
Below is a sample ArcGIS Enterprise POST request for the validateInvitationResponse operation:
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
Prior to importing a collaboration invitation response, the invitation response file can be validated by using the validateInvitationResponse operation to check for the existence of the collaboration and validity of the invitation response file.
Request parameters
Parameter | Details |
---|---|
invitationResponseFile | A multipart form parameter—file upload. |
f | The response format. The default format is html. Values: html | json | pjson |