Create Salesperson

Creates a Salesperson

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
codestringRequired
The code of the Salesperson
namestringRequired
The name of the Salesperson
emailstringRequired
The email of the Salesperson
phoneNostringRequired
The Phone no. of the Salesperson
registerPasswordstringRequired
The Register password of the Salesperson
isSupervisorbooleanRequired
Specifies if it is a Supervisor
posUnitGroupstringRequired
The POS Unit Group of the Salesperson
blockedbooleanOptional
If the salesperson should be created as blocked with out access to the system

Response

This endpoint returns an object.
idUUID
The id of a salesperson.
codestring
The code of the Salesperson
namestring
The name of the Salesperson
emailstring
The email of the Salesperson
phoneNostring
The Phone no. of the Salesperson
isSupervisorboolean
Specifies if it is a Supervisor
blockedboolean
Specifies if the salesperson is blocked from using the system
posUnitGroupstring
The POS Unit Group of the Salesperson