README.md in oneaccess-0.1.6 vs README.md in oneaccess-0.1.7

- old
+ new

@@ -150,5 +150,25 @@ resp.data.active #=> Boolean meaning if the Organization is Active or not resp.data.type #=> type of the Organization (Unspecified = 0, Buyside = 1, Sellside = 2, Advisory = 3, Other = 4, Vendor = 5, Internal = 6) resp.data.main_address #=> instance of ONEAccess::DataObject::Address resp.data.addresses #=> Array of instances of ONEAccess::DataObject::Address ``` + +### Research Entitlement + +### Create an Research Entitlement request + +Official documentation: http://apidocs.oneaccess.io/docs/entitlmentresearchuserrequestscreate + +Creates a new Research Entitlement Request for the given User. + +#### How to use +```ruby +begin + resp = ONEAccess::API::Entitlement::Research::UserRequests.create(user_id:'123', sell_side_org_id:'456', + sales_contact_first_name:'John', sales_contact_last_name:'Doe', sales_contact_email:'john.doe@example.com') + + resp.data #=> ID of the new Request +rescue ONEAccess::Error::APIError => e + puts "Error creating the Research Entitlement Request: #{e}" +end +```