PUT api/Employees/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
EmployeeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Surname | string |
None. |
|
MiddleName | string |
None. |
|
Login | string |
None. |
|
Password | string |
None. |
|
WorkWithCar | Collection of WorkWithCar |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Surname": "sample string 3", "MiddleName": "sample string 4", "Login": "sample string 5", "Password": "sample string 6", "WorkWithCar": [ { "ID": 1, "IDCar": 1, "IDEmp": 1, "WorkDescription": "sample string 2", "DateWork": "2023-12-06T07:43:44.0751429-06:00" }, { "ID": 1, "IDCar": 1, "IDEmp": 1, "WorkDescription": "sample string 2", "DateWork": "2023-12-06T07:43:44.0751429-06:00" } ] }
Response Information
Resource Description
None.