POST api/getMyTimeUsed/{userEmail}

Gets the total time used by the specified user in the provided timesheet lines.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userEmail

Email address of the user.

string

Required

Body Parameters

List of timesheet lines.

Collection of CallTimesheet
NameDescriptionTypeAdditional information
Resource

string

None.

PostingDate

string

None.

WorkType

string

None.

Description

string

None.

UnitOfMeasure

string

None.

StartTime

string

None.

EndTime

string

None.

ActualTime

decimal number

None.

NavKey

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "resource": "sample string 1",
    "postingDate": "sample string 2",
    "workType": "sample string 3",
    "description": "sample string 4",
    "unitOfMeasure": "sample string 5",
    "startTime": "sample string 6",
    "endTime": "sample string 7",
    "actualTime": 8.0,
    "navKey": "sample string 9"
  },
  {
    "resource": "sample string 1",
    "postingDate": "sample string 2",
    "workType": "sample string 3",
    "description": "sample string 4",
    "unitOfMeasure": "sample string 5",
    "startTime": "sample string 6",
    "endTime": "sample string 7",
    "actualTime": 8.0,
    "navKey": "sample string 9"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Total time used by the user.

string

Response Formats

application/json, text/json

Sample:
"sample string 1"