Update one lot number flexfield
/fscmRestApi/resources/11.13.18.05/receivingReceiptTransactionRequests/{InterfaceTransactionId}/child/lotItemLots/{lotItemLotsUniqID}/child/lotNumbersDFF/{lotNumbersDFFUniqID}
Request
-
InterfaceTransactionId(required): integer(int64)
Value that uniquely identifies the interfaced receipt transaction line request.
-
lotItemLotsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Lots for Lot Items resource and used to uniquely identify an instance of Lots for Lot Items. The client should not generate the hash key value. Instead, the client should query on the Lots for Lot Items collection resource in order to navigate to a specific instance of Lots for Lot Items to get the hash key.
-
lotNumbersDFFUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Flexfields for Lot Numbers resource and used to uniquely identify an instance of Flexfields for Lot Numbers. The client should not generate the hash key value. Instead, the client should query on the Flexfields for Lot Numbers collection resource in order to navigate to a specific instance of Flexfields for Lot Numbers to get the hash key.
-
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.
- application/json
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. This attribute is applicable when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for lots. This attribute is applicable when the warehouse places the item under lot control. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
Response
- application/json
Default Response
-
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.
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. This attribute is applicable when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for lots. This attribute is applicable when the warehouse places the item under lot control. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
-
TransactionInterfaceId: integer
(int64)
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
- LVVO_V___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D401%2CBind_DescriptiveFlexfieldCode%3DINV_LOT_NUMBERS
The following properties are defined on the LOV link relation:- Source Attribute: __FLEX_Context_DisplayValue; Target Attribute: Name
- Display Attribute: Name, Description
- finder:
- LVVO___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D401%2CBind_DescriptiveFlexfieldCode%3DINV_LOT_NUMBERS
The following properties are defined on the LOV link relation:- Source Attribute: __FLEX_Context; Target Attribute: ContextCode
- Display Attribute: Name
- finder:
Examples
This example describes how to update one lot number flexfield.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/receivingReceiptTransactionRequests/InterfaceTransactionId/child/lotItemLots/CompositePrimaryKey/child/lotNumbersDFF/CompositePrimaryKey"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "newctxseg": "DBHctxseg" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "TransactionInterfaceId": 300100169542895, "LotNumber": "KK0927L1", "_BI_2DGlobSeg_2DLNum": null, "_zBIALotNumDFF": null, "newseg": "LND", "__FLEX_Context": "newctx", "__FLEX_Context_DisplayValue": "newctx", "newctxseg": "DBHctxseg", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/receivingReceiptTransactionRequests/300100169542894/child/lotItemLots/0002000000084B4B303932374C310000000EACED00057708000110F08400ACEF/child/lotNumbersDFF/00020000000EACED00057708000110F08400ACEF000000084B4B303932374C31", "name": "lotNumbersDFF", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/receivingReceiptTransactionRequests/300100169542894/child/lotItemLots/0002000000084B4B303932374C310000000EACED00057708000110F08400ACEF/child/lotNumbersDFF/00020000000EACED00057708000110F08400ACEF000000084B4B303932374C31", "name": "lotNumbersDFF", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/receivingReceiptTransactionRequests/300100169542894/child/lotItemLots/0002000000084B4B303932374C310000000EACED00057708000110F08400ACEF", "name": "lotItemLots", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/receivingReceiptTransactionRequests/300100169542894/child/lotItemLots/0002000000084B4B303932374C310000000EACED00057708000110F08400ACEF/child/lotNumbersDFF/00020000000EACED00057708000110F08400ACEF000000084B4B303932374C31/lov/LVVO___FLEX_Context", "name": "LVVO___FLEX_Context", "kind": "collection" } ] }