mautic / mautic/api-library

API endpoint for Companies does not include owner

Open
#224 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
205
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Bug Description

I'm not sure if this is a bug or an enhancement, but currently the API endoints for getting and listing companies does not return company owner information. Seems like a bug to me....I would think it would match the contacts endpoint on a GET request, which is documented here.

Q A
Mautic version 2.16.3
PHP version 7.2.24
Browser Chrome 84
Steps to reproduce
  1. Do a curl request to the Get Company endpoint as documented here.
  2. The result will not include an owner field, but it should.
Log errors

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documented Get Company endpoint and the company listing endpoint, then compare their responses with the documented contacts GET response. Reproduce the omission with the issue's curl request and verify that company responses include an owner field when the work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.