Get Stop
getStop
Given a load Id, stop Id and an optional company Id, this web service returns an array of Stop objects in order by sequence number. If {all} is specified as the stop Id, then all stops for the load will be returned.
Stop[] getStop(string companyId, string loadId, string stopId) throws WSException
- companyId: (optional) A string of maximum length 10 that specifies the unique company identifier. If no company is specified, the company of the authorized user will be used.
- loadId: A string of maximum length 20 that identifies the load containing the stop(s).
- stopId: A string of maximum length 20 that identifies the stop to be returned. If {all} is specified as the stop Id, then all stops for the load will be returned.
Returns a null string on exceptions; otherwise returns an array of Stop objects.
Authorization Requirements
The credentials supplied with this method call (as specified in the accompanying WS-Security header) must be authorized to the following application(s) and their associated role-based permissions.
Required Application Licenses
- Remote Integration
Required User Permissions
- None
Sample XML Request
Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.
|
Sample XML Response
|
Exceptions
001 Unknown Error.
003 Company not authorized for integration.
004 User not authorized.
005 Invalid company id.
006 Invalid load id.
007 Invalid stop id.