Operative External Data SOAP API
On This Page:
Related Pages:
The sp:GetChangedEmpRequest
API method can be used to store external data related to an operative, so that it can be managed using ServiceManager.
Description
It is possible to capture, and store, external data against an operative so that this data can then be managed using ServiceManager as a single point of update, if so desired. Data types are presented as ‘external data objects’ providing a grouping of ‘external data attributes’.
Each data object defines:
- An identifier
- A display name
- The FRU(s) where this object may be populated
Each data attribute defines:
- an identifier (note that this must be unique across the system, and not just unique to the object it belongs to)
- a display name
- a display sequence (to order the list in the operative screens)
- the object it belongs to
- a value type (integer, float, string, Boolean)
- an optional mapping to a defined ServiceOptimizer operative attribute (one of the
SPESDT
values, see below) - an optional default value
- a numeric minimum value (for integer/float types)
- a numeric maximum value (for integer/float types)
- a maximum number of decimal places (for float types)
- a maximum number of characters (for string types)
- the string value for true (for Boolean types) e.g. ‘On’, ‘Yes’, ‘True’
- a string value for false (for Boolean types) e.g. ‘Off’, ‘No’, ‘False’
- whether the data type is mandatory or optional
The available mappings to defined ServiceOptimizer attributes are as follows:
| ServiceOptimizer Attribute Used | Type |
| Use | Free text, whatever was input over the interface |
| Use | 25 character string- alphanumeric unique identifier |
| Use | 50 character string- this is full name i.e. first name and surname together, separated by spaces |
| Use | 50 character string |
| Use | 30 character string- in the US this is typically either a 5 digit zip or the zip+4 |
| Use | 30 character string- in the US this is typically either a 5 digit zip or the zip+4 |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 40 character string |
| Use | 40 character string |
| Use | 20 character string |
| Use | 50 character string - the format for this is a full TZ value e.g. AST-10ADT,M10.5.0,M3.5.0 |
| Use | 40 character string |
| Use | 8 character string |
| Use | 20 character string |
These external data objects and attributes can be updated via ServiceManager, or via the Create Operative SOAP API and the Update Operative SOAP API.
External data that has been created, updated or removed for an operative can then be retrieved by using the sp:GetChangedEmpRequest
interface.
Definition
The definition of this API is:
Notes:
- if both FRU and Team are null select all
The ‘added’ case will return all requested external objects that the operative has defined if the operative has been created since the lastExtractTime, or if an operative who previously had his/her final posting ended has been given () a new posting that means that operative is once again a ‘current’ posting.
‘Update’ records will only be sent if changes have been applied, to either the external data attributes themselves or to the ServiceOptimizer attributes they reference, since the lastExtractTime. For any requested object a change to any of the attributes will mean that all attributes will be returned, however each will have a ‘modified’ Boolean so that the caller knows which have been changed within the extract timeframe.
When an external data object is requested, if an operative has some of the external data attributes for that object defined, but not all of them, then only the attributes where the operative has a defined value will be returned. If an operative has no attributes for a particular object defined then the object is not returned for that operative (but there may be other objects returned if the request specified multiple objects)
For deletion records, these will be sent when an operative’s final posting has an end date added, and that end date now falls inside the time period defined by lastExtractTime.
Return Structure
The API returns a non-standard return structure.
Return Codes
In addition to the Standard Return Codes, the possible Return Codes from this API are:
Description
It is possible to capture, and store, external data against an operative so that this data can then be managed using ServiceManager as a single point of update, if so desired. Data types are presented as ‘external data objects’ providing a grouping of ‘external data attributes’.
Each data object defines:
- An identifier
- A display name
- The FRU(s) where this object may be populated
Each data attribute defines:
- an identifier (note that this must be unique across the system, and not just unique to the object it belongs to)
- a display name
- a display sequence (to order the list in the operative screens)
- the object it belongs to
- a value type (integer, float, string, Boolean)
- an optional mapping to a defined ServiceOptimizer operative attribute (one of the
SPESDT
values, see below) - an optional default value
- a numeric minimum value (for integer/float types)
- a numeric maximum value (for integer/float types)
- a maximum number of decimal places (for float types)
- a maximum number of characters (for string types)
- the string value for true (for Boolean types) e.g. ‘On’, ‘Yes’, ‘True’
- a string value for false (for Boolean types) e.g. ‘Off’, ‘No’, ‘False’
- whether the data type is mandatory or optional
The available mappings to defined ServiceOptimizer attributes are as follows:
| ServiceOptimizer Attribute Used | Type |
| Use | Free text, whatever was input over the interface |
| Use | 25 character string- alphanumeric unique identifier |
| Use | 50 character string- this is full name i.e. first name and surname together, separated by spaces |
| Use | 50 character string |
| Use | 30 character string- in the US this is typically either a 5 digit zip or the zip+4 |
| Use | 30 character string- in the US this is typically either a 5 digit zip or the zip+4 |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 50 character string – alphanumeric including spaces and other characters |
| Use | 40 character string |
| Use | 40 character string |
| Use | 20 character string |
| Use | 50 character string - the format for this is a full TZ value e.g. AST-10ADT,M10.5.0,M3.5.0 |
| Use | 40 character string |
| Use | 8 character string |
| Use | 20 character string |
These external data objects and attributes can be updated via ServiceManager, or via the Create Operative SOAP API and the Update Operative SOAP API.
External data that has been created, updated or removed for an operative can then be retrieved by using the sp:GetChangedEmpRequest
interface.
Definition
The definition of this API is:
Notes:
- if both FRU and Team are null select all
The ‘added’ case will return all requested external objects that the operative has defined if the operative has been created since the lastExtractTime, or if an operative who previously had his/her final posting ended has been given () a new posting that means that operative is once again a ‘current’ posting.
‘Update’ records will only be sent if changes have been applied, to either the external data attributes themselves or to the ServiceOptimizer attributes they reference, since the lastExtractTime. For any requested object a change to any of the attributes will mean that all attributes will be returned, however each will have a ‘modified’ Boolean so that the caller knows which have been changed within the extract timeframe.
When an external data object is requested, if an operative has some of the external data attributes for that object defined, but not all of them, then only the attributes where the operative has a defined value will be returned. If an operative has no attributes for a particular object defined then the object is not returned for that operative (but there may be other objects returned if the request specified multiple objects)
For deletion records, these will be sent when an operative’s final posting has an end date added, and that end date now falls inside the time period defined by lastExtractTime.
Return Structure
The API returns a non-standard return structure.
Return Codes
In addition to the Standard Return Codes, the possible Return Codes from this API are: