Overview
This article contains documentation for the Location web service and all related API calls.
For more information about all available Web Services and corresponding methods, refer to the Introduction to Web Services article.
Information
This web service includes the following methods:
createLocation
This service method allows you to create Locations.
Method Signature
Ordinal |
DataType |
Can be Null? |
Description |
---|---|---|---|
Name |
String |
No |
The Name of the Location |
landmarkType |
String |
No |
The type of the Location |
Location |
svLocation |
No |
The address of the Location |
Referencenumber |
String |
No |
The unique number used to update locations |
Divisions |
svDivisions |
Yes |
Array of divisions (groups) for which this Location will be available. If it is empty, the location will be available to all divisions. |
Return Result |
SvResult |
No |
SvResult object that indicates the success or failure of the method call. |
createOrUpdateLocation
This service method allows you to create or update Locations.
Method Signature
Ordinal |
DataType |
Can be Null? |
Description |
---|---|---|---|
Name |
String |
No |
The Name of the Location |
landmarkType |
String |
No |
The type of the Location |
Location |
svLocation |
No |
The address of the location |
Divisions |
svDivisions |
Yes |
Array of divisions (groups) for which this Location will be available. If it is empty, the location will be available to all divisions. |
Referencenumber |
String |
No |
The unique number used to update locations |
Return Result |
SvResult |
No |
SvResult object that indicates the success or failure of the method call. |
updateLocation
This service method allows Locations to be updated.
Method Signature
Ordinal |
DataType |
Can be Null? |
Description |
---|---|---|---|
Name |
String |
Yes |
The Name of the Location |
landmarkType |
String |
Yes |
The type of the Location |
Location |
svLocation |
Yes |
The address of the Location |
Referencenumber |
String |
No |
The unique number used to update locations |
Return Result |
SvResult |
No |
SvResult object that indicates the success or failure of the method call. |
getLocationByLocationType
This service method returns all Locations for the specified landmark (location) types.
Method Signature
Ordinal |
DataType |
Can be Null? |
Description |
---|---|---|---|
landmarkType |
String |
No |
The type of the Location |
Return Result |
SvLandmark |
No |
Landmark information. |
deleteLocation
This service method deletes the specified Locations.
Method Signature
Ordinal |
DataType |
Can be Null? |
Description |
---|---|---|---|
referenceNumber |
String |
Yes |
Deletes a location with the reference number. |