Delete a work schedule item
delete
/rest/ofscCore/v1/resources/{resourceId}/workSchedules/{scheduleItemId}
This operation deletes the specified work schedule item for the specified resource.
Request
Path Parameters
-
resourceId(required): string
The unique identifier of the resource in Oracle Field Service.
-
scheduleItemId(required): string
The identifier of the work schedule item.
Response
Supported Media Types
- application/json
204 Response
This section describes the 204 status response for this operation.
Default Response
This section describes the default error response for this operation.
Root Schema : Error
Type:
Show Source
object
-
detail:
string
The detailed description of this error.
-
status:
string
The HTTP status code of this error.
-
title(required):
string
The brief description of this error.
-
type(required):
string
The URL of the web page containing more details about this error.
Examples
The following example shows how to delete work schedule item for resource by submitting a DELETE request on the REST resource.
Example of Request Header
The following shows an example of the request header.
DELETE /rest/ofscCore/v1/resources/22/workSchedules/4401 HTTP/1.0 Authorization: Basic c29hcEB5YW1hdG86MQ== Host: <instance_name>.fs.ocs.oraclecloud.com Accept: */*
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 204 No Content Server: nginx/1.6.2 Date: Fri, 24 Jul 2015 08:35:48 GMT Content-Type: application/json; charset=utf-8 Connection: close