POST api/case/addtimesheet
Request Information
URI Parameters
None.
Body Parameters
tbl_Case_Time_SheetVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Title | string |
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. |
|
| BusinessAccountID | integer |
None. |
|
| TeamMember | string |
None. |
|
| TotalHoursSpent | integer |
None. |
|
| TotalMinutesSpent | integer |
None. |
|
| IsChargeable | integer |
None. |
|
| Rate | string |
None. |
|
| CurrencyID | string |
None. |
|
| CurrencyCode | string |
None. |
|
| RateType | string |
None. |
|
| Billed | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Title": "sample string 2",
"CaseID": 1,
"Descriptn": "sample string 3",
"DisplayDesc": "sample string 4",
"HoursSpent": 1,
"MinutesSpent": 1,
"TeamMemberID": 1,
"IsDeleted": 1,
"CreatedBy": 1,
"FullName": "sample string 5",
"CreatedOn": "2025-12-20T14:08:05.1411221-06:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-20T14:08:05.1411221-06:00",
"SpentHours": 6.0,
"BusinessAccountID": 1,
"TeamMember": "sample string 7",
"TotalHoursSpent": 1,
"TotalMinutesSpent": 1,
"IsChargeable": 1,
"Rate": "sample string 8",
"CurrencyID": "sample string 9",
"CurrencyCode": "sample string 10",
"RateType": "sample string 11",
"Billed": 1
}
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"> <Billed>1</Billed> <BusinessAccountID>1</BusinessAccountID> <CaseID>1</CaseID> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-20T14:08:05.1411221-06:00</CreatedOn> <CurrencyCode>sample string 10</CurrencyCode> <CurrencyID>sample string 9</CurrencyID> <Descriptn>sample string 3</Descriptn> <DisplayDesc>sample string 4</DisplayDesc> <FullName>sample string 5</FullName> <HoursSpent>1</HoursSpent> <ID>1</ID> <IsChargeable>1</IsChargeable> <IsDeleted>1</IsDeleted> <MinutesSpent>1</MinutesSpent> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-20T14:08:05.1411221-06:00</ModifiedOn> <Rate>sample string 8</Rate> <RateType>sample string 11</RateType> <SpentHours>6</SpentHours> <TeamMember>sample string 7</TeamMember> <TeamMemberID>1</TeamMemberID> <Title>sample string 2</Title> <TotalHoursSpent>1</TotalHoursSpent> <TotalMinutesSpent>1</TotalMinutesSpent> </tbl_Case_Time_SheetVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>