Get all transaction controls for a project

get

/fscmRestApi/resources/11.13.18.05/projects/{ProjectId}/child/ProjectTransactionControls

Request

Path Parameters
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
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds all project transaction controls with the specified project transaction control ID.
      Finder Variables:
      • TransactionControlId; integer; Identifier of the project transaction control.
    • findProjectTransactionControl: Finds all project transaction controls with the specified parameters such as expenditure category ID, expenditure type ID, person ID, job ID, and so on.
      Finder Variables:
      • FromDate; string; The date from which the project transaction control is effective.
      • ToDate; string; The date after which the transaction control is no longer effective.
      • bindExpenditureCategoryId; integer; Identifier of the expenditure category.
      • bindExpenditureTypeId; integer; Identifier of the expenditure type.
      • bindJobId; integer; Identifier of the job.
      • bindNonLaborResourceId; integer; Identifier of the nonlabor resource.
      • bindOrganizationId; integer; Identifier of the organization to which the person job belongs.
      • bindPersonId; integer; Identifier of the person.
      • bindSystemPersonType; string; The type used to classify the person in human resources. For example, the person type can be either employee or contingent worker. A list of accepted values - Employee or Contingent Worker - is defined in the lookup type PJC_PERSON_TYPE.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • 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
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • Billable; string; Indicates that transactions charged to the project can be billed to customers. This attribute is applicable for billable projects. A list of accepted values - N and T - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Billable or both of them. Default value is T.
    • BillableHint; string; Indicates that transactions charged to the project can be billed to customers. This attribute is applicable for billable projects. A list of accepted values - No and Task - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Billable Code or both of them. Default value is Task.
    • Capitalizable; string; Indicates the code for the capitalizable status of the transaction. This attribute is applicable for capital projects. A list of accepted values - N and T - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Capitalizable or both of them. Default value is T.
    • CapitalizableHint; string; Indicates the capitalizable status of the transaction. This attribute is applicable for capital projects. A list of accepted values - No and Task - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Capitalizable Code or both of them. Default value is Task.
    • Chargeable; string; Indicates that something is eligible to be charged to the project. A list of accepted values - Y and N - is defined in the lookup type PJC_YES_NO. You can enter either this attribute or Chargeable or both of them. Default value is N.
    • ChargeableHint; string; Indicates that something is eligible to be charged to the project. A list of accepted values - Yes and No - is defined in the lookup type PJC_YES_NO. You can enter either this attribute or Chargeable Code or both of them. Default value is No.
    • EmailAddress; string; Email address of the person. You can enter either this attribute, Person ID, Person Number, or Person Name, or a combination of these attributes.
    • EndDateActive; string; The date after which the transaction control is no longer effective.
    • ExpenditureCategoryId; integer; Identifier of the expenditure category. You can enter either this attribute or Expenditure Category or both of them.
    • ExpenditureCategoryName; string; A grouping of expenditure types by type of cost. For example, an expenditure category with a name such as Labor refers to the cost of labor. You can enter either this attribute or Expenditure Category ID or both of them.
    • ExpenditureTypeId; integer; Identifier of the expenditure type. You can enter either this attribute or Expenditure Type or both of them.
    • ExpenditureTypeName; string; A classification of cost that is assigned to each project cost transaction. Expenditure types are grouped into cost groups (expenditure categories) and revenue groups (revenue categories). You can enter either this attribute or Expenditure Type ID or both of them.
    • Job; string; The job that is being performed by the person that incurred the cost that was charged to the task. You can enter either this attribute or Job ID or both of them. You must enter at least one from among the Person Name, Person ID, Person Number, and Email attributes if you enter a value for this attribute.
    • JobId; integer; Identifier of the job. You can enter either this attribute or Job or both of them. You must enter at least one from among the Person Name, Person ID, Person Number, and Email attributes if you enter a value for this attribute.
    • NonLaborResourceId; integer; Identifier of the nonlabor resource. You can enter either this attribute or Nonlabor Resource or both of them.
    • NonLaborResourceName; string; An implementation defined asset or pool of assets. These assets may represent actual pieces of equipment whose time is consumed, or an asset whose output is consumed. For example, you can define a nonlabor resource with a name of Training Room to track the usage of a physical room and the associated costs. The actual usage of the room is tracked in hours. You can enter either this attribute or Nonlabor Resource ID or both of them.
    • Organization; string; The name of the organization to which the person job belongs. You can enter either this attribute or Organization ID or both of them. You must enter the person and job attributes if you enter a value for this attribute.
    • OrganizationId; integer; Identifier of the organization to which the person job belongs. You can enter either this attribute or Organization or both of them. You must enter the person and job attributes if you enter a value for this attribute.
    • PersonId; integer; Identifier of the person. You can enter either this attribute, Person Name, Person Number, or Email, or a combination of these attributes.
    • PersonName; string; The name of an individual human team member. You can enter either this attribute, Person ID, Person Number, or Email or a combination of these attributes.
    • PersonNumber; string; Number that uniquely identifies a person. This number refers to the Fusion HCM specific identifier that uniquely identifies a person in the application, regardless of their relationship to the enterprise. It does not have any relation to any national identifier component. You can enter either this attribute, Person ID, Person Name, or Email, or a combination of these attributes.
    • PersonType; string; Indicates the code of the type used to classify the person in human resources. For example, the person type can be either employee or contingent worker. A list of accepted values - EMP and CWK - is defined in the lookup type PJF_PERSON_TYPE. You can enter either this attribute or Person Type or both of them.
    • PersonTypeHint; string; The type used to classify the person in human resources. For example, the person type can be either employee or contingent worker. A list of accepted values - Employee and Contingent Worker - is defined in the lookup type PJF_PERSON_TYPE. You can enter either this attribute or Person Type Code or both of them.
    • ProjectId; integer; Identifier of the project. Default value is the identifier of the project for which the transaction control is created.
    • RuleNumber; integer; Identifier of the transaction control within a project or task. Default value is the successor of the maximum existing rule number.
    • StartDateActive; string; The date from which the transaction control is effective. Default value is the project start date.
    • TransactionControlId; integer; Identifier of the transaction control.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
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 : projects-ProjectTransactionControls
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : projects-ProjectTransactionControls-item-response
Type: object
Show Source
  • Title: Billable Code
    Maximum Length: 1
    Indicates that transactions charged to the project can be billed to customers. This attribute is applicable for billable projects. A list of accepted values - N and T - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Billable or both of them. Default value is T.
  • Title: Billable
    Maximum Length: 80
    Indicates that transactions charged to the project can be billed to customers. This attribute is applicable for billable projects. A list of accepted values - No and Task - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Billable Code or both of them. Default value is Task.
  • Title: Capitalizable Code
    Maximum Length: 1
    Indicates the code for the capitalizable status of the transaction. This attribute is applicable for capital projects. A list of accepted values - N and T - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Capitalizable or both of them. Default value is T.
  • Title: Capitalizable
    Maximum Length: 80
    Indicates the capitalizable status of the transaction. This attribute is applicable for capital projects. A list of accepted values - No and Task - is defined in the lookup type PJC_BILLABLE_INDICATOR. You can enter either this attribute or Capitalizable Code or both of them. Default value is Task.
  • Title: Chargeable Code
    Maximum Length: 1
    Indicates that something is eligible to be charged to the project. A list of accepted values - Y and N - is defined in the lookup type PJC_YES_NO. You can enter either this attribute or Chargeable or both of them. Default value is N.
  • Title: Chargeable
    Maximum Length: 80
    Indicates that something is eligible to be charged to the project. A list of accepted values - Yes and No - is defined in the lookup type PJC_YES_NO. You can enter either this attribute or Chargeable Code or both of them. Default value is No.
  • Title: Email
    Maximum Length: 240
    Email address of the person. You can enter either this attribute, Person ID, Person Number, or Person Name, or a combination of these attributes.
  • Title: To Date
    The date after which the transaction control is no longer effective.
  • Title: Expenditure Category ID
    Identifier of the expenditure category. You can enter either this attribute or Expenditure Category or both of them.
  • Title: Expenditure Category
    Maximum Length: 240
    A grouping of expenditure types by type of cost. For example, an expenditure category with a name such as Labor refers to the cost of labor. You can enter either this attribute or Expenditure Category ID or both of them.
  • Title: Expenditure Type ID
    Identifier of the expenditure type. You can enter either this attribute or Expenditure Type or both of them.
  • Title: Expenditure Type
    Maximum Length: 240
    A classification of cost that is assigned to each project cost transaction. Expenditure types are grouped into cost groups (expenditure categories) and revenue groups (revenue categories). You can enter either this attribute or Expenditure Type ID or both of them.
  • Title: Job
    Maximum Length: 240
    The job that is being performed by the person that incurred the cost that was charged to the task. You can enter either this attribute or Job ID or both of them. You must enter at least one from among the Person Name, Person ID, Person Number, and Email attributes if you enter a value for this attribute.
  • Title: Job ID
    Identifier of the job. You can enter either this attribute or Job or both of them. You must enter at least one from among the Person Name, Person ID, Person Number, and Email attributes if you enter a value for this attribute.
  • Links
  • Title: Nonlabor Resource ID
    Identifier of the nonlabor resource. You can enter either this attribute or Nonlabor Resource or both of them.
  • Title: Nonlabor Resource
    Maximum Length: 240
    An implementation defined asset or pool of assets. These assets may represent actual pieces of equipment whose time is consumed, or an asset whose output is consumed. For example, you can define a nonlabor resource with a name of Training Room to track the usage of a physical room and the associated costs. The actual usage of the room is tracked in hours. You can enter either this attribute or Nonlabor Resource ID or both of them.
  • Title: Organization
    Maximum Length: 240
    The name of the organization to which the person job belongs. You can enter either this attribute or Organization ID or both of them. You must enter the person and job attributes if you enter a value for this attribute.
  • Title: Organization ID
    Identifier of the organization to which the person job belongs. You can enter either this attribute or Organization or both of them. You must enter the person and job attributes if you enter a value for this attribute.
  • Title: Person ID
    Identifier of the person. You can enter either this attribute, Person Name, Person Number, or Email, or a combination of these attributes.
  • Title: Person Name
    Maximum Length: 240
    The name of an individual human team member. You can enter either this attribute, Person ID, Person Number, or Email or a combination of these attributes.
  • Title: Person Number
    Maximum Length: 30
    Number that uniquely identifies a person. This number refers to the Fusion HCM specific identifier that uniquely identifies a person in the application, regardless of their relationship to the enterprise. It does not have any relation to any national identifier component. You can enter either this attribute, Person ID, Person Name, or Email, or a combination of these attributes.
  • Title: Person Type Code
    Maximum Length: 20
    Indicates the code of the type used to classify the person in human resources. For example, the person type can be either employee or contingent worker. A list of accepted values - EMP and CWK - is defined in the lookup type PJF_PERSON_TYPE. You can enter either this attribute or Person Type or both of them.
  • Title: Person Type
    Maximum Length: 80
    The type used to classify the person in human resources. For example, the person type can be either employee or contingent worker. A list of accepted values - Employee and Contingent Worker - is defined in the lookup type PJF_PERSON_TYPE. You can enter either this attribute or Person Type Code or both of them.
  • Title: Project ID
    Read Only: true
    Identifier of the project. Default value is the identifier of the project for which the transaction control is created.
  • Title: Rule Number
    Read Only: true
    Identifier of the transaction control within a project or task. Default value is the successor of the maximum existing rule number.
  • Title: From Date
    The date from which the transaction control is effective. Default value is the project start date.
  • Title: Transaction Control ID
    Read Only: true
    Identifier of the transaction control.
Back to Top

Examples

The following example shows how to get all the transaction controls of a project by submitting a GET request on the REST resource using cURL.

curl --user ppm_cloud_user https://your_organization.com:port/fscmRestApi/resources/11.13.0.0/projects/100000016918492/child/ProjectTransactionControls

Example of Response Body

The following example shows the contents of the response body in JSON format, including the total number of team members assigned to the project with project ID 100000016918492.

{
"items": [
  {
"Billable": "T",
"Chargeable": "Y",
"EndDateActive": "2018-12-28",
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"Job": null,
"JobId": null,
"NonLaborResourceId": null,
"NonLaborResourceName": null,
"Organization": null,
"OrganizationId": null,
"PersonId": 300100018520271,
"PersonName": "Jay, Alan",
"PersonType": null,
"ProjectId": 100000016918492,
"StartDateActive": "2013-12-22",
"TransactionControlId": 300100111103363,
},
  {
"Billable": "T",
"Chargeable": "Y",
"EndDateActive": "2009-09-01",
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"Job": null,
"JobId": null,
"NonLaborResourceId": null,
"NonLaborResourceName": null,
"Organization": null,
"OrganizationId": null,
"PersonId": 300100018520271,
"PersonName": "Jay, Alan",
"PersonType": null,
"ProjectId": 100000016918492,
"StartDateActive": "2008-10-01",
"TransactionControlId": 300100111103399,
}
],
}
Back to Top