GetRecord
Allows you to get a Record with the help of a RecordRef.
Property
|
Type
|
Value
|
Credentials
|
Credentials
|
Authentication information
|
RecordRef
|
RecordRef
|
References the Record to be modified
|
GetRecordRequest
|
GetRecordResponse
The response contains the Record of the requested type.
Examples (Java):
// Retrieve a task
GetRecordRequest getRecordRequest = new GetRecordRequest();
getRecordRequest.setCredentials(credentials);
RecordRef ref = new RecordRef();
ref.setType(RecordType.TASK);
ref.setId(1L);
getRecordRequest.setRecordRef(ref);
Task task = (Task) progressionWebService.getRecord(getRecordRequest).getRecord();
// Retrieve a task’s signature
GetRecordRequest getRecordRequest = new GetRecordRequest();
getRecordRequest.setCredentials(credentials);
getRecordRequest.setRecordRef(task.getSignatureRef());
TaskSignature signature = (TaskSignature) progressionWebService.getRecord(getRecordRequest).getRecord();
|