Response wrapped in IResult
Example
const mandantoryObject: IEvent = {
source: device,
text: 'I am an Event!',
time: '2018-05-02T10:08:00Z',
type: 'device-type-here',
};
(async () => {
const {data, res} = await eventService.create(mandantoryObject);
})();
Response wrapped in IResult
Response wrapped in IResult
Example
const eventId: number = 1;
(async () => {
const {data, res} = await eventService.detail(eventId);
})();
Response wrapped in IResultList
Generated using TypeDoc