Complete an opportunity task

Request Information

URI Parameters

Name Description Type Additional information
eventId

Id for opportunity

integer

Required

taskId

Id for opportunity task

integer

Required

Body Parameters

CompleteTaskRequest
Name Description Type Additional information
CompletedByUserId

User Id for user who completed this task. Could be a participant, a trip admin, or an organization admin.

integer

Required

ParticipantId

Required for tasks that are completed per participant

integer

Request Formats

application/json, text/json

Sample:
{
  "CompletedByUserId": 1,
  "ParticipantId": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Sample Request

https://api.servicereef.com/v1/events/{eventId}/tasks/{taskId}/complete?request={request}

Response Information

Resource Description

ApiResultModel
Name Description Type Additional information
Success

boolean
ErrorMessage

string

Try API

Try this endpoint by entering your credentials and using the API Explorer.

Try With API Explorer

Response Formats

application/json, text/json

Sample:

Sample not available.