POST api/Common/AddEditTransmissionLines
Request Information
URI Parameters
None.
Body Parameters
TransmissionLinsPrm| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
None. |
|
| type | integer |
None. |
|
| typeId | integer |
None. |
|
| projectTypeId | integer |
None. |
|
| typeText | string |
None. |
|
| LineLength | decimal number |
None. |
|
| NoofTowers | integer |
None. |
|
| contractAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"flag": 1,
"type": 2,
"typeId": 3,
"projectTypeId": 4,
"typeText": "sample string 5",
"LineLength": 6.1,
"NoofTowers": 7,
"contractAmount": 8.1
}
text/html
Sample:
{"flag":1,"type":2,"typeId":3,"projectTypeId":4,"typeText":"sample string 5","LineLength":6.1,"NoofTowers":7,"contractAmount":8.1}
application/xml, text/xml
Sample:
<TransmissionLinsPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <LineLength>6.1</LineLength> <NoofTowers>7</NoofTowers> <contractAmount>8.1</contractAmount> <flag>1</flag> <projectTypeId>4</projectTypeId> <type>2</type> <typeId>3</typeId> <typeText>sample string 5</typeText> </TransmissionLinsPrm>
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:06:37",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/11/08 08:06:37","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>