Receipt Rest APIs in Oracle fusion

                                                            Receipt related APIs in Oracle fusion 

Get Documents for Receiving:

Web service: Rest

Web Service Method: Get 

Description: The below URL will get list of purchase Orders which are eligible for doing receipt.

Endpoint URL: Cloud instance URL/fscmRestApi/resources/11.13.18.05/linesToReceive

Query Parameters:

Organization Code:

 Cloud instance URL/fscmRestApi/resources/11.13.18.05/linesToReceive?q=ToOrganizationCode=""

PO Number
Cloud instance URL/fscmRestApi/resources/11.13.18.05/ linesToReceive?q=DocumentNumber=""

Organization Id:

Cloud instance URL/fscmRestApi/resources/11.13.18.05/ linesToReceive?q=ToOrganizationId=""

Organization Id & PO Number:

Cloud instance URL /fscmRestApi/resources/11.13.18.05/linesToReceive?q=ToOrganizationId=" "; DocumentNumber=""

 

Authorization:

Type: Basic Auth

Username:

Password:


Reference :  https://docs.oracle.com/en/cloud/saas/supply-chain-management/22c/fasrp/op-linestoreceive-get.html 

Create Receipt Transactions:

Description:  The Below API details are used to post the data and create a receipt.

Web Service Method: POST

Batch Mode:

Endpoint URL: Cloud Instance URL/fscmRestApi/resources/11.13.18.05

Headers: 

     Content-Type: application/vnd.oracle.adf.batch+json

Authorization:

Type: Basic Auth

Username:

Password:

Body:

 Payload For the header Attachments


