--- title: "sprRelatives" slug: "sprrelatives" updated: 2025-03-27T09:52:14Z published: 2025-03-27T09:52:14Z canonical: "instrukcijos.softera.lt/sprrelatives" --- > ## Documentation Index > Fetch the complete documentation index at: https://instrukcijos.softera.lt/llms.txt > Use this file to discover all available pages before exploring further. # sprRelatives Represents relatives (spr) in Business Central. ## Methods | Method | Return Type | Description | | --- | --- | --- | | GET sprRelatives | sprRelatives | Gets a relative object. | | DELETE sprRelatives | none | Deletes a relative object. | | POST sprRelatives | sprRelatives | Creates a relative object. | | PATCH sprRelatives | sprRelatives | Updates a relative object. | ## Navigation | Navigation | Return Type | Description | | --- | --- | --- | | [sprEmployee](/v1/docs/sprEmployees) | sprEmployee | Gets the employee associated with the relative. | | [sprRelativesHistory](/v1/docs/sprRelativesHistory) | Collection(sprRelativeHistory) | Gets the history of the relative. | ## Properties | Property | Type | Description | Relation to | | --- | --- | --- | --- | | id | Guid | Specifies the relative's ID. Non-editable. | | | employeeNumber | String[20] | Specifies the employee's number. | [sprEmployees.number](/v1/docs/sprEmployees) | | employeeId | Guid | Specifies the employee's ID. | [sprEmployees.id](/v1/docs/sprEmployees) | | lineNo | Int32 | Specifies the line number. | | | type | NAV.sprRelativeType | Specifies the relative's type. It can be: 0- " " 1- Daughter 2- Son 3- Other 4- Child 5- Emergency Contract | | | firstName | String[30] | Specifies the relative's first name. | | | surname | String[30] | Specifies the relative's surname. | | | dateOfBirth | Date | Specifies the relative's date of birth. | | | personalNo | String[20] | Specifies the relative's personal number. | | | phoneNo | String[]30 | Specifies the relative's phone number. | | | eMail | String[80] | Specifies the relative's email address. | | | lastModifiedDateTime | DateTimeOffset | Specifies the relative's last modified date. Read-Only. | | ## Examples ### Create sprRelatives POST `URI: /companies({{companyId}})/sprRelatives` #### Request ``` { "employeeId": "{{employeeId}}", "type": "4", "firstName": "Vaikas 1", "surname": "Vaikauskas 1", "dateOfBirth": "2010-01-01", "personalNo": "31001017777", "phoneNo": "866677777", "eMail": "866677777@test.lt" } ```