Represents positions (spr) in Business Central.
Methods
| Method | Return Type | Description |
|---|---|---|
| GET sprPositions | Collection(sprPosition) | Gets a collection of sprPosition objects. |
| DELETE sprPosition | none | Deletes a sprPosition object. |
| POST sprPosition | sprPosition | Creates a sprPosition object. |
| PATCH sprPosition | sprPosition | Updates a sprPosition object. |
Properties
| Property | Type | Description |
|---|---|---|
| id | Guid | Specifies the position's ID. Non-editable. |
| code | String[10] | Specifies the position's code. |
| description | String[80] | Specifies the position's description. |
| employeeProfessionCode | String[20] | Specifies the position's employee profession code. |
| employeeProfessionDesc | String[250] | Specifies the position's profession description. |
| lastModifiedDateTime | DateTimeOffset | Specifies the position's last modified date. Read-Only. |
Examples
Create sprPositions
POST URI: /companies({{companyId}})/sprPositions
Request
{
"code": "DARB 3",
"description": "Darbininkas 3",
"employeeProfessionCode": "611106"
}