Delete work plan for a resource

delete

/rest/ofscCore/v1/resources/{resourceId}/plans

This operation deletes the work plan assigned to the specified group resource.

A field manager can use work plans in the Oracle Field Service Mobility application to measure the planned amount of working time of a group resource for a particular day.

Request

Supported Media Types
Path Parameters
  • The unique identifier of the resource in Oracle Field Service. This maps to the resource field 'external_id' and is not necessarily set for all resources. The resources without this parameter are not visible to the operation.
Query 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
Show Source
Back to Top

Examples

The following example shows how to delete work plan for a resource by submitting a DELETE request on the REST resource.

Example of Request Header

The following shows an example of the response header.

DELETE /rest/ofscCore/v1/resources/<groupId>/plans?measure=points&date=2017-05-23

Example of Response Header

The following example shows the contents of the response header.

HTTP/1.1 204 No Content
Server: nginx
Date: Tue, 23 May 2017 13:18:49 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Credentials: true
Back to Top