module WolfCore::Burnett::PositionsOperations

def create_position!(erecruit_token:, erecruit_platform_url:, position:, error_message:, error_data: nil)

def create_position!(erecruit_token:, erecruit_platform_url:, position:, error_message:, error_data: nil)
  response = safe_http_post(
    headers: { "Authorization" => "Bearer #{erecruit_token}" },
    url: "#{erecruit_platform_url}/Position",
    body: position,
    error_message: error_message,
    error_data: error_data
  )
  response.body
end