salespersonPurchaser resource type

Represents a salesperson purchaser in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET salespersonPurchaser salespersonPurchaser Gets a salesperson purchaser object.
DELETE salespersonPurchaser none Deletes a salesperson purchaser object.
POST salespersonPurchaser salespersonPurchaser Creates a salesperson purchaser object.
PATCH salespersonPurchaser salespersonPurchaser Updates a salesperson purchaser object.

Properties

Property Type Description
id GUID The unique ID of the salesperson purchaser. Non-editable.
code string The code of the salesperson purchaser.
displayName string Specifies the salesperson purchaser's name. This name will appear on all sales documents for the salesperson purchaser.
email string Specifies the salesperson purchaser's email address.
email2 string
phoneNo string
jobTitle string The job title of the salesperson purchaser.
commisionPercent decimal
privacyBlocked boolean Specifies whether the privacy of the salesperson purchaser is blocked.
blocked boolean Specifies that entries can't be posted to the salesperson purchaser. True indicates account is blocked and posting is not allowed.
lastModifiedDateTime datetime The last datetime the salesperson purchaser was modified. Read-Only.

JSON representation

Here's a JSON representation of the salespersonPurchaser resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "email": "string",
    "email2": "string",
    "phoneNo": "string",
    "jobTitle": "string",
    "commisionPercent": "decimal",
    "privacyBlocked": "boolean",
    "blocked": "boolean",
    "lastModifiedDateTime": "datetime"
}

GET salespersonPurchaser
DELETE salespersonPurchaser
POST salespersonPurchaser
PATCH salespersonPurchaser