--- title: AddShiftTradeRequest --- :::error **The Ruby SDK is deprecated as of 9/16/2020** The Genesys Cloud Ruby SDK (v96.0.0) will be frozen at its current version level. Any new enhancements to our API or bug fixes will not be backported. If you do need to take advantage of new features or bug fixes outside the Genesys Cloud Ruby SDK, you will need to use the Genesys Cloud REST endpoints directly. More information can be found in the [Official Announcement](https://developer.mypurecloud.com/forum/t/announcement-genesys-cloud-ruby-sdk-end-of-life/8850). ::: ## PureCloud::AddShiftTradeRequest ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **schedule_id** | **String** | The ID of the schedule to which the initiating and receiving shifts belong | | | **initiating_shift_id** | **String** | The ID of the shift that the initiating user wants to give up | | | **receiving_user_id** | **String** | The ID of the user to whom to send the request (for use in direct trade requests) | [optional] | | **expiration** | **DateTime** | When this shift trade request should expire. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **acceptable_intervals** | **Array<String>** | | [optional] | {: class="table table-striped"}