Read Resources
get
/resource
Reads Resource objects from the database.
Request
Query Parameters
-
Fields(required): string
Fields to loadExample:
Name,ObjectId
-
Filter(required): string
Supported Filter Operators - :gt:, :lt:, :eq:, :gte:, :lte:, :and:, :or:Example:
ObjectId IN(1,2) :and: CreateDate:gte:'2021-04-20' :and: LastUpdateDate:lt:'2022-04-20' :and: Name :like: 'abc%'
-
OrderBy(required): string
OrderBy conditionExample:
ObjectId desc
Header Parameters
-
Authorization(required):
OAuth token
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK.
Root Schema : List<Resource>
Type:
array
Title:
Show Source
List<Resource>
-
Array of:
object Resource
Title:
Resource
Resource Entity
Nested Schema : Resource
Type:
object
Title:
Resource
Resource Entity
Show Source
-
AutoComputeActuals: boolean
-
CalculateCostFromUnits: boolean
-
CalendarName: string
-
CalendarObjectId: integer
(int32)
-
CreateDate: string
(date-time)
-
CreateUser: string
-
CurrencyId: string
-
CurrencyName: string
-
CurrencyObjectId: integer
(int32)
-
DefaultUnitsPerTime: number
(double)
-
EffectiveDate: string
(date-time)
-
EmailAddress: string
-
EmployeeId: string
-
GUID: string
-
Id: string
-
IntegratedType: string
-
IsActive: boolean
-
IsOverTimeAllowed: boolean
-
LastUpdateDate: string
(date-time)
-
LastUpdateUser: string
-
Latitude: number
(double)
-
LocationName: string
-
LocationObjectId: integer
(int32)
-
Longitude: number
(double)
-
MaxUnitsPerTime: number
(double)
-
Name: string
-
ObjectId: integer
(int32)
-
OfficePhone: string
-
OtherPhone: string
-
OvertimeFactor: number
(double)
-
ParentObjectId: integer
(int32)
-
PricePerUnit: number
(double)
-
PrimaryRoleId: string
-
PrimaryRoleName: string
-
PrimaryRoleObjectId: integer
(int32)
-
ResourceNotes: string
-
ResourceType: string
-
SequenceNumber: integer
(int32)
-
ShiftObjectId: integer
(int32)
-
TimesheetApprovalManager: string
-
TimesheetApprovalManagerObjectId: integer
(int32)
-
Title: string
-
UnitOfMeasureAbbreviation: string
-
UnitOfMeasureName: string
-
UnitOfMeasureObjectId: integer
(int32)
-
UserName: string
-
UserObjectId: integer
(int32)
-
UseTimesheets: boolean
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.