Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Create SalesPerson with API

(1) ShareShare
ReportReport
Posted on by 9
Dear Business Central Forum users
 
We are working on automating the process of creating users and salespersons in Business Central within our organization. I have successfully created users using the PowerShell module, but I am having trouble finding the right documentation to create a SalesPerson using the Business Central API. I am referencing the (v1.0) API documentation for Dynamics 365 Business Central on Microsoft Learn. Am I looking in the wrong place, or is this simply not possible? Any help would be greatly appreciated.
 
Thanks in advance
 
Dion
  • Verified answer
    MarceloBorges Profile Picture
    MarceloBorges 116 on at
    Create SalesPerson with API
    I would recommend publishing an OData Web Service pointing to the Sales Person card (Page 5116). This would not require any development.
     
    Here's the official documentation on publishing Web Services:

    Just as a clarification: this OData webservice is not the same thing as BC Apis, but if you're just trying to find a way of exchanging data with BC using internet calls, OData web services can certainly help in case you don't have them available through an existing API.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 8,877 Super User 2025 Season 1 on at
  • YUN ZHU Profile Picture
    YUN ZHU 78,032 Super User 2025 Season 1 on at
    Create SalesPerson with API
    As far as I know there is no standard API for SalesPersons, this would require customization.
    PS:
    Dynamics 365 Business Central: Can we extend standard APIs? – Download Standard Source Code for APIs
     
    Dynamics 365 Business Central Online: Endpoints for the APIs (V1.0, V2.0, Beta, custom, automation……)
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans