Represents a Service in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| service | businesscentralPrefix/soft4/soft4spaces/v3.0/companies({{companyId}})/services |
Methods
| Method | Return Type | Description |
| GET service | service | Gets a service object. |
| DELETE service | none | Deletes a service object. |
| POST service | service | Creates a service object. |
| PATCH service | service | Updates a service object. |
Properties
| Property | Type | Description |
| id | GUID | The unique ID of the service. Non-editable. |
| code | string | The code of the service. |
| description | string | Specifies the description of the service. |
| description2 | string | Specifies the description of the service. |
| searchDescription | string | Specifies the search description of the service. |
| serviceGroup | string | Service group code. Service group number combines services in invoices but shows details in statements. |
| descriptioninEnglish | string | Description in English. |
| genProdPostingGroup | string | General product posting group. |
| vatProdPostingGroup | string | VAT product posting group. |
| inArrearsInAdvance | string | Specifies the service filtering criteria for service journal. It can be "Not Defined", "In Arrears", or "In Advance". |
| taxLiable | boolean | Specifies whether the service is liable for tax. |
| taxGroupCode | string | Tax group code. |
| saleUnitofMeasureCode | string | Unit of measure code. |
| chargeCostEntries | boolean | Specifies whether costs are allocated from a purchase invoice and fixed amount should be applied. |
| balance | decimal | Specifies balance. |
| chargesAmount | decimal | Specifies charges amount. |
| invoicedAmount | decimal | Specifies invoiced amount. |
| systemCreatedAt | datetime | The datetime the service was created. |
| systemCreatedBy | GUID | The ID of the user who created the service. |
| systemModifiedAt | datetime | The last datetime the service was modified. |
| systemModifiedBy | GUID | The ID of the user who modified the service. |