Set a file property



This operation creates the specified file property for the specified activity.

Note: The maximum size of the file that can be uploaded is 5 MB.


Supported Media Types
Path Parameters
Header Parameters
  • The custom filename for the property. For example, Content-Disposition: attachment; filename="photo-of-the-door.jpg" sets the filename for the property to 'photo-of-the-door.jpg'.
  • The media type of the property. For file properties of type 'image' having content-type as 'image/png', 'image/jpeg', or 'image/gif', Oracle Field Service generates a preview thumbnail that appears in Manage/Mobility.
Body ()
Root Schema : File
Type: string(binary)
Title: File
The contents of the file. This is usually binary data.
Back to Top


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


The following example shows how to set a file property of an activity by submitting a PUT request on the REST resource using cURL.

curl -u '<CLIENT-ID>@<INSTANCE-NAME>:<CLIENT-SECRET>' -X PUT --data-binary @filename.jpeg 'https://<instance_name>'

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 No Content
Back to Top