WSTrack2
Click here for a complete list of operations.
CreateDriver
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /ws/wstrack2.asmx HTTP/1.1 Host: www.argotrak.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.tempuri.org/CreateDriver" <?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> <CreateDriver xmlns="http://www.tempuri.org/"> <securityToken>string</securityToken> <clientID>string</clientID> <groupID>string</groupID> <firstName>string</firstName> <lastName>string</lastName> <title>string</title> <gender>string</gender> <dateOfBirth>string</dateOfBirth> <taxNumber>string</taxNumber> <integrationID>string</integrationID> <phone>string</phone> <cellphone>string</cellphone> <email>string</email> <licence>string</licence> <licenceExpiration>string</licenceExpiration> <vehicleID>string</vehicleID> <driverCode>string</driverCode> </CreateDriver> </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> <CreateDriverResponse xmlns="http://www.tempuri.org/"> <CreateDriverResult>string</CreateDriverResult> </CreateDriverResponse> </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 /ws/wstrack2.asmx HTTP/1.1 Host: www.argotrak.net 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> <CreateDriver xmlns="http://www.tempuri.org/"> <securityToken>string</securityToken> <clientID>string</clientID> <groupID>string</groupID> <firstName>string</firstName> <lastName>string</lastName> <title>string</title> <gender>string</gender> <dateOfBirth>string</dateOfBirth> <taxNumber>string</taxNumber> <integrationID>string</integrationID> <phone>string</phone> <cellphone>string</cellphone> <email>string</email> <licence>string</licence> <licenceExpiration>string</licenceExpiration> <vehicleID>string</vehicleID> <driverCode>string</driverCode> </CreateDriver> </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> <CreateDriverResponse xmlns="http://www.tempuri.org/"> <CreateDriverResult>string</CreateDriverResult> </CreateDriverResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ws/wstrack2.asmx/CreateDriver?securityToken=string&clientID=string&groupID=string&firstName=string&lastName=string&title=string&gender=string&dateOfBirth=string&taxNumber=string&integrationID=string&phone=string&cellphone=string&email=string&licence=string&licenceExpiration=string&vehicleID=string&driverCode=string HTTP/1.1 Host: www.argotrak.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.tempuri.org/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ws/wstrack2.asmx/CreateDriver HTTP/1.1 Host: www.argotrak.net Content-Type: application/x-www-form-urlencoded Content-Length: length securityToken=string&clientID=string&groupID=string&firstName=string&lastName=string&title=string&gender=string&dateOfBirth=string&taxNumber=string&integrationID=string&phone=string&cellphone=string&email=string&licence=string&licenceExpiration=string&vehicleID=string&driverCode=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.tempuri.org/">string</string>