code: def create_shift(self, params={}):
          
          url = "/2/shifts/"
          body = params
  
          data = self._post_resource(url, body)
          shift = self.shift_from_json(data["shift"])
  
          return shift
docs: Creates a shift
  
          http://dev.wheniwork.com/#create/update-shift