pos > salesperson

Validate a salesperson's pin

post/{tenant}/{environment}/{company}/pos/salesperson/login

Request

  • Base URL
    https://api.npretail.app
  • Auth
    API key in header x-np-api-key

Path parameters

tenantstring required

Your Entra Tenant ID. More details.

environmentstring required

Your Business Central Environment. More details.

companystring required

Your Business Central Company. More details.

Headers

x-api-versionstring date

Used for API versioning. More details.

Request body

pinstring required

Response

Response with status 200

idstring uuid required

The id of a salesperson.

codestring required

The code of the Salesperson

namestring required

The name of the Salesperson

emailstring required

The email of the Salesperson

phoneNostring required

The Phone no. of the Salesperson

isSupervisorboolean required

Specifies if it is a Supervisor

blockedboolean required

Specifies if the salesperson is blocked from using the system

posUnitGroupstring required

The POS Unit Group of the Salesperson

Changes

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • warning

      deleted the header request parameter x-np-api-key

    • info

      the endpoint scheme security NPApiKeyAuthScheme was added to the API

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      api operation id login removed and replaced with pos_salesperson_login