POST v1/Surveys/{surveyId}/SamplingPoint/{samplingPointId}/Image/{fileName}
User roles allowed to make this request:
DomainAdministrator
PowerUser
RegularUser
LimitedUser
SampleManager
Permissions required to make this request:
SamplingPointImage.Write
SamplingPointImage.Read
SamplingPoint.Read
Survey.Read
Has survey type usage restrictions capi
Method used to upload an image file associated with a sampling point (e.g. a map). The upload of a new image file for an existing sampling point will update the old image.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
The surveyId of the survey |
string |
Required |
samplingPointId |
The surveyId of the sampling point |
string |
Required |
fileName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
An message indicating the status of the action
Response Message
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |