Get all project enterprise labor resources

get

/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/{projectEnterpriseLaborResourcesUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Project Enterprise Labor Resources resource and used to uniquely identify an instance of Project Enterprise Labor Resources. The client should not generate the hash key value. Instead, the client should query on the Project Enterprise Labor Resources collection resource in order to navigate to a specific instance of Project Enterprise Labor Resources to get the hash key.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : projectEnterpriseLaborResources-item-response
Type: object
Show Source
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Title: Bill Rate
    The amount paid to a business by its customer for a unit of work completed by the project enterprise resource.
  • Title: Bill Rate Currency Code
    Maximum Length: 15
    Code of the currency used to define the bill rate of the project enterprise resource. If no value is passed, the default value is set to the Default Currency field value from the Project Management Implementation Options setup page.
  • Title: Calendar ID
    Identifier of the calendar that establishes the normal working days, hours, and exceptions for a project enterprise resource. If no value is passed, the default value is set to the Resource Calendar field value from the Project Management Implementation Options setup page.
  • Title: Calendar
    Name of the calendar that establishes the normal working days, hours, and exceptions for a project enterprise resource.
  • Title: Cost Rate
    The cost of a unit of work by the project enterprise resource.
  • Title: Cost Rate Currency Code
    Maximum Length: 15
    Code of the currency used to define the cost rate of the project enterprise resource. If no value is passed, the default value is set to the Default Currency field value from the Project Management Implementation Options setup page.
  • Title: Email
    Maximum Length: 240
    Email address of the project enterprise resource. Mandatory for POST operation if the resource isn't created from an existing HCM person.
  • Title: External ID
    Maximum Length: 240
    Identifier of the project enterprise resource in the external application.
  • Title: First Name
    Maximum Length: 150
    First name of the project enterprise resource. In POST operation, if the resource isn't created from an existing HCM person, then either pass First Name and Last Name or the Resource Name.
  • Title: From Date
    The date from which you can assign the project enterprise resource to a project.
  • Title: HCM Person
    Maximum Length: 240
    Name of the person in HCM for the project enterprise resource.
  • Title: Person Number
    Read Only: true
    Maximum Length: 30
    Number of the HCM person associated with the project enterprise resource.
  • Title: Last Name
    Maximum Length: 150
    Last name of the project enterprise resource. In POST operation, if the resource isn't created from an existing HCM person, then either pass First Name and Last Name or the Resource Name.
  • Links
  • Title: Manager Email
    Maximum Length: 240
    Email address of the person who is the manager of the project enterprise resource.
  • Title: Manage Resource Staffing Indicator
    Maximum Length: 1
    Indicates whether the project enterprise resource is eligible for staffing. The valid values are Y and N.
  • Title: Manager ID
    Identifier of the person who is the manager of the project enterprise resource.
  • Title: Manager
    Maximum Length: 240
    Name of the person who is the manager of the project enterprise resource.
  • Project Enterprise Resource HCM Assignment Details
    Title: Project Enterprise Resource HCM Assignment Details
    The Project Enterprise Resource HCM Assignment Details resource is used to view primary HCM assignment details such as business unit, organization, job, or manager related to the enterprise labor resource.
  • Title: Person ID
    Identifier of the HCM person associated with the project enterprise resource. You can provide the Person ID or the Person Number in the POST operation to create a resource from an existing HCM person. Person ID takes precedence over Person Number.
  • Title: Person Number
    Unique number of the person associated with the project enterprise resource. You can provide the Person ID or the Person Number in the POST operation to create a resource from an existing HCM person. Person ID takes precedence over Person Number.
  • Title: Phone
    Maximum Length: 240
    The phone number of the project enterprise resource.
  • Title: Membership From Date
    Start date of the resource pool membership for the project enterprise resource. You can pass a value only if ManageResourceScheduleFlag is passed as Y. The default value is set to system date if no value is passed.
  • Title: Resource Pool
    Read Only: true
    Maximum Length: 240
    Name of the resource pool associated to the project enterprise resource.
  • Title: Primary Project Role ID
    Default Value: 13
    Identifier of the primary role for the project enterprise resource.
  • Title: Primary Project Role
    Maximum Length: 240
    Name of the primary role for the project enterprise resource.
  • Project Enterprise Resource Image
    Title: Project Enterprise Resource Image
    The Project Enterprise Resource Image is used to view and create project enterprise resource image.
  • Title: Project ID
    Identifier of the project associated to the project enterprise resource.
  • Title: Project Name
    Read Only: true
    Maximum Length: 240
    Name of the project associated to the project enterprise resource.
  • Project Enterprise Resource Calendars
    Title: Project Enterprise Resource Calendars
    The Project Enterprise Resource Calendars resource is used to view calendars of a Project Enterprise Resource which are single workday pattern and single shift. A calendar is used when scheduling or staffing a Project Enterprise Resource.
  • Title: Resource ID
    Identifier of the project enterprise resource.
  • Title: Resource Name
    Maximum Length: 240
    Name of the project enterprise resource. Mandatory for POST operation if the resource isn't created from an existing HCM person and if First Name and Last Name are not populated.
  • Title: Resource Pool ID
    Identifier of the resource pool for the resource pool membership. You can pass a value only if ManageResourceScheduleFlag is passed as Y. The default value is set to Resources with No Pool Membership if no resource pool ID is passed.
  • Project Enterprise Resource Pool Membership
    Title: Project Enterprise Resource Pool Membership
    The Project Enterprise Resource Pool Membership resource is used to view resource pools where the Project Enterprise Resource has present, past, or future memberships.
  • Title: Resource Pool
    Name of the resource pool for the resource pool membership.
  • Title: To Date
    The last date that you can assign the project enterprise resource to a project.
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Project Enterprise Resource HCM Assignment Details
Type: array
Title: Project Enterprise Resource HCM Assignment Details
The Project Enterprise Resource HCM Assignment Details resource is used to view primary HCM assignment details such as business unit, organization, job, or manager related to the enterprise labor resource.
Show Source
Nested Schema : Project Enterprise Resource Image
Type: array
Title: Project Enterprise Resource Image
The Project Enterprise Resource Image is used to view and create project enterprise resource image.
Show Source
Nested Schema : Project Enterprise Resource Calendars
Type: array
Title: Project Enterprise Resource Calendars
The Project Enterprise Resource Calendars resource is used to view calendars of a Project Enterprise Resource which are single workday pattern and single shift. A calendar is used when scheduling or staffing a Project Enterprise Resource.
Show Source
Nested Schema : Project Enterprise Resource Pool Membership
Type: array
Title: Project Enterprise Resource Pool Membership
The Project Enterprise Resource Pool Membership resource is used to view resource pools where the Project Enterprise Resource has present, past, or future memberships.
Show Source
Nested Schema : projectEnterpriseLaborResources-Attachments-item-response
Type: object
Show Source
Nested Schema : projectEnterpriseLaborResources-PersonAssignmentDetails-item-response
Type: object
Show Source
Nested Schema : projectEnterpriseLaborResources-ProjectEnterpriseResourceImage-item-response
Type: object
Show Source
Nested Schema : projectEnterpriseLaborResources-ResourceCalendars-item-response
Type: object
Show Source
  • Title: Active Indicator
    Read Only: true
    Indicates if the calendar is active.
  • Project Enterprise Resource Calendar Exceptions
    Title: Project Enterprise Resource Calendar Exceptions
    The Project Enterprise Resource Calendar Exceptions resource is used to view exceptions on a calendar. A calendar exception is used to define holidays or exceptional working days on a weekend. A calendar could have many exceptions.
  • Title: Calendar ID
    Read Only: true
    Unique identifier of the calendar.
  • Title: Calendar Category Code
    Read Only: true
    Maximum Length: 30
    The category used for the calendar.
  • Title: Calendar Description
    Read Only: true
    Maximum Length: 2000
    Description of the calendar.
  • Title: Effective from Date
    Read Only: true
    The date from which the calendar is effective.
  • Title: Effective to Date
    Read Only: true
    The inclusive last date of the effectivity of the calendar.
  • Title: First Day of Week for Calendar
    Read Only: true
    The index of the first day in the week: 1 for Sunday, 2 for Monday, 3 for Tuesday, and so on. The default value is 2.
  • Title: Friday Work Indicator
    Read Only: true
    Indicates if Fridays are workable. True if it's workable, False if it's not.
  • Title: Hours per Day
    Read Only: true
    Number of working hours in a day. Value depends on the number of hours in the shift.
  • Links
  • Title: Monday Work Indicator
    Read Only: true
    Indicates if Mondays are workable. True if it is workable, False if it is not.
  • Title: Name
    Read Only: true
    Maximum Length: 240
    Name of the calendar.
  • Title: Quarterly Type Code
    Read Only: true
    Maximum Length: 30
    Indicates the quarter type of the calendar.
  • Title: Saturday Work Indicator
    Read Only: true
    Indicates if Saturdays are workable. True if it is workable, False if it is not.
  • Title: Sunday Work Indicator
    Read Only: true
    Indicates if Sundays are workable. True if it is workable, False if it is not.
  • Title: Thursday Work Indicator
    Read Only: true
    Indicates if Thursdays are workable. True if it is workable, False if it is not.
  • Title: Tuesday Work Indicator
    Read Only: true
    Indicates if Tuesdays are workable. True if it is workable, False if it is not.
  • Title: Wednesday Work Indicator
    Read Only: true
    Indicates if Wednesdays are workable. True if it is workable, False if it is not.
Nested Schema : Project Enterprise Resource Calendar Exceptions
Type: array
Title: Project Enterprise Resource Calendar Exceptions
The Project Enterprise Resource Calendar Exceptions resource is used to view exceptions on a calendar. A calendar exception is used to define holidays or exceptional working days on a weekend. A calendar could have many exceptions.
Show Source
Nested Schema : projectEnterpriseLaborResources-ResourceCalendars-CalendarExceptions-item-response
Type: object
Show Source
  • Title: All Day Exception Indicator
    Read Only: true
    Maximum Length: 1
    Default Value: true
    Indicates if the calendar exception is for the whole day.
  • Title: Calendar Exception Category Code
    Read Only: true
    Maximum Length: 30
    Category code in which the exception falls.
  • Title: Calendar Exception Code
    Read Only: true
    Maximum Length: 3
    Code to identify the exception.
  • Title: Calendar Exception Description
    Read Only: true
    Maximum Length: 2000
    Description of the exception.
  • Title: Calendar Exception End Date
    Read Only: true
    The inclusive end date of the calendar exception. Value contains time component if the exception is not for all day long.
  • Title: Calendar Exception ID
    Read Only: true
    Unique identifier of the exception in the calendar.
  • Links
  • Title: Calendar Exception Name
    Read Only: true
    Maximum Length: 240
    Name of the exception.
  • Title: Calendar Exception Period Type
    Read Only: true
    Maximum Length: 30
    Indicates if the calendar exception is a workable period or not. Valid values are OFF_PERIOD and WORK_PERIOD.
  • Title: Calendar Exception Start Date
    Read Only: true
    The date on which the calendar exception begins. Value contains time component if the exception is not for all day long.
Nested Schema : projectEnterpriseLaborResources-ResourcePoolMembership-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to get a project enterprise labor resource invoices by submitting a GET request on the REST resource using cURL. Keep in mind that the path parameter is a hash key which consists of ResourceId and PoolAssignmentId.

curl --user ppm_cloud_user https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01

Example of Response Body

The following shows an example of the response body in JSON format.

{
  "ResourceId": 300100023180799,
  "PersonId": 100100004278102,
  "PersonNumber": "100004278102",
  "HCMPersonName": "George White",
  "FirstName": null,
  "LastName": null,
  "ResourceName": "George White",
  "Email": "prj_george_white_in_grp@oracle.com",
  "FromDate": null,
  "ToDate": null,
  "PhoneNumber": null,
  "ManagerId": null,
  "ManagerName": null,
  "ManagerEmail": null,
  "CalendarId": 300100010293735,
  "CalendarName": "PJT Standard US Calendar",
  "PrimaryProjectRoleId": 300100025498083,
  "PrimaryProjectRoleName": "Oracle DBA",
  "BillRate": null,
  "BillRateCurrencyCode": null,
  "CostRate": null,
  "CostRateCurrencyCode": null,
  "ManageResourceStaffingFlag": true,
  "ResourcePoolId": 300100023181117,
  "ResourcePoolName": "QA BAT Resource Pool 1",
  "PoolMembershipFromDate": "2013-08-13",
  "ProjectId": null,
  "ProjectName": null,
  "ExternalId": null,
  "links": [
    {
      "rel": "self",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01",
      "name": "projectEnterpriseLaborResources",
      "kind": "item",
      "properties": {
        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000027704000000027372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C71007E000378"
      }
    },
    {
      "rel": "canonical",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01",
      "name": "projectEnterpriseLaborResources",
      "kind": "item"
    },
    {
      "rel": "lov",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/lov/ProjectsHcmPersonVVO1",
      "name": "ProjectsHcmPersonVVO1",
      "kind": "collection"
    },
    {
      "rel": "lov",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/lov/ProjectRolePVO1",
      "name": "ProjectRolePVO1",
      "kind": "collection"
    },
    {
      "rel": "lov",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/lov/EnterpriseResourcePVO1",
      "name": "EnterpriseResourcePVO1",
      "kind": "collection"
    },
    {
      "rel": "lov",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/lov/CurrencyPVO1",
      "name": "CurrencyPVO1",
      "kind": "collection"
    },
    {
      "rel": "lov",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/lov/PjtSchedulesPVO1",
      "name": "PjtSchedulesPVO1",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectEnterpriseLaborResources/00020000000EACED00057708000110F07B475DFF0000000EACED00057708000110F07B475E01/child/ProjectEnterpriseResourceImage",
      "name": "ProjectEnterpriseResourceImage",
      "kind": "collection"
    }
  ]
}
Back to Top