GET api/History/{id}
Fast method to get History by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiHistoryOutputName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
id_company | integer |
None. |
|
company | Object |
None. |
|
id_history_event_type | integer |
None. |
|
history_event_type | Object |
None. |
|
description | string |
None. |
|
date | date |
None. |
|
system | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "id_company": 1, "company": {}, "id_history_event_type": 3, "history_event_type": {}, "description": "sample string 5", "date": "2024-11-16T05:06:24.507312+00:00", "system": true }
application/xml, text/xml
Sample:
<ApiHistoryOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <id_company>1</id_company> <company /> <id_history_event_type>3</id_history_event_type> <history_event_type /> <description>sample string 5</description> <date>2024-11-16T05:06:24.507312+00:00</date> <system>true</system> </ApiHistoryOutput>