Relation works only WIth ID?

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

I have companies and projects, project have only one relation(company)
when I am sending post to create project, and when I choose relation(company) by ID it`s working, but otherwise no working(with another fields), how can I fiexed it that can work with another fields?