POST api/WLR3/LineTest
This method runs a WLR3 line test on a CLI. The Test Outcome, if the outcome is a failure, can be used when POSTING a fault
Request Information
URI Parameters
None.
Body Parameters
PostLineTestRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CLI | CLI of line to be tested | string |
Matching regular expression pattern: ^(0[1-3][\d]{8,9})$ |
| TestType | Type of test to run | Wlr3TestType |
None. |
| SQC | Structed Query Code to test against | string |
None. |
| LineNumber | If multi-line then specifiy with line number | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CLI": "sample string 1",
"TestType": 0,
"SQC": "sample string 2",
"LineNumber": 3
}
application/xml, text/xml
Sample:
<PostLineTestRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models"> <CLI>sample string 1</CLI> <LineNumber>3</LineNumber> <SQC>sample string 2</SQC> <TestType>WLR3_Analog_Service_Test</TestType> </PostLineTestRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PostLineTestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TestOutcome | Result code. This can be used when POSTING a fault. | string |
None. |
| Description | Textual description of Testoutcome | string |
None. |
| OpenreachReference | Openreach Reference | string |
None. |
| FaultLocation | Fault location code | string |
None. |
| ServiceMaintenanceLevel | Openreach care level | string |
None. |
| LineStability | Line Stability code | string |
None. |
| NetworkStability | Network Stability code | string |
None. |
| StabilityStatement | Textual description of Stability code | string |
None. |
| DPLocation | DP location code | string |
None. |
| AdvisedToReport | Report advice code | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TestOutcome": "sample string 1",
"Description": "sample string 2",
"OpenreachReference": "sample string 3",
"FaultLocation": "sample string 4",
"ServiceMaintenanceLevel": "sample string 5",
"LineStability": "sample string 6",
"NetworkStability": "sample string 7",
"StabilityStatement": "sample string 8",
"DPLocation": "sample string 9",
"AdvisedToReport": "sample string 10"
}
application/xml, text/xml
Sample:
<PostLineTestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models"> <AdvisedToReport>sample string 10</AdvisedToReport> <DPLocation>sample string 9</DPLocation> <Description>sample string 2</Description> <FaultLocation>sample string 4</FaultLocation> <LineStability>sample string 6</LineStability> <NetworkStability>sample string 7</NetworkStability> <OpenreachReference>sample string 3</OpenreachReference> <ServiceMaintenanceLevel>sample string 5</ServiceMaintenanceLevel> <StabilityStatement>sample string 8</StabilityStatement> <TestOutcome>sample string 1</TestOutcome> </PostLineTestResponse>