Delete an activity link

delete

/rest/ofscCore/v1/activities/{activityId}/linkedActivities/{linkedActivityId}/linkTypes/{linkType}

This operation deletes the link between the two specified activities.

Activity links define the correlation between two activities. If a link is created between two activities, it can define the following relations:

  • The sequence in which the activities are performed. The basic link types allowed are finish-to-start, start-to-start, simultaneous, and related.
  • The minimum and maximum intervals between sequential activities.
  • Whether the linked activities are performed by the same resource or different resources.

For multi-day activities, only the Related link type is applicable.

Request

Path Parameters
Back to Top

Response

Supported Media Types

204 Response

This section describes the 204 status response for this operation.

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top

Examples

The following example shows how to delete an activity link by submitting a DELETE request on the REST resource using cURL.

curl -X 'DELETE' \
     -u '<CLIENT-ID>@<INSTANCE-NAME>:<CLIENT-SECRET>' \
     -H 'Content-Type: application/json' \
     --data-binary '' \
     'https://<instance_name>.etadirect.com/rest/ofscCore/v1/activities/4225269/linkedActivities/4225270/linkTypes/start-after'

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 No Content
Server: nginx/1.2.7
Date: Fri, 18 Mar 2016 02:23:59 GMT
Content-Type: application/json; charset=utf-8
Connection: close
Back to Top