WSTrack2
Click here for a complete list of operations.
CreateGroup
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/CreateGroup" <?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> <CreateGroup xmlns="http://www.tempuri.org/"> <SecurityToken>string</SecurityToken> <GroupName>string</GroupName> <ContactName>string</ContactName> <Description>string</Description> <Territory>string</Territory> <GroupType>string</GroupType> <TimeZone>string</TimeZone> <UnitsOfMeasure>string</UnitsOfMeasure> <VolumeMeasurement>string</VolumeMeasurement> <TemperatureMeasurementUnit>string</TemperatureMeasurementUnit> <AreaUnitofMeasure>string</AreaUnitofMeasure> <Country>string</Country> <UseDST>string</UseDST> <Sunrise>string</Sunrise> <Sunset>string</Sunset> <Weekdays>string</Weekdays> <HoursOfOperationStart>string</HoursOfOperationStart> <HoursOfOperationEnd>string</HoursOfOperationEnd> <SaveOnlyDuringHoursOfOperations>string</SaveOnlyDuringHoursOfOperations> <ContactFirstName>string</ContactFirstName> <ContactLastName>string</ContactLastName> <ContactAddress>string</ContactAddress> <ContactAddress2>string</ContactAddress2> <ContactCity>string</ContactCity> <ContactState>string</ContactState> <ContactZipCode>string</ContactZipCode> <ContactCountry>string</ContactCountry> <ContactEmail>string</ContactEmail> <ContactPrimaryPhone>string</ContactPrimaryPhone> <ContactSecondaryPhone>string</ContactSecondaryPhone> </CreateGroup> </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> <CreateGroupResponse xmlns="http://www.tempuri.org/"> <CreateGroupResult>string</CreateGroupResult> </CreateGroupResponse> </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> <CreateGroup xmlns="http://www.tempuri.org/"> <SecurityToken>string</SecurityToken> <GroupName>string</GroupName> <ContactName>string</ContactName> <Description>string</Description> <Territory>string</Territory> <GroupType>string</GroupType> <TimeZone>string</TimeZone> <UnitsOfMeasure>string</UnitsOfMeasure> <VolumeMeasurement>string</VolumeMeasurement> <TemperatureMeasurementUnit>string</TemperatureMeasurementUnit> <AreaUnitofMeasure>string</AreaUnitofMeasure> <Country>string</Country> <UseDST>string</UseDST> <Sunrise>string</Sunrise> <Sunset>string</Sunset> <Weekdays>string</Weekdays> <HoursOfOperationStart>string</HoursOfOperationStart> <HoursOfOperationEnd>string</HoursOfOperationEnd> <SaveOnlyDuringHoursOfOperations>string</SaveOnlyDuringHoursOfOperations> <ContactFirstName>string</ContactFirstName> <ContactLastName>string</ContactLastName> <ContactAddress>string</ContactAddress> <ContactAddress2>string</ContactAddress2> <ContactCity>string</ContactCity> <ContactState>string</ContactState> <ContactZipCode>string</ContactZipCode> <ContactCountry>string</ContactCountry> <ContactEmail>string</ContactEmail> <ContactPrimaryPhone>string</ContactPrimaryPhone> <ContactSecondaryPhone>string</ContactSecondaryPhone> </CreateGroup> </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> <CreateGroupResponse xmlns="http://www.tempuri.org/"> <CreateGroupResult>string</CreateGroupResult> </CreateGroupResponse> </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/CreateGroup?SecurityToken=string&GroupName=string&ContactName=string&Description=string&Territory=string&GroupType=string&TimeZone=string&UnitsOfMeasure=string&VolumeMeasurement=string&TemperatureMeasurementUnit=string&AreaUnitofMeasure=string&Country=string&UseDST=string&Sunrise=string&Sunset=string&Weekdays=string&HoursOfOperationStart=string&HoursOfOperationEnd=string&SaveOnlyDuringHoursOfOperations=string&ContactFirstName=string&ContactLastName=string&ContactAddress=string&ContactAddress2=string&ContactCity=string&ContactState=string&ContactZipCode=string&ContactCountry=string&ContactEmail=string&ContactPrimaryPhone=string&ContactSecondaryPhone=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/CreateGroup HTTP/1.1 Host: www.argotrak.net Content-Type: application/x-www-form-urlencoded Content-Length: length SecurityToken=string&GroupName=string&ContactName=string&Description=string&Territory=string&GroupType=string&TimeZone=string&UnitsOfMeasure=string&VolumeMeasurement=string&TemperatureMeasurementUnit=string&AreaUnitofMeasure=string&Country=string&UseDST=string&Sunrise=string&Sunset=string&Weekdays=string&HoursOfOperationStart=string&HoursOfOperationEnd=string&SaveOnlyDuringHoursOfOperations=string&ContactFirstName=string&ContactLastName=string&ContactAddress=string&ContactAddress2=string&ContactCity=string&ContactState=string&ContactZipCode=string&ContactCountry=string&ContactEmail=string&ContactPrimaryPhone=string&ContactSecondaryPhone=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>