Create one packing unit
/fscmRestApi/resources/11.13.18.05/packingUnits
Request
-
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
- application/json
object-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource manages the attachments associated with the packing unit resource. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
contents: array
Contents
Title:
ContentsThe Contents resource manages the operations on packing unit contents. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
nestedPackingUnits: array
Nested Packing Units
Title:
Nested Packing UnitsThe Nested Packing Units resources manages the operations on nested packing units. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
NotesThe Notes resource gets comments, information, or instructions for packing units. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId(required): integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnit(required): string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext(required): string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
packingUnitDFFs: array
Flexfields for Packing Units
Title:
Flexfields for Packing UnitsThe Flexfields for Packing Units resource manages the descriptive flexfields for packing units. -
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
arrayAttachmentsarrayContentsarrayNested Packing UnitsarrayNotesarrayFlexfields for Packing Unitsobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that's identified by the MODULE_ID. The attribute isn't currently used by the Packing Units resource. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL.
object-
InventoryItemId(required): integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240Description of the content item. -
LotNumber: string
Maximum Length:
80Lot number of the container item, if container item is under lot control. -
OrganizationId(required): integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18Revision of the container item, if it's under revision control. -
serials: array
serials
-
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the content item.
object-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
AttachmentsThe attachments resource is used to view, create, and update attachments. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
contents: array
contents
-
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
nestedPackingUnits: array
nestedPackingUnits
-
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
NotesThe note objects resource is used to view the note objects. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId(required): integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnit(required): string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext(required): string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
packingUnitDFFs: array
packingUnitDFFs
-
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
arrayAttachmentsarrayNotesobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that's identified by the MODULE_ID. The attribute isn't currently used by the Packing Units resource. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL.
object-
InventoryItemId(required): integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240Description of the content item. -
LotNumber: string
Maximum Length:
80Lot number of the container item, if container item is under lot control. -
OrganizationId(required): integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18Revision of the container item, if it's under revision control. -
serials: array
serials
-
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the content item.
objectobject-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnit: string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
object-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship IDValue that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource. -
CreatorPartyId: integer
(int64)
Title:
Creator Party IDValue that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate TypeMaximum Length:30Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource. -
NoteNumber: string
Maximum Length:
30The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
TitleMaximum Length:500The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
NoteText of the actual note. -
NoteTypeCode: string
Title:
TypeMaximum Length:30Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note IDValue that uniquely identifies the parent note. -
SourceObjectCode: string
Title:
Related Object TypeMaximum Length:30Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related ObjectMaximum Length:64Value that uniquely identifies the packing unit. -
VisibilityCode: string
Title:
PrivateMaximum Length:30Default Value:INTERNALAbbreviation that identifies the visibility level of the note.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
object-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship IDValue that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource. -
CreatorPartyId: integer
(int64)
Title:
Creator Party IDValue that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate TypeMaximum Length:30Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource. -
NoteNumber: string
Maximum Length:
30The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
TitleMaximum Length:500The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
NoteText of the actual note. -
NoteTypeCode: string
Title:
TypeMaximum Length:30Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note IDValue that uniquely identifies the parent note. -
SourceObjectCode: string
Title:
Related Object TypeMaximum Length:30Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related ObjectMaximum Length:64Value that uniquely identifies the packing unit. -
VisibilityCode: string
Title:
PrivateMaximum Length:30Default Value:INTERNALAbbreviation that identifies the visibility level of the note.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
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-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource manages the attachments associated with the packing unit resource. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit container volume. -
contents: array
Contents
Title:
ContentsThe Contents resource manages the operations on packing unit contents. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
nestedPackingUnits: array
Nested Packing Units
Title:
Nested Packing UnitsThe Nested Packing Units resources manages the operations on nested packing units. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
NotesThe Notes resource gets comments, information, or instructions for packing units. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
trueMaximum Length:255Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
packingUnitDFFs: array
Flexfields for Packing Units
Title:
Flexfields for Packing UnitsThe Flexfields for Packing Units resource manages the descriptive flexfields for packing units. -
PackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
trueMaximum Length:255Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
arrayAttachmentsarrayContentsarrayLinksarrayNested Packing UnitsarrayNotesarrayFlexfields for Packing Unitsobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attachment. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueLogin that the user used when creating the document. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attachment record. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueLogin that the user used when updating the document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that's identified by the MODULE_ID. The attribute isn't currently used by the Packing Units resource. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Login that the user used when adding or modifying the attachment.
arrayLinksobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object-
InventoryItemId: integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240Description of the content item. -
ItemNumber: string
Read Only:
trueMaximum Length:255Number that identifies the content item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Lot number of the container item, if container item is under lot control. -
OrganizationCode: string
Read Only:
trueMaximum Length:255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18Revision of the container item, if it's under revision control. -
serials: array
Serials
Title:
SerialsThe Serials resource manages the operations on serials. -
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the content item. -
UOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the content item.
arrayLinksarraySerialsobject-
CurrentStatus: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the current status of the serial number of the content item. -
CurrentStatusMeaning: string
Read Only:
trueMaximum Length:80Description of the current status of the serial number of the content item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SerialNumber: string
Read Only:
trueMaximum Length:80Serial number of the container item, if container item is under serial control.
arrayLinksobject-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource manages the attachments associated with the packing unit resource. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit container volume. -
contents: array
Contents
Title:
ContentsThe Contents resource manages the operations on packing unit contents. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
nestedPackingUnits: array
Nested Packing Units
Title:
Nested Packing UnitsThe Nested Packing Units resources manages the operations on nested packing units. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the net weight of the packing unit. -
notes: array
Notes
Title:
NotesThe Notes resource gets comments, information, or instructions for packing units. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
trueMaximum Length:255Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
packingUnitDFFs: array
Flexfields for Packing Units
Title:
Flexfields for Packing UnitsThe Flexfields for Packing Units resource manages the descriptive flexfields for packing units. -
PackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
trueMaximum Length:255Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
arrayAttachmentsarrayContentsarrayLinksarrayNested Packing UnitsarrayNotesarrayFlexfields for Packing Unitsobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attachment. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueLogin that the user used when creating the document. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attachment record. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON-formatted string containing information required to programmatically retrieve a large file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. This will be populated only where attachment type is file. This is the reference to the file uploaded in the Oracle WebCenter Content server. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueLogin that the user used when updating the document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) appended to the base URI derived from the endpoint associated with application that's identified by the MODULE_ID. The attribute isn't currently used by the Packing Units resource. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) that locates the attachment. This will be populated only for attachment type as URL. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Login that the user used when adding or modifying the attachment.
arrayLinksobject-
InventoryItemId: integer
(int64)
Value that uniquely identifies the content item.
-
ItemDescription: string
Maximum Length:
240Description of the content item. -
ItemNumber: string
Read Only:
trueMaximum Length:255Number that identifies the content item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Lot number of the container item, if container item is under lot control. -
OrganizationCode: string
Read Only:
trueMaximum Length:255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
PackingUnitContentId: integer
(int64)
Value that uniquely identifies the packing unit content.
-
Quantity: number
Quantity of the content item.
-
Revision: string
Maximum Length:
18Revision of the container item, if it's under revision control. -
serials: array
Serials
Title:
SerialsThe Serials resource manages the operations on serials. -
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the content item. -
UOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the content item.
arrayLinksarraySerialsobject-
CurrentStatus: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the current status of the serial number of the content item. -
CurrentStatusMeaning: string
Read Only:
trueMaximum Length:80Description of the current status of the serial number of the content item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SerialNumber: string
Read Only:
trueMaximum Length:80Serial number of the container item, if container item is under serial control.
arrayLinksobject-
AllowAutoGeneration: string
Default Value:
NoContains one of the following values: true or false. If true, then packing unit will be generated based on packing unit setup defined for organization. If false, then packing unit is user-defined. There is no default value for this attribute. -
ContainerItemId: integer
(int64)
Value that uniquely identifies the container item.
-
ContainerItemNumber: string
Maximum Length:
255Name of the container item. -
ContainerVolume: number
Total volume of the packing unit container.
-
ContainerVolumeUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit container volume. -
ContainerVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit container volume. -
ContentVolume: number
Total volume of the packing unit contents.
-
ContentVolumeUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the packing unit content volume. -
ContentVolumeUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the packing unit content volume. -
GrossWeight: number
Weight of the packing unit and its contents.
-
GrossWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure of the weight of the packing unit and its contents. -
GrossWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the weight of the packing unit and its contents. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NetWeight: number
Net weight of the packing unit.
-
NetWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the net weight of the packing unit. -
NetWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the net weight of the packing unit. -
OrganizationCode: string
Maximum Length:
255Abbreviation that identifies the organization of the packing unit. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization of the packing unit.
-
OutermostPackingUnit: string
Read Only:
trueMaximum Length:255Name of the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
OutermostPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the outermost packing unit in which the current packing unit is nested, if the packing unit has a nested structure. -
PackingUnit: string
Title:
Packing UnitMaximum Length:30Name of the packing unit. -
PackingUnitContext: string
Maximum Length:
30Abbreviation that identifies the packing unit context. -
PackingUnitContextMeaning: string
Maximum Length:
255Description of the packing unit context. -
PackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the packing unit. -
ParentPackingUnit: string
Read Only:
trueMaximum Length:255Name of the parent packing unit. -
ParentPackingUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the parent packing unit. -
SealCode: string
Maximum Length:
30Abbreviation that identifies the seal of the packing unit. -
SourceName: string
Maximum Length:
30Name of the source of the packing unit. -
TareWeight: number
Tare weight of the packing unit.
-
TareWeightUOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the tare weight of the packing unit. -
TareWeightUOMName: string
Read Only:
trueMaximum Length:255Name of the unit of measure for the tare weight of the packing unit. -
TrackingNumber: string
Maximum Length:
30Tracking number of the packing unit.
arrayLinksobject-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship IDValue that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the note. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the note record. -
CreatorPartyId: integer
(int64)
Title:
Creator Party IDValue that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate TypeMaximum Length:30Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource. -
DeleteFlag: boolean
Title:
Delete IndicatorRead Only:trueContains one of the following values: true or false. If true, then the note can be deleted. If false, then the note can be deleted. The default value is true. -
EmailAddress: string
Title:
Primary EmailRead Only:trueMaximum Length:320The email address of the user who created the note. -
FormattedAddress: string
Title:
Primary AddressRead Only:trueThe address of the user who created the note. -
FormattedPhoneNumber: string
Title:
Primary PhoneRead Only:trueThe phone number of the user who created the note. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the user most recently updated the note data. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who most recently updated the note record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32Login of the user who most recently updated the note record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NoteId: integer
(int64)
Title:
Note IDRead Only:trueValue that uniquely identifies the note. -
NoteNumber: string
Maximum Length:
30The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
TitleMaximum Length:500The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
NoteText of the actual note. -
NoteTypeCode: string
Title:
TypeMaximum Length:30Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note IDValue that uniquely identifies the parent note. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueValue that uniquely identifies the party to which the note is associated. -
PartyName: string
Title:
AuthorRead Only:trueMaximum Length:360Name of the user who created the record. -
SourceObjectCode: string
Title:
Related Object TypeMaximum Length:30Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related ObjectMaximum Length:64Value that uniquely identifies the packing unit. -
UpdateFlag: boolean
Title:
Update IndicatorRead Only:trueContains one of the following values: true or false. If true, then the note can be updated. If false, then the note can't be updated. The default value is true. -
VisibilityCode: string
Title:
PrivateMaximum Length:30Default Value:INTERNALAbbreviation that identifies the visibility level of the note.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
arrayLinksobject-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship IDValue that uniquely identifies the relationship. This attribute isn't currently used by the packingUnits resource. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15Abbreviation that identifies the corporate currency. This attribute isn't currently used by the packingUnits resource. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the note. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the note record. -
CreatorPartyId: integer
(int64)
Title:
Creator Party IDValue that uniquely identifies the creator of the note. -
CurcyConvRateType: string
Title:
Currency Conversion Rate TypeMaximum Length:30Type of currency conversion rate. This attribute isn't currently used by the packingUnits resource. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15Abbreviation that identifies the currency. This attribute isn't currently used by the packingUnits resource. -
DeleteFlag: boolean
Title:
Delete IndicatorRead Only:trueContains one of the following values: true or false. If true, then the note can be deleted. If false, then the note can be deleted. The default value is true. -
EmailAddress: string
Title:
Primary EmailRead Only:trueMaximum Length:320The email address of the user who created the note. -
FormattedAddress: string
Title:
Primary AddressRead Only:trueThe address of the user who created the note. -
FormattedPhoneNumber: string
Title:
Primary PhoneRead Only:trueThe phone number of the user who created the note. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the user most recently updated the note data. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who most recently updated the note record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32Login of the user who most recently updated the note record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NoteId: integer
(int64)
Title:
Note IDRead Only:trueValue that uniquely identifies the note. -
NoteNumber: string
Maximum Length:
30The alternate unique identifier of the note. A user key that's system generated or from an external system. -
NoteTitle: string
Title:
TitleMaximum Length:500The title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
NoteText of the actual note. -
NoteTypeCode: string
Title:
TypeMaximum Length:30Abbreviation that identifies the categorization of the note type. -
ParentNoteId: integer
(int64)
Title:
Parent Note IDValue that uniquely identifies the parent note. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueValue that uniquely identifies the party to which the note is associated. -
PartyName: string
Title:
AuthorRead Only:trueMaximum Length:360Name of the user who created the record. -
SourceObjectCode: string
Title:
Related Object TypeMaximum Length:30Abbreviation that identifies the object as defined in the OBJECTS metadata which is associated with the note. The object identifier is SHIPPING_LPN for packing units. -
SourceObjectId: string
Title:
Related ObjectMaximum Length:64Value that uniquely identifies the packing unit. -
UpdateFlag: boolean
Title:
Update IndicatorRead Only:trueContains one of the following values: true or false. If true, then the note can be updated. If false, then the note can't be updated. The default value is true. -
VisibilityCode: string
Title:
PrivateMaximum Length:30Default Value:INTERNALAbbreviation that identifies the visibility level of the note.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for packing unit. -
__FLEX_Context_DisplayValue: string
Title:
Context Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LPNId: integer
(int64)
Value that uniquely identifies the packing unit flexfields.
arrayLinks- attachments
-
Parameters:
- PackingUnitId:
$request.path.PackingUnitId
The Attachments resource manages the attachments associated with the packing unit resource. - PackingUnitId:
- contents
-
Parameters:
- PackingUnitId:
$request.path.PackingUnitId
The Contents resource manages the operations on packing unit contents. - PackingUnitId:
- nestedPackingUnits
-
Parameters:
- PackingUnitId:
$request.path.PackingUnitId
The Nested Packing Units resources manages the operations on nested packing units. - PackingUnitId:
- notes
-
Parameters:
- PackingUnitId:
$request.path.PackingUnitId
The Notes resource gets comments, information, or instructions for packing units. - PackingUnitId:
- packingUnitDFFs
-
Parameters:
- PackingUnitId:
$request.path.PackingUnitId
The Flexfields for Packing Units resource manages the descriptive flexfields for packing units. - PackingUnitId:
Examples
This example describes how to create one packing unit.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 1 cURL Command
Use the following cURL command to submit a request on the REST resource to create a user defined packing unit.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 1 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "M1-XLPN17",
"AllowAutoGeneration": "No"
}
Example 2 cURL Command
Use the following cURL command to submit a request on the REST resource to create a Packing Unit which is auto generated using organization parameters.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 2 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 creates.
{
"OrganizationCode":"V1",
"SourceName": "WSH",
"AllowAutoGeneration": "Yes"
}
Example 3 cURL Command
Use the following cURL command to submit a request on the REST resource to create a packing unit which is user defined along with DFF.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 3 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "M1-XLPN17",
"AllowAutoGeneration": "No",
"packingUnitDFFs" : [ {
"LPNId" : 14351,
"lpnGseg1" : "GSeg1",
"lpnGseg2" : 23,
"lpnGseg3" : "2018-02-15",
"lpnGseg4" : "2018-02-09T08:11:00+00:00",
"__FLEX_Context" : "LPNContext1",
"__FLEX_Context_DisplayValue" : "LPNContext1",
"lpncontext1Seg1" : "CSeg1",
"lpncontext1Seg2" : "CSeg#2"
} ]
}
Example 4 cURL Command
Use the following cURL command to submit a request on the REST resource to create a packing unit which is auto generated along with DFF.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 4 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 creates.
{
"OrganizationId" : "204",
"SourceName" : "WSH",
"AllowAutoGeneration" : "Yes",
"packingUnitDFFs": [
{
"gs1": "Global1",
"__FLEX_Context": "LPNCSegs",
"lpncseg1": "CSeg1"
}]
}
Example 5 cURL Command
Use the following cURL command to submit a request on the REST resource to create bulk packing units which are auto generated along with DFF.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 5 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 creates.
{
"parts": [
{
"id": "part1",
"path": "/packingUnits",
"operation": "create",
"payload": {
"OrganizationCode":"V1",
"SourceName": "WSH",
"AllowAutoGeneration":"Yes",
"packingUnitDFFs": [ {
"gs1": "GSS2",
"gs2": "4",
"gs3": "GSS6",
"__FLEX_Context": "LPNCSegs",
"lpncseg1":"VAL2",
"lpncseg2":"18",
"lpncseg3":"2018-03-12",
"lpncseg4":"2018-03-12T00:00:00.000-00:00"
} ]
}
},
{
"id": "part2",
"path": "/packingUnits",
"operation": "create",
"payload": {
"OrganizationCode":"V1",
"SourceName": "WSH",
"AllowAutoGeneration":"Yes",
"packingUnitDFFs": [ {
"gs1": "UGSS2",
"gs2": "14",
"gs3": "GSS16",
"__FLEX_Context": "LPNCSegs",
"lpncseg1":"VAL12",
"lpncseg2":"182",
"lpncseg3":"2017-03-12",
"lpncseg4":"2017-03-12T00:00:00.000-00:00"
} ]
}
}
]
}
Example 6 cURL Command
Use the following cURL command to submit a request on the REST resource to create packing unit which is user defined along with notes.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 6 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "V1-PU01",
"AllowAutoGeneration": "No",
"notes" : [ {
"NoteTxt" : "UE9TVCBPUEVSQVRJT04gRlJPTSBQQUNLSU5HIFVOSVQgUkVTVCBTRVJWSUNF",
"NoteTypeCode" : "LPN_PACKING_INSTRUCTIONS",
"VisibilityCode" : "EXTERNAL"
} ]
}
Example 7 cURL Command
Use the following cURL command to submit a request on the REST resource to create packing unit which is user defined along with web attachments.
>curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 7 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "V1-PU03",
"AllowAutoGeneration": "No",
"attachments":[{
"DatatypeCode" : "WEB_PAGE",
"Description" : "WEB_PAGE created from REST",
"CategoryName" : "MISC",
"Title" : "Link to google.de",
"Url" : "https://www.google.com"
}]
}
Example 8 cURL Command
Use the following cURL command to submit a request on the REST resource to create packing unit which is auto generated along with notes, attachments and DFF.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 8 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "V1-N03",
"AllowAutoGeneration": "No",
"notes" : [ {
"NoteTxt" : "UE9TVCBPUEVSQVRJT04gRlJPTSBQQUNLSU5HIFVOSVQgUkVTVCBTRVJWSUNF",
"NoteTypeCode" : "LPN_PACKING_INSTRUCTIONS",
"VisibilityCode" : "EXTERNAL"
} ]
,
"attachments":[{
"DatatypeCode" : "WEB_PAGE",
"Description" : "WEB_PAGE created from REST",
"CategoryName" : "MISC",
"Title" : "Link to google.de",
"Url" : "https://www.google.com"
}]
,
"packingUnitDFFs": [
{
"globalsegment1": "GS1Value",
"__FLEX_Context": "Context1",
"css1": "CSS1Val",
"css2": "CSS2Val"
}
]
}
Example 9 cURL Command
Use the following cURL command to submit a request on the REST resource to create packing unit with a web attachment and a text file attachment.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 9 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 creates.
{
"OrganizationId":"204",
"SourceName": "WSH",
"PackingUnit": "V1-PU-01",
"AllowAutoGeneration": "No",
"attachments":[
{
"DatatypeCode" : "WEB_PAGE",
"Description" : "WEB_PAGE created from REST",
"CategoryName" : "MISC",
"Title" : "Link to google.de",
"Url" : "https://www.google.com"
},
{
"DatatypeCode" : "FILE",
"Title": "TEXTUploadFromREST.txt",
"Description": "TEXT UPLOAD from REST1",
"FileName": "TEXTUploadFromREST.txt",
"UploadedFileContentType": "text/plain",
"CategoryName" : "MISC",
"FileContents" : "UE9TVCBVcGxvYWQgRnJvbSBSRVNUIHR4dA=="
}
]
}
Example 10 cURL Command
Use the following cURL command to submit a request on the REST resource to create bulk packing unit which is auto generated along with DFF.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/packingUnits"
Example 10 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 creates.
{
"parts": [
{
"id": "part1",
"path": "/packingUnits/300100126792321/child/attachments",
"operation": "create",
"payload": {
"DatatypeCode" : "WEB_PAGE",
"Description" : "WEB_PAGE created from REST1",
"CategoryName" : "MISC",
"Title" : "Link to google.de",
"Url" : "https://www.google.com"
}
},
{
"id": "part2",
"path": "/packingUnits/300100126792321/child/attachments",
"operation": "create",
"payload": {
"DatatypeCode" : "FILE",
"Title": "TEXTUploadFromREST.txt",
"Description": "TEXT UPLOAD from REST1",
"FileName": "TEXTUploadFromREST.txt",
"UploadedFileContentType": "text/plain",
"CategoryName" : "MISC",
"FileContents" : "UE9TVCBVcGxvYWQgRnJvbSBSRVNUIHR4dA=="
}
}
]
}