POST api/WorkLog/CreateWorkLog

Request Information

URI Parameters

None.

Body Parameters

WorkLogBindingModel
NameDescriptionTypeAdditional information
WorkLogID

integer

None.

ProjectID

integer

None.

UserID

integer

None.

LogDate

date

None.

SpentHours

integer

None.

SpentMinutes

integer

None.

WorkDescription

string

None.

WorkType

string

None.

ContactPerson

string

None.

CreationDate

date

None.

LogDateString

string

None.

ProjectName

string

None.

IsIncentivise

boolean

None.

TaskID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkLogID": 1,
  "ProjectID": 1,
  "UserID": 1,
  "LogDate": "2026-05-19T12:12:56.8513867+05:30",
  "SpentHours": 1,
  "SpentMinutes": 1,
  "WorkDescription": "sample string 2",
  "WorkType": "sample string 3",
  "ContactPerson": "sample string 4",
  "CreationDate": "2026-05-19T12:12:56.8542603+05:30",
  "LogDateString": "sample string 5",
  "ProjectName": "sample string 6",
  "IsIncentivise": true,
  "TaskID": "sample string 7"
}

application/xml, text/xml

Sample:
<WorkLogBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnboxPharma.Models">
  <ContactPerson>sample string 4</ContactPerson>
  <CreationDate>2026-05-19T12:12:56.8542603+05:30</CreationDate>
  <IsIncentivise>true</IsIncentivise>
  <LogDate>2026-05-19T12:12:56.8513867+05:30</LogDate>
  <LogDateString>sample string 5</LogDateString>
  <ProjectID>1</ProjectID>
  <ProjectName>sample string 6</ProjectName>
  <SpentHours>1</SpentHours>
  <SpentMinutes>1</SpentMinutes>
  <TaskID>sample string 7</TaskID>
  <UserID>1</UserID>
  <WorkDescription>sample string 2</WorkDescription>
  <WorkLogID>1</WorkLogID>
  <WorkType>sample string 3</WorkType>
</WorkLogBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.