Update an activity

patch

/hcmRestApi/resources/11.13.18.05/learningEvents/{learningEventsUniqID}/child/activities/{activitiesUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Activities resource and used to uniquely identify an instance of Activities. The client should not generate the hash key value. Instead, the client should query on the Activities collection resource in order to navigate to a specific instance of Activities to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Learning Events resource and used to uniquely identify an instance of Learning Events. The client should not generate the hash key value. Instead, the client should query on the Learning Events collection resource in order to navigate to a specific instance of Learning Events to get the hash key.
Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Activity Number
    Maximum Length: 2000
    Friendly number identifying the activity.
  • Title: Activity Type
    Maximum Length: 30
    Default Value: ORA_ILT_ACTIVITY
    Activity type, such as Internal or External.
  • Ad Hoc Resources
    Title: Ad Hoc Resources
    The adhocResources resources captures the details of additional resources required for an instructor-led training, such as printers or whiteboards.
  • Classrooms
    Title: Classrooms
    The classrooms resource is a child of the completionDetails resource. It provides the classroom details for the instructor-led activities associated with instructor-led and blended offerings.
  • Title: Classroom Title
    Maximum Length: 2000
    Display name of the activity classrooms.
  • Title: Classrooms
    List of activity classrooms.
  • Title: Completion Rule
    Maximum Length: 30
    Completion rule that determines how the content handles completions. It also determines if manager or learner confirmation is required.
  • Maximum Length: 30
    Completion type for the activity, such as Mandatory or Optional.
  • Title: Activity Description
    Description for the activity.
  • Title: Activity End Date
    End date for the activity.
  • Title: Expected Efforts
    Expected effort needed by the learner to complete the learning item.
  • Title: External Details URL
    Maximum Length: 2000
    Details URL for the activity.
  • Instructors
    Title: Instructors
    The instructors resource is a child of the completionDetails resource. It provides the instructors associated with instructor-led and blended offerings.
  • Title: Instructors
    List of activity instructors.
  • Related Materials
    Title: Related Materials
    The relatedMaterials resource is used to add attachments to the learning parent resource, as well as to edit, view, and delete the attachments. Details include attached document ID, file name, file URL, file title, and description.
  • Title: Activity Start Date
    Start date for the activity.
  • Title: Status
    Maximum Length: 30
    Status for the activity
  • Title: Time Zone
    Maximum Length: 30
    Time zone for the activity
  • Title: Title
    Maximum Length: 250
    Title of the activity.
  • Title: Virtual Classroom URL
    Maximum Length: 500
    Link to join the virtual classroom, if used in the ILT activity. Doesn't apply to any other types of activities.
Nested Schema : Ad Hoc Resources
Type: array
Title: Ad Hoc Resources
The adhocResources resources captures the details of additional resources required for an instructor-led training, such as printers or whiteboards.
Show Source
Nested Schema : Classrooms
Type: array
Title: Classrooms
The classrooms resource is a child of the completionDetails resource. It provides the classroom details for the instructor-led activities associated with instructor-led and blended offerings.
Show Source
Nested Schema : Instructors
Type: array
Title: Instructors
The instructors resource is a child of the completionDetails resource. It provides the instructors associated with instructor-led and blended offerings.
Show Source
Nested Schema : Related Materials
Type: array
Title: Related Materials
The relatedMaterials resource is used to add attachments to the learning parent resource, as well as to edit, view, and delete the attachments. Details include attached document ID, file name, file URL, file title, and description.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : learningEvents-activities-classroomDetails-item-patch-request
Type: object
Show Source
Nested Schema : learningEvents-activities-instructorDetails-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
  • Related Materials Binaries
    Title: Related Materials Binaries
    The assetAttachments resource adds, edits, views, and deletes attachments for the parent resource. Details include attached document identifier, file name, file URL, file title, and description.
  • Maximum Length: 80
    Determines who can view or edit the attachments, such as Administrators, Administrators and Enrollees, or Administrators and Self Service.
Nested Schema : Related Materials Binaries
Type: array
Title: Related Materials Binaries
The assetAttachments resource adds, edits, views, and deletes attachments for the parent resource. Details include attached document identifier, file name, file URL, file title, and description.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : learningEvents-activities-item-response
Type: object
Show Source
Nested Schema : Ad Hoc Resources
Type: array
Title: Ad Hoc Resources
The adhocResources resources captures the details of additional resources required for an instructor-led training, such as printers or whiteboards.
Show Source
Nested Schema : Classrooms
Type: array
Title: Classrooms
The classrooms resource is a child of the completionDetails resource. It provides the classroom details for the instructor-led activities associated with instructor-led and blended offerings.
Show Source
Nested Schema : Instructors
Type: array
Title: Instructors
The instructors resource is a child of the completionDetails resource. It provides the instructors associated with instructor-led and blended offerings.
Show Source
Nested Schema : Related Materials
Type: array
Title: Related Materials
The relatedMaterials resource is used to add attachments to the learning parent resource, as well as to edit, view, and delete the attachments. Details include attached document ID, file name, file URL, file title, and description.
Show Source
Nested Schema : learningEvents-activities-adhocResources-item-response
Type: object
Show Source
Nested Schema : learningEvents-activities-classroomDetails-item-response
Type: object
Show Source
Nested Schema : learningEvents-activities-instructorDetails-item-response
Type: object
Show Source
Nested Schema : learningEvents-activities-relatedMaterials-item-response
Type: object
Show Source
  • Links
  • Related Materials Binaries
    Title: Related Materials Binaries
    The assetAttachments resource adds, edits, views, and deletes attachments for the parent resource. Details include attached document identifier, file name, file URL, file title, and description.
  • Maximum Length: 80
    Determines who can view or edit the attachments, such as Administrators, Administrators and Enrollees, or Administrators and Self Service.
Nested Schema : Related Materials Binaries
Type: array
Title: Related Materials Binaries
The assetAttachments resource adds, edits, views, and deletes attachments for the parent resource. Details include attached document identifier, file name, file URL, file title, and description.
Show Source
Nested Schema : learningEvents-activities-relatedMaterials-relatedMaterialsBinaries-item-response
Type: object
Show Source
Back to Top