Represents a Salespeople Purchaser in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| salespeoplePurchaser | businesscentralPrefix/soft4/soft4spaces/v3.0/companies({{companyId}})/salespeoplePurchasers |
Methods
| Method | Return Type | Description |
| GET salespeoplePurchaser | salespeoplePurchaser | Gets a salespeople purchaser object. |
| DELETE salespeoplePurchaser | none | Deletes a salespeople purchaser object. |
| POST salespeoplePurchaser | salespeoplePurchaser | Creates a salespeople purchaser object. |
| PATCH salespeoplePurchaser | salespeoplePurchaser | Updates a salespeople 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. |
| name | string | Specifies the salesperson purchaser's name. |
| commissionPercentage | decimal | Specifies the percentage to use to calculate the salesperson's commission. |
| string | Specifies the salesperson purchaser's email address. | |
| phoneNo | string | Specifies the salesperson's telephone number. |
| privacyBlocked | boolean | Specifies whether the privacy of the salesperson purchaser is blocked. |
| jobTitle | string | Specifies the salesperson's job title. |
| globalDimension1Code | string | Specifies the Global Dimension 1 value code. |
| globalDimension2Code | string | Specifies the Global Dimension 2 value code. |
| nextTaskDate | date | Specifies the date of the next task assigned to the salesperson. |
| blocked | boolean | Specifies that entries can't be posted to the salesperson purchaser. True indicates account is blocked and posting is not allowed. |
| systemCreatedAt | datetime | The datetime the salesperson purchaser was created. |
| systemCreatedBy | GUID | The ID of the user who created the salesperson purchaser. |
| systemModifiedAt | datetime | The last datetime the salesperson purchaser was modified. |
| systemModifiedBy | GUID | The ID of the user who modified the salesperson purchaser. |