Represents grounds for termination (spr) in Business Central.
Methods
| Method | Return Type | Description |
|---|---|---|
| GET sprGroundsForTermination | sprGroundsForTermination | Gets a ground for termination object. |
| DELETE sprGroundsForTermination | none | Deletes a ground for termination object. |
| POST sprGroundsForTermination | sprGroundsForTermination | Creates a ground for termination object. |
| PATCH sprGroundsForTermination | sprGroundsForTermination | Updates a ground for termination object. |
Properties
| Property | Type | Description |
|---|---|---|
| id | Guid | Specifies the ground for termination's ID. Non-editable. |
| code | String[10] | Specifies the ground for termination's code. |
| description | String[100] | Specifies the ground for termination's description. |
| lastModifiedDateTime | DateTimeOffset | Specifies the ground for termination's last modified date. Read-Only. |
Examples
Create sprGroundsForTermination
POST URI: /companies({{companyId}})/sprGroundsForTermination/
Request
{
"code": "DARB 3",
"description": "Darbininkas 3"
}