{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [
                        {
                         "DatatypeCode": "",
                         "Title": "",
                         "Description": "",
                                "FileName": "",
                         "UploadedFileContentType": "",
        "UploadedText": "",
                         "CategoryName": "",
                         "FileContents": "",
"UploadedFileLength": ""
                        }
                ],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the line level Attachments

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [
                      {
                         "DatatypeCode": "",
                         "Title": "",
                         "Description": "",
                                "FileName": "",
                         "UploadedFileContentType": "",
        "UploadedText": "",
                         "CategoryName": "",
                         "FileContents": "",
"UploadedFileLength": ""
                        }
                      ],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the Lot related Items .

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                      {
                                   "LotNumber": "",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
          }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the Parent+child lot related items

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                      {
                                   "LotNumber": "",
                                   "ParentLotNumber":"",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
          }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the Serial related items

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [
                           {
                             "FromSerialNumber": "",
                             "ToSerialNumber": ""
    }
                          ],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the lot and Serial related items

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[
                       {
                               "LotNumber": "",
                               "TransactionQuantity": "",
"SecondaryTransactionQuantity":"",
"GradeCode":"",
"LotExpirationDate":"",
"MaturityDate":"",
                  "lotSerialItemSerials": [
                         {
                               "FromSerialNumber": "",
                               "ToSerialNumber": ""
  }]
  }
                         ],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the multiple Lots.
{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                           {
                                  "LotNumber": "",
                                  "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
   },{
                                   "LotNumber": "",
   "ParentLotNumber":"",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
   }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Payload For the Multiple Serials.

{
"parts": [
     {
"id": "part1",
"path": "/receivingReceiptRequests",
"operation": "create",
"payload": {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [
                        {
                       "FromSerialNumber": "",
                      "ToSerialNumber": ""
  },{
                       "FromSerialNumber": "",
                      "ToSerialNumber": ""
  }],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
}
]
}

Single Transaction Mode :

Endpoint URL: Cloud Instance URL/fscmRestApi/resources/11.13.18.05/receivingReceiptRequests

Headers: 

     Content-Type: application/vnd.oracle.adf.resourceitem+json (or) application/

Authorization:

Type: Basic Auth

Username:

Password:


Body:


 Payload For the header Attachments

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [
                        {
                         "DatatypeCode": "",
                         "Title": "",
                         "Description": "",
                                "FileName": "",
                         "UploadedFileContentType": "",
        "UploadedText": "",
                         "CategoryName": "",
                         "FileContents": "",
"UploadedFileLength": ""
                        }
                ],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the line level Attachments

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [
                      {
                         "DatatypeCode": "",
                         "Title": "",
                         "Description": "",
                                "FileName": "",
                         "UploadedFileContentType": "",
        "UploadedText": "",
                         "CategoryName": "",
                         "FileContents": "",
"UploadedFileLength": ""
                        }
                      ],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the Lot related Items .

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                      {
                                   "LotNumber": "",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
          }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the Parent+child lot related items

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                      {
                                   "LotNumber": "",
                                   "ParentLotNumber":"",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
          }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the Serial related items

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [
                           {
                             "FromSerialNumber": "",
                             "ToSerialNumber": ""
    }
                          ],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the lot and Serial related items

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[
                       {
                               "LotNumber": "",
                               "TransactionQuantity": "",
"SecondaryTransactionQuantity":"",
"GradeCode":"",
"LotExpirationDate":"",
"MaturityDate":"",
                  "lotSerialItemSerials": [
                         {
                               "FromSerialNumber": "",
                               "ToSerialNumber": ""
  }]
  }
                         ],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the multiple Lots.
 {
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [
                           {
                                  "LotNumber": "",
                                  "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
   },{
                                   "LotNumber": "",
   "ParentLotNumber":"",
                                   "TransactionQuantity": "",
   "SecondaryTransactionQuantity":"",
   "GradeCode":"",
   "LotExpirationDate":"",
   "MaturityDate":""
   }
                       ],
                    "serialItemSerials": [],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}

Payload For the Multiple Serials.

{
                        "FromOrganizationCode":"",               
"ReceiptSourceCode": "",
                "OrganizationCode": "",
                "VendorId": "",
                        "VendorSiteId": "",
                "BusinessUnitId":"",
                "EmployeeId": "",
"ReceiptNumber":"",
                        "BillOfLading":"",
                        "FreightCarrierName":"",
"PackingSlip":"",
"WaybillAirbillNumber":"",
                       "ShipmentNumber":"",
"DFF":[],
"attachments": [],
"lines": [
{
    "ReceiptSourceCode": "",
    "SourceDocumentCode": "",
    "TransactionType": "",
    "AutoTransactCode": "",
                    "FromOrganizationCode":"",
    "OrganizationCode": "",
    "CustomerId" : "",
    "POHeaderId": "",
                    "POLineLocationId": "",
                    "POLineId": "",
                    "PODistributionId": "",
    "ItemNumber": "",
    "ItemRevision":"",
                    "TransactionDate":"",
    "Quantity": "",
    "UnitOfMeasure": "",
    "SecondaryQuantity":"",
    "SecondaryUnitOfMeasure":"",
                    "ShipToLocationId": "",
                    "ReasonName":"",
                    "Comments":"",
                    "Subinventory":"",
                    "Locator":"",
                    "ShipmentHeaderId":"",
                    "ShipmentLineId":"",
    "ReceiptAdviceHeaderId" : "",
                    "ReceiptAdviceLineId" : "",
    "TransferOrderHeaderId" : "",
                    "TransferOrderLineId" : "",
    "SoldtoLegalEntity":""
    "TruckNumber":"",
    "transactionAttachments": [],
                    "lotItemLots": [],
                    "serialItemSerials": [
                        {
                       "FromSerialNumber": "",
                      "ToSerialNumber": ""
  },{
                       "FromSerialNumber": "",
                      "ToSerialNumber": ""
  }],
                    "lotSerialItemLots":[],
                    "ASNLineAttachments":[],
                    "ASNLineDFF":[],
    "inventoryStripingDFF":[],
    "transactionDFF":[]
}
]
}
Reference : 
https://docs.oracle.com/en/cloud/saas/supply-chain-management/22c/fasrp/op-receivingreceiptrequests-post.html 


If any have any question , feel free to reach out to me : oracleerpinformation@gmail.com


Thanks............

Post a Comment

0 Comments