POST api/Common/AddEditCompletionSchedule
Request Information
URI Parameters
None.
Body Parameters
CompletionSchedulePrm| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
None. |
|
| completionScheduleId | integer |
None. |
|
| workTypeId | integer |
None. |
|
| workTypeSelectedId | integer |
None. |
|
| projectCategoryId | integer |
None. |
|
| transmissionLineId | integer |
None. |
|
| questionId | integer |
None. |
|
| questionOptionTypeId | integer |
None. |
|
| questionOptionsId | integer |
None. |
|
| questionValue | integer |
None. |
|
| questionUnit | string |
None. |
|
| subStationQuestionaireActivityId | integer |
None. |
|
| year | integer |
None. |
|
| month1 | decimal number |
None. |
|
| month2 | decimal number |
None. |
|
| month3 | decimal number |
None. |
|
| month4 | decimal number |
None. |
|
| month5 | decimal number |
None. |
|
| month6 | decimal number |
None. |
|
| month7 | decimal number |
None. |
|
| month8 | decimal number |
None. |
|
| month9 | decimal number |
None. |
|
| month10 | decimal number |
None. |
|
| month11 | decimal number |
None. |
|
| month12 | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"flag": 1,
"completionScheduleId": 2,
"workTypeId": 3,
"workTypeSelectedId": 4,
"projectCategoryId": 5,
"transmissionLineId": 6,
"questionId": 7,
"questionOptionTypeId": 8,
"questionOptionsId": 9,
"questionValue": 10,
"questionUnit": "sample string 11",
"subStationQuestionaireActivityId": 12,
"year": 13,
"month1": 14.1,
"month2": 15.1,
"month3": 16.1,
"month4": 17.1,
"month5": 18.1,
"month6": 19.1,
"month7": 20.1,
"month8": 21.1,
"month9": 22.1,
"month10": 23.1,
"month11": 24.1,
"month12": 25.1
}
text/html
Sample:
{"flag":1,"completionScheduleId":2,"workTypeId":3,"workTypeSelectedId":4,"projectCategoryId":5,"transmissionLineId":6,"questionId":7,"questionOptionTypeId":8,"questionOptionsId":9,"questionValue":10,"questionUnit":"sample string 11","subStationQuestionaireActivityId":12,"year":13,"month1":14.1,"month2":15.1,"month3":16.1,"month4":17.1,"month5":18.1,"month6":19.1,"month7":20.1,"month8":21.1,"month9":22.1,"month10":23.1,"month11":24.1,"month12":25.1}
application/xml, text/xml
Sample:
<CompletionSchedulePrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <completionScheduleId>2</completionScheduleId> <flag>1</flag> <month1>14.1</month1> <month10>23.1</month10> <month11>24.1</month11> <month12>25.1</month12> <month2>15.1</month2> <month3>16.1</month3> <month4>17.1</month4> <month5>18.1</month5> <month6>19.1</month6> <month7>20.1</month7> <month8>21.1</month8> <month9>22.1</month9> <projectCategoryId>5</projectCategoryId> <questionId>7</questionId> <questionOptionTypeId>8</questionOptionTypeId> <questionOptionsId>9</questionOptionsId> <questionUnit>sample string 11</questionUnit> <questionValue>10</questionValue> <subStationQuestionaireActivityId>12</subStationQuestionaireActivityId> <transmissionLineId>6</transmissionLineId> <workTypeId>3</workTypeId> <workTypeSelectedId>4</workTypeSelectedId> <year>13</year> </CompletionSchedulePrm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/08 08:05:39",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/11/08 08:05:39","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>