DELETE Api/TypeOfAbsences/{id}
Usuwa asynchronicznie obiekt TypeOfAbsence z bazy danych
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
identyfikator obiektu |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TypeOfAbsenceDtoName | Description | Type | Additional information |
---|---|---|---|
TypeOfAbsenceId | integer |
Required |
|
Name | string |
Required |
|
ExportCode | string |
Required |
|
OrganizationalUnitId | integer |
Required |
|
Excused | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "typeOfAbsenceId": 1, "name": "sample string 2", "exportCode": "sample string 3", "organizationalUnitId": 4, "excused": true }
multipart/form-data
Sample:
{"typeOfAbsenceId":1,"name":"sample string 2","exportCode":"sample string 3","organizationalUnitId":4,"excused":true}
application/xml, text/xml
Sample:
<TypeOfAbsenceDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TypeOfAbsenceId>1</TypeOfAbsenceId> <Name>sample string 2</Name> <ExportCode>sample string 3</ExportCode> <OrganizationalUnitId>4</OrganizationalUnitId> <Excused>true</Excused> </TypeOfAbsenceDto>