GET api/Event?projectId={projectId}&taskId={taskId}&eventId={eventId}

Get a event of a task based on event id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Project id

integer

Required

taskId

Task id

integer

Required

eventId

Event id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get a event of a task based on event id

API_Data_EventModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

EventModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectId": 1,
    "ParentTaskId": 2,
    "EventId": 3,
    "TemplateId": 1,
    "Title": "sample string 4",
    "StartDate": "2020-12-03 18:15:27",
    "FinishDate": "2020-12-03 18:15:27",
    "CrntOwnerId": 1,
    "OwnerName": "sample string 5",
    "StatusId": 1,
    "StatusName": "sample string 6",
    "DateCreated": "2020-12-03 18:15:27",
    "CreatedById": 1,
    "CreatedBy": "sample string 7",
    "AttachmentId": 1,
    "AttachmentVersion": 1,
    "AttachmentName": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<API_Data_EventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
    <d2p1:AttachmentId>1</d2p1:AttachmentId>
    <d2p1:AttachmentName>sample string 8</d2p1:AttachmentName>
    <d2p1:AttachmentVersion>1</d2p1:AttachmentVersion>
    <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy>
    <d2p1:CreatedById>1</d2p1:CreatedById>
    <d2p1:CrntOwnerId>1</d2p1:CrntOwnerId>
    <d2p1:DateCreated>2020-12-03T18:15:27.1203-08:00</d2p1:DateCreated>
    <d2p1:EventId>3</d2p1:EventId>
    <d2p1:FinishDate>2020-12-03T18:15:27.1203-08:00</d2p1:FinishDate>
    <d2p1:OwnerName>sample string 5</d2p1:OwnerName>
    <d2p1:ParentTaskId>2</d2p1:ParentTaskId>
    <d2p1:ProjectId>1</d2p1:ProjectId>
    <d2p1:StartDate>2020-12-03T18:15:27.1203-08:00</d2p1:StartDate>
    <d2p1:StatusId>1</d2p1:StatusId>
    <d2p1:StatusName>sample string 6</d2p1:StatusName>
    <d2p1:TemplateId>1</d2p1:TemplateId>
    <d2p1:Title>sample string 4</d2p1:Title>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_EventModel>