All operations
COMPANY
Assigns a rep (user) to a company in a given role.
The company and user are identified by `CompanyId` and `UserId` in the body. The new assignment's ID is not returned; use `GET /api/v2/companies/{companyId}/reps` to read it.
POST
/api/v2/companies/repAuthentication
Choose one supported method for this request.
Request body
The company, user, role, optional override rank, zone and whether the rep is primary.
companyIdinteger · int32userIdinteger · int32roleIdinteger · int32overrideRankIdinteger · int32primarybooleanzoneIdinteger · int32
Responses
Rep assigned successfully.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
boolean