Update an expense distribution record
patch
/fscmRestApi/resources/11.13.18.05/expenses/{expensesUniqID}/child/ExpenseItemization/{ExpenseId2}/child/ExpenseItemizationDistribution/{ExpenseDistId}
Request
Path Parameters
-
ExpenseDistId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
ExpenseId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
expensesUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Expenses resource and used to uniquely identify an instance of Expenses. The client should not generate the hash key value. Instead, the client should query on the Expenses collection resource in order to navigate to a specific instance of Expenses to get the hash key.
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CodeCombinationId: integer
(int64)
Value that uniquely identifies the accounting code combination to which an expense is charged.
-
Company: string
Maximum Length:
25Company to which an expense is charged. -
CostCenter: string
Business organization to which an expense is charged.
-
ExpenseDistId: integer
(int64)
Value that uniquely identifies the expense distribution of a specific expense item.
-
ExpenseId(required): integer
(int64)
Value that uniquely identifies the expense for an expense distribution.
-
ExpenseReportId: integer
(int64)
Value that uniquely identifies the expense report that includes the expense corresponding to an expense distribution.
-
OrgId(required): integer
(int64)
Unique identifier of the user's organization for which the expense is created.
-
PJCDFF: array
Project Descriptive Flexfields
Title:
Project Descriptive FlexfieldsThe project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense. -
ReimbursableAmount: number
Amount to be reimbursed to the individual against an expense distribution.
Nested Schema : Project Descriptive Flexfields
Type:
arrayTitle:
Project Descriptive FlexfieldsThe project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense.
Show Source
Nested Schema : expenses-ExpenseItemization-ExpenseItemizationDistribution-PJCDFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:40Default Value:EXM_Expense_Report_LineDescriptive flexfield context name for projects on expense distribution. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
ExpenseDistId: integer
(int64)
Value that uniquely identifies the expense distribution of a specific expense item.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : expenses-ExpenseItemization-ExpenseItemizationDistribution-item-response
Type:
Show Source
object-
BusinessUnit: string
Title:
Business UnitRead Only:trueMaximum Length:240Business unit that is associated with a row. -
CodeCombinationId: integer
(int64)
Value that uniquely identifies the accounting code combination to which an expense is charged.
-
Company: string
Maximum Length:
25Company to which an expense is charged. -
CostCenter: string
Business organization to which an expense is charged.
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the row. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the row was created. -
ExpenseDistId: integer
(int64)
Value that uniquely identifies the expense distribution of a specific expense item.
-
ExpenseId: integer
(int64)
Value that uniquely identifies the expense for an expense distribution.
-
ExpenseReportId: integer
(int64)
Value that uniquely identifies the expense report that includes the expense corresponding to an expense distribution.
-
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the row was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who last updated the row. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Session login associated with the user who last updated the row. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrgId: integer
(int64)
Unique identifier of the user's organization for which the expense is created.
-
PJCDFF: array
Project Descriptive Flexfields
Title:
Project Descriptive FlexfieldsThe project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense. -
ReimbursableAmount: number
Amount to be reimbursed to the individual against an expense distribution.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Project Descriptive Flexfields
Type:
arrayTitle:
Project Descriptive FlexfieldsThe project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : expenses-ExpenseItemization-ExpenseItemizationDistribution-PJCDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:40Default Value:EXM_Expense_Report_LineDescriptive flexfield context name for projects on expense distribution. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
ExpenseDistId: integer
(int64)
Value that uniquely identifies the expense distribution of a specific expense item.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- PJCDFF
-
Parameters:
- ExpenseDistId3:
$request.path.ExpenseDistId3 - ExpenseId2:
$request.path.ExpenseId2 - expensesUniqID:
$request.path.expensesUniqID
The project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense. - ExpenseDistId3: