POST api/Report/EditWeekDetail
Request Information
URI Parameters
None.
Body Parameters
Collection of WeekDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| WeekNo | integer |
None. |
|
| WeekEnd | date |
None. |
|
| Heading | string |
None. |
|
| Category | string |
None. |
|
| Amount1 | decimal number |
None. |
|
| Amount2 | decimal number |
None. |
|
| Percent | decimal number |
None. |
|
| Editable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"CompanyID": 2,
"WeekNo": 3,
"WeekEnd": "2025-11-08T11:52:19.7562863+00:00",
"Heading": "sample string 5",
"Category": "sample string 6",
"Amount1": 7.0,
"Amount2": 8.0,
"Percent": 9.0,
"Editable": true
},
{
"ID": 1,
"CompanyID": 2,
"WeekNo": 3,
"WeekEnd": "2025-11-08T11:52:19.7562863+00:00",
"Heading": "sample string 5",
"Category": "sample string 6",
"Amount1": 7.0,
"Amount2": 8.0,
"Percent": 9.0,
"Editable": true
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| HasError | boolean |
None. |
|
| HasSuccess | boolean |
None. |
|
| Status | StatusType |
None. |
|
| MessageTitle | string |
None. |
|
| Message | string |
None. |
|
| ExceptionMessage | string |
None. |
|
| ExceptionStackTrace | string |
None. |
|
| ResultException | Exception |
None. |
|
| ResultObject | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultObject": {},
"HasError": false,
"HasSuccess": true,
"Status": 200,
"MessageTitle": "sample string 3",
"Message": "sample string 4",
"ExceptionMessage": "sample string 5",
"ExceptionStackTrace": "sample string 6",
"ResultException": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}