Service
Click here for a complete list of operations.
InsertJob
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 /Service.asmx HTTP/1.1 Host: 169.255.249.145 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/InsertJob" <?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> <InsertJob xmlns="http://tempuri.org/"> <j> <Id>long</Id> <Jobno>int</Jobno> <Unit>string</Unit> <Street_Address>string</Street_Address> <Consumer_Name>string</Consumer_Name> <Job_type>string</Job_type> <Action>string</Action> <Instruction>string</Instruction> <Meter_No>string</Meter_No> <Dials>string</Dials> <Account_No>long</Account_No> <Town>string</Town> <Received_Date>dateTime</Received_Date> <XCOORD>double</XCOORD> <YCOORD>double</YCOORD> <User_Id>guid</User_Id> <Inspection_Type>string</Inspection_Type> <Inspectorno>long</Inspectorno> <Inspectorname>string</Inspectorname> <Inspection_date>dateTime</Inspection_date> <Synch_to_Date>dateTime</Synch_to_Date> <Synch_to_start_Date>dateTime</Synch_to_start_Date> <Synch_from_Date>dateTime</Synch_from_Date> <JobStatus>string</JobStatus> <Start_Date>dateTime</Start_Date> <Completed_Date>dateTime</Completed_Date> <AppVersion>string</AppVersion> </j> </InsertJob> </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> <InsertJobResponse xmlns="http://tempuri.org/"> <InsertJobResult> <Success>boolean</Success> <Message>string</Message> <Data>string</Data> </InsertJobResult> </InsertJobResponse> </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 /Service.asmx HTTP/1.1 Host: 169.255.249.145 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> <InsertJob xmlns="http://tempuri.org/"> <j> <Id>long</Id> <Jobno>int</Jobno> <Unit>string</Unit> <Street_Address>string</Street_Address> <Consumer_Name>string</Consumer_Name> <Job_type>string</Job_type> <Action>string</Action> <Instruction>string</Instruction> <Meter_No>string</Meter_No> <Dials>string</Dials> <Account_No>long</Account_No> <Town>string</Town> <Received_Date>dateTime</Received_Date> <XCOORD>double</XCOORD> <YCOORD>double</YCOORD> <User_Id>guid</User_Id> <Inspection_Type>string</Inspection_Type> <Inspectorno>long</Inspectorno> <Inspectorname>string</Inspectorname> <Inspection_date>dateTime</Inspection_date> <Synch_to_Date>dateTime</Synch_to_Date> <Synch_to_start_Date>dateTime</Synch_to_start_Date> <Synch_from_Date>dateTime</Synch_from_Date> <JobStatus>string</JobStatus> <Start_Date>dateTime</Start_Date> <Completed_Date>dateTime</Completed_Date> <AppVersion>string</AppVersion> </j> </InsertJob> </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> <InsertJobResponse xmlns="http://tempuri.org/"> <InsertJobResult> <Success>boolean</Success> <Message>string</Message> <Data>string</Data> </InsertJobResult> </InsertJobResponse> </soap12:Body> </soap12:Envelope>