Director
Click here for a complete list of operations.
InsertPendingReading
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /MobileDirector.asmx HTTP/1.1 Host: director.prod.pvwc.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/InsertPendingReading" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertPendingReading xmlns="http://tempuri.org/"> <portalID>int</portalID> <key>string</key> <account>string</account> <service>string</service> <meter>string</meter> <readType>string</readType> <reading>double</reading> <readStatus>string</readStatus> <billType>string</billType> <cycle>string</cycle> <book>string</book> <readDate>string</readDate> <callNum>string</callNum> <dateTimeofPeak>string</dateTimeofPeak> <readingId>long</readingId> <processed>boolean</processed> <cType>string</cType> <supplier>string</supplier> <customer>string</customer> <prevRead>double</prevRead> <transferred>boolean</transferred> <transferDateTime>string</transferDateTime> <notes>string</notes> <consumption>double</consumption> <multiplier>double</multiplier> <multiplier2>double</multiplier2> <supplierRecordId>string</supplierRecordId> <billNumber>long</billNumber> <units>string</units> <marketId>string</marketId> <channel>string</channel> <lossfactor>double</lossfactor> <validated>boolean</validated> <strCode>int</strCode> <serviceId>long</serviceId> <prevReadDate>string</prevReadDate> <meterId>int</meterId> <infoStatus>string</infoStatus> <infoStr>int</infoStr> <workerCode>string</workerCode> <interVal>boolean</interVal> <billingInterval>string</billingInterval> <serviceOrder>long</serviceOrder> <troubleCode1>string</troubleCode1> <troubleCode2>string</troubleCode2> </InsertPendingReading> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertPendingReadingResponse xmlns="http://tempuri.org/"> <InsertPendingReadingResult>boolean</InsertPendingReadingResult> </InsertPendingReadingResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /MobileDirector.asmx HTTP/1.1 Host: director.prod.pvwc.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertPendingReading xmlns="http://tempuri.org/"> <portalID>int</portalID> <key>string</key> <account>string</account> <service>string</service> <meter>string</meter> <readType>string</readType> <reading>double</reading> <readStatus>string</readStatus> <billType>string</billType> <cycle>string</cycle> <book>string</book> <readDate>string</readDate> <callNum>string</callNum> <dateTimeofPeak>string</dateTimeofPeak> <readingId>long</readingId> <processed>boolean</processed> <cType>string</cType> <supplier>string</supplier> <customer>string</customer> <prevRead>double</prevRead> <transferred>boolean</transferred> <transferDateTime>string</transferDateTime> <notes>string</notes> <consumption>double</consumption> <multiplier>double</multiplier> <multiplier2>double</multiplier2> <supplierRecordId>string</supplierRecordId> <billNumber>long</billNumber> <units>string</units> <marketId>string</marketId> <channel>string</channel> <lossfactor>double</lossfactor> <validated>boolean</validated> <strCode>int</strCode> <serviceId>long</serviceId> <prevReadDate>string</prevReadDate> <meterId>int</meterId> <infoStatus>string</infoStatus> <infoStr>int</infoStr> <workerCode>string</workerCode> <interVal>boolean</interVal> <billingInterval>string</billingInterval> <serviceOrder>long</serviceOrder> <troubleCode1>string</troubleCode1> <troubleCode2>string</troubleCode2> </InsertPendingReading> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertPendingReadingResponse xmlns="http://tempuri.org/"> <InsertPendingReadingResult>boolean</InsertPendingReadingResult> </InsertPendingReadingResponse> </soap12:Body> </soap12:Envelope>