POST api/case/addtimesheet
Request Information
URI Parameters
None.
Body Parameters
tbl_Case_Time_SheetVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CaseID | integer |
None. |
|
| Descriptn | string |
None. |
|
| DisplayDesc | string |
None. |
|
| HoursSpent | integer |
None. |
|
| MinutesSpent | integer |
None. |
|
| TeamMemberID | integer |
None. |
|
| IsDeleted | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| FullName | string |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| SpentHours | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CaseID": 1,
"Descriptn": "sample string 2",
"DisplayDesc": "sample string 3",
"HoursSpent": 1,
"MinutesSpent": 1,
"TeamMemberID": 1,
"IsDeleted": 1,
"CreatedBy": 1,
"FullName": "sample string 4",
"CreatedOn": "2025-12-16T23:49:05.7585527-06:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T23:49:05.7585527-06:00",
"SpentHours": 5.0
}
application/xml, text/xml
Sample:
<tbl_Case_Time_SheetVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Case_Management_DAL.ViewModel"> <CaseID>1</CaseID> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-16T23:49:05.7585527-06:00</CreatedOn> <Descriptn>sample string 2</Descriptn> <DisplayDesc>sample string 3</DisplayDesc> <FullName>sample string 4</FullName> <HoursSpent>1</HoursSpent> <ID>1</ID> <IsDeleted>1</IsDeleted> <MinutesSpent>1</MinutesSpent> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-16T23:49:05.7585527-06:00</ModifiedOn> <SpentHours>5</SpentHours> <TeamMemberID>1</TeamMemberID> </tbl_Case_Time_SheetVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ErrorClass| Name | Description | Type | Additional information |
|---|---|---|---|
| Msg | string |
None. |
|
| Status | string |
None. |
|
| IsSuccess | boolean |
None. |
|
| retrn | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Msg": "sample string 1",
"Status": "sample string 2",
"IsSuccess": true,
"retrn": {}
}
application/xml, text/xml
Sample:
<ErrorClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMC_WebAPI.Utilities"> <IsSuccess>true</IsSuccess> <Msg>sample string 1</Msg> <Status>sample string 2</Status> <retrn /> </ErrorClass>