Update one line type
patch
/fscmRestApi/resources/11.13.18.05/purchasingLineTypes/{LineTypeId}
Request
Path Parameters
-
LineTypeId(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=
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-
DefaultCategoryId: integer
(int64)
Title:
Default Category IDValue that uniquely identifies the default category. -
DefaultInvoiceMatchOption: string
Title:
Default Invoice Match OptionMaximum Length:80Name of the default invoice match option. -
DefaultInvoiceMatchOptionCode: string
Title:
Default Invoice Match Option CodeMaximum Length:25Abbreviation that identifies the default invoice match option. -
DefaultMatchApprovalLevelCode: string
Title:
Default Match Approval Level CodeMaximum Length:255Abbreviation that identifies the match approval level. -
DefaultReceiptCloseTolerancePercent: number
Title:
Default Receipt Close Tolerance PercentDefault value for the permissible variance between the anticipated amount of goods or services and the actual amount delivered. -
DefaultUOMCode: string
Title:
Default UOM CodeMaximum Length:3Abbreviation that identifies the default unit of measure. -
DFF: array
DFF
-
EndDate: string
(date)
Title:
End DateDate after which the line type is no longer valid. -
LineType: string
Title:
Line TypeMaximum Length:30Name that uniquely identifies the purchasing line type. -
LineTypeDescription: string
Title:
DescriptionMaximum Length:240Description of the purchasing line type. -
ProductType: string
Title:
Product TypeMaximum Length:80Name of the product type. -
ProductTypeCode: string
Title:
Product Type CodeMaximum Length:30Default Value:GOODSAbbreviation that identifies the product type.
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context PromptMaximum Length:30Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt
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 : purchasingLineTypes-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the line type. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the purchasing line type was created. -
CreditLineFlag: boolean
Title:
Credit LineMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, the credit line type is enabled for this line type. If false, the credit line type isn't enabled for this line type. -
DefaultCategory: string
Title:
Default CategoryRead Only:trueMaximum Length:2400Name of the default category. -
DefaultCategoryId: integer
(int64)
Title:
Default Category IDValue that uniquely identifies the default category. -
DefaultInvoiceMatchOption: string
Title:
Default Invoice Match OptionMaximum Length:80Name of the default invoice match option. -
DefaultInvoiceMatchOptionCode: string
Title:
Default Invoice Match Option CodeMaximum Length:25Abbreviation that identifies the default invoice match option. -
DefaultMatchApprovalLevel: string
Title:
Default Match Approval LevelRead Only:trueMaximum Length:255Name of the default match approval level. -
DefaultMatchApprovalLevelCode: string
Title:
Default Match Approval Level CodeMaximum Length:255Abbreviation that identifies the match approval level. -
DefaultReceiptCloseTolerancePercent: number
Title:
Default Receipt Close Tolerance PercentDefault value for the permissible variance between the anticipated amount of goods or services and the actual amount delivered. -
DefaultUOM: string
Title:
Default UOMRead Only:trueMaximum Length:25Name of the default unit of measure. -
DefaultUOMCode: string
Title:
Default UOM CodeMaximum Length:3Abbreviation that identifies the default unit of measure. -
DFF: array
DFF
-
EndDate: string
(date)
Title:
End DateDate after which the line type is no longer valid. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the line type. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the line type. -
LineType: string
Title:
Line TypeMaximum Length:30Name that uniquely identifies the purchasing line type. -
LineTypeCode: string
Title:
Line Type CodeMaximum Length:30Abbreviation that identifies the purchasing line type. -
LineTypeDescription: string
Title:
DescriptionMaximum Length:240Description of the purchasing line type. -
LineTypeId: integer
(int64)
Title:
Line Type IDRead Only:trueValue that uniquely identifies the purchasing line type. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProductType: string
Title:
Product TypeMaximum Length:80Name of the product type. -
ProductTypeCode: string
Title:
Product Type CodeMaximum Length:30Default Value:GOODSAbbreviation that identifies the product type. -
PurchaseBasis: string
Title:
Purchase BasisMaximum Length:80Name of the purchase basis lookup type. -
PurchaseBasisCode: string
Title:
Purchase Basis CodeMaximum Length:30Default Value:GOODSAbbreviation that identifies the purchase basis lookup type.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : purchasingLineTypes-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context PromptMaximum Length:30Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt -
LineTypeId: integer
(int64)
-
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
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.
Links
- DFF
-
Parameters:
- LineTypeId:
$request.path.LineTypeId
- LineTypeId: