README.md in oneaccess-1.0.1 vs README.md in oneaccess-1.1.0
- old
+ new
@@ -273,5 +273,30 @@
resp #=> instance of Array containing ONEAccess::DataObject::ProvidersUsersDetails
rescue ONEAccess::Error::APIError => e
puts "Error getting providers users details"
end
```
+
+### Create Buy Side Interaction _(/interactions/BuySideInteractions)_
+
+Reference endpoint to get providers users details information.
+
+Use UTC time zone for start_date and end_date parameter.
+
+#### How to use:
+```ruby
+begin
+ resp = ONEAccess::API::V3_0::Interactions.buy_side_interactions(
+ type: ONEAccess::API::V3_0::Interactions::Types::RESEARCH_READERSHIP,
+ start_date: "2019-05-30 08:00",
+ end_date: "2019-05-30 08:30",
+ user_id: "3264",
+ broker: "UBS",
+ company_name: "Aravt Global",
+ email: "test@aravtglobal.com"
+ )
+
+ resp #=> instance of ONEAccess::Response::BuySideInteractionsResponse
+rescue ONEAccess::Error::APIError => e
+ puts "Error creating buysideinteraction"
+end
+```