ExportResources
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request
The service request contains:
Name | Data Type | Required? | Default Value | Discussion |
---|---|---|---|---|
EffectiveDate | date | no | today | Export resource data as of this date. In other words, the export includes the resources' titles, locations, etc. as of this date. Also, if IncludeInactiveFlag is false, then only resources active as of this date are exported. |
IncludeInactiveFlag | boolean | no | false | If false then inactive resources are not exported. |
MaxRowsToReturn | int | yes | 1000 | The maximum number of cards to be exported. Values greater than 1000 may fail due to system-enforced transaction time limits. |
IncludeResourceIdsAfter | int | no | Export is limited to resources whose internal Projector ID comes after this ID. To avoid skipping or duplicating exported items set this to the last ResourceId from the previous result set. | |
OnlyCountRows | boolean | no | false | If true, then only the RowCount is returned. |
Response
For each resource in the result set the following data is returned:
Name | Data Type | Discussion |
---|---|---|
ResourceId | int | Projector's internal identifier for the resourse. This is used only to avoid skipping or duplicating exported resources. |
LastName | string | |
FirstName | string | |
MiddleName | string | |
DisplayName | string | |
Initials | string | |
EmployeeId | string | This is the resource's reference system ID. |
EmailAddress | string | |
VendorId | string | |
TimeCardApprovalFlag | boolean | |
TimeCardApprovalUserEmployeeId | string | |
TimeCardApprovalUserDisplayName | string | |
ExpenseApprovalUserEmployeeId | string | |
ExpenseApprovalUserDisplayName | string | |
CostCenterName | string | |
LocationName | string | |
DepartmentName | string | |
TitleName | string | |
BillableFlag | boolean | |
TemporaryWorkerFlag | boolean | |
ExceptionRdcHourlyRate | double | |
ExceptionRdcCurrencyCode | string | |
ResourceInactiveFlag | boolean | |
UserInactiveFlag | boolean | |
UserProjectManagerFlag | boolean | |
PayCategory | string | "S" = Salaried, "H" = Hourly, "O" = Salaried with overtime |
DisbursingCurrencyCode | string | |
ResourceUdfs | list of ResourceUdf | |
ResourceTypeUid | long | |
ResourceTypeName | string(50) | |
ResourceTypeCode | string(20) |
Changelog
4.4
Parameter | Notes |
---|---|
ResourceTypeUid | Added as a response parameter |
ResourceTypeName | Added as a response parameter |
ResourceTypeCode | Added as a response parameter |