0% found this document useful (0 votes)
189 views10 pages

P2PAPIs Oracle Fusion

The document provides details on requisition, requisition lines, and a resulting purchase order. It includes a requisition API call that returns details of requisition 2-1964RQ including status of "Approved". A second API call returns details of the single line item on the requisition. A third API call returns purchase order 1-1133PO with header ID 9001 for supplier ALIBABA with vendor ID 30 that resulted from the requisition.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views10 pages

P2PAPIs Oracle Fusion

The document provides details on requisition, requisition lines, and a resulting purchase order. It includes a requisition API call that returns details of requisition 2-1964RQ including status of "Approved". A second API call returns details of the single line item on the requisition. A third API call returns purchase order 1-1133PO with header ID 9001 for supplier ALIBABA with vendor ID 30 that resulted from the requisition.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Requistion API:

---------------
https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com/fscmRestApi/resources/
11.13.18.05/purchaseRequisitions

Response:
{
"RequisitionHeaderId": 300000108371549,
"Requisition": "2-1964RQ",
"RequisitioningBUId": 300000006014099,
"RequisitioningBU": "LTI",
"PreparerId": 300000108165375,
"Preparer": "SCM.USER",
"PreparerEmail": "[email protected]",
"Description": "SARS CoV-2 RT-qPCR Advanced Master Mix (825uL x2 vials)
",
"Justification": null,
"DocumentStatus": "Approved",
"DocumentStatusCode": "APPROVED",
"SubmissionDate": "2023-12-04T13:59:04+00:00",
"ApprovedDate": "2023-12-04T14:00:01.367+00:00",
"FunctionalCurrencyCode": "USD",
"SoldToLegalEntityId": null,
"SoldToLegalEntity": null,
"FundsStatus": null,
"FundsStatusCode": null,
"InterfaceSourceCode": null,
"InterfaceSourceLineId": null,
"EmergencyPONumber": null,
"ModifyingApproverId": null,
"ModifyingApprover": null,
"ModifyingApproverEmail": null,
"OverridingApproverId": null,
"OverridingApproverPersonNumber": null,
"OverridingApprover": null,
"OverridingApproverEmail": null,
"FundsOverrideApproverId": null,
"FundsOverrideApprover": null,
"FundsOverrideApproverEmail": null,
"ApprovedById": null,
"ApprovedByEmail": null,
"BudgetaryControlEnabledFlag": false,
"EmergencyRequisitionFlag": null,
"ExternallyManagedFlag": false,
"InternalTransferFlag": true,
"FundsChkFailWarnFlag": false,
"CreationDate": "2023-10-02T11:20:38.709+00:00",
"LastUpdateDate": "2023-12-04T14:00:02.107+00:00",
"CreatedBy": "SCM.USER",
"LastUpdatedBy": "SCM.USER",
"ActiveRequisitionFlag": false,
"SourceApplicationCode": null,
"HasPendingApprovalLinesFlag": false,
"HasRejectedLinesFlag": false,
"HasReturnedLinesFlag": false,
"HasWithdrawnLinesFlag": false,
"LifecycleStatusCode": "DELIVERED",
"LifecycleStatus": "Delivered",
"HasActionRequiredLinesFlag": null,
"IdentificationKey": "REQ_300000108371549_0",
"LockedByBuyerFlag": false,
"RejectedReason": null,
"RejectedById": null,
"RejectedByDisplayName": null,
"RequisitionLineGroup": "TRANSFER_ORDER"
}

Requistion API Lines:


https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com:443/fscmRestApi/resources/
11.13.18.05/purchaseRequisitions/300000108371549/child/lines

Response:
{
"items": [
{
"RequisitionHeaderId": 300000108371549,
"RequisitionLineId": 300000108842287,
"LineNumber": 1,
"SmartFormId": null,
"SmartFormName": null,
"LineTypeId": 1,
"LineTypeCode": "Goods",
"RequisitionLineSource": "QUICK_ENTRY",
"CategoryId": 300000014803219,
"CategoryName": "FG Inventory Kits",
"ItemDescription": "Quench-Gone Aqueous Complete, 100 Tests ",
"ItemId": 100000003288425,
"Item": "50-30-10006",
"ItemRevision": null,
"Quantity": 1,
"SecondaryQuantity": null,
"UnitPrice": 282.289560279585411,
"CurrencyCode": "CAD",
"Currency": "Canadian Dollar",
"UOMCode": "EA",
"UOM": "EA",
"SecondaryUOMCode": null,
"SecondaryUOM": null,
"ConversionRateType": "User",
"ConversionRateDate": "2023-12-04",
"ConversionRate": 0.79,
"Price": 357.3285573159309,
"LineStatus": "APPROVED",
"LineStatusDisplayValue": "Approved",
"Amount": null,
"CurrencyAmount": null,
"UrgentFlag": false,
"NegotiatedByPreparerFlag": null,
"NegotiationRequiredFlag": null,
"SourceAgreementTypeCode": null,
"SourceAgreementType": null,
"SourceAgreementHeaderId": null,
"SourceAgreement": null,
"SourceAgreementLineId": null,
"SourceAgreementLineNumber": null,
"UNNumberId": null,
"UNNumber": null,
"HazardClassId": null,
"HazardClass": null,
"HazardClassCode": null,
"UNSPSCCode": null,
"ManufacturerName": null,
"ManufacturerPartNumber": null,
"BPAPriceUserOverrideFlag": null,
"NewSupplierFlag": null,
"SupplierId": null,
"Supplier": null,
"SupplierSiteId": null,
"SupplierSite": null,
"SupplierContactId": null,
"SupplierContact": null,
"SupplierContactEmail": null,
"SupplierContactPhone": null,
"SupplierContactFax": null,
"SuggestedSupplier": null,
"SuggestedSupplierSite": null,
"SuggestedSupplierContact": null,
"SuggestedSupplierContactPhone": null,
"SuggestedSupplierContactFax": null,
"SuggestedSupplierContactEmail": null,
"SupplierItemNumber": null,
"RequesterId": 300000108165375,
"Requester": "SCM.USER",
"RequesterDisplayName": "SCM.USER",
"RequesterEmail": "[email protected]",
"SuggestedBuyerId": null,
"SuggestedBuyer": null,
"SuggestedBuyerEmail": null,
"ModifiedByBuyerId": null,
"ModifiedByBuyer": null,
"AssignedBuyerId": null,
"AssignedBuyer": null,
"AssignedBuyerDisplayName": null,
"AssignedBuyerEmail": null,
"RequestedDeliveryDate": "2023-12-11",
"DestinationTypeCode": "INVENTORY",
"DestinationType": "Inventory",
"DestinationOrganizationId": 300000004117641,
"DestinationOrganizationCode": "PD_INV_ORG",
"DestinationOrganization": "Pinnacle Drive",
"DestinationSubinventory": null,
"OneTimeLocationFlag": false,
"DeliverToLocationId": 300000055730964,
"DeliverToLocationCode": "Pinnacle Drive",
"DeliverToAddress": "805, Pinnacle Drive, Suite M,, LINTHICUM, MD
21090, UNITED STATES",
"FormattedDeliverToAddress": "805, Pinnacle Drive, Suite
M,<BR>LINTHICUM, MD 21090<BR>UNITED STATES",
"NoteToBuyer": null,
"NoteToReceiver": null,
"NoteToSupplier": null,
"RequisitionLineInPool": "N",
"POAutomationFailedReasonCode": null,
"POAutomationFailedReason": null,
"POHeaderId": null,
"POLineId": null,
"PurchaseOrder": null,
"POBuyerId": null,
"BuyerOnPurchaseOrder": null,
"SupplierOnPurchaseOrder": null,
"ProcurementBUId": null,
"ProcurementBU": null,
"SourceTypeCode": "INTERNAL",
"SourceType": "Inventory",
"SourceOrganizationId": 300000004117605,
"SourceOrganizationCode": "RR_INV_ORG",
"SourceOrganization": "Royal Road",
"SourceSubinventory": null,
"TransferOrderHeaderId": 383011,
"TransferOrder": "383012",
"TransferOrderLineId": 378098,
"NegotiationHeaderId": null,
"Negotiation": null,
"NegotiationLineNumber": null,
"ResponseNumber": null,
"ResponseLineNumber": null,
"OnNegotiationFlag": null,
"WorkOrderId": null,
"WorkOrder": null,
"WorkOrderOperationId": null,
"WorkOrderOperationSequence": null,
"WorkOrderProduct": null,
"WorkOrderSubType": null,
"BackToBackFlag": null,
"ConfiguredItemFlag": false,
"DeliverToCustomerId": null,
"DeliverToCustomer": null,
"DeliverToCustomerLocationId": null,
"RequestedShipDate": null,
"SalesOrderLineNumber": null,
"SalesOrder": null,
"SalesOrderScheduleNumber": null,
"ShipToCustomerId": null,
"ShipToCustomer": null,
"ServiceLevelCode": null,
"ServiceLevel": null,
"ModeOfTransportCode": null,
"ModeOfTransport": null,
"CarrierId": null,
"Carrier": null,
"CreatedBy": "SCM.USER",
"CreationDate": "2023-12-04T13:57:09.365+00:00",
"LastUpdatedBy": "SCM.USER",
"LastUpdateDate": "2023-12-04T14:00:02.118+00:00",
"LastSubmittedDate": "2023-12-04T13:59:04+00:00",
"LastApprovalDate": "2023-12-04T14:00:02.080+00:00",
"OriginalSubmittedDate": null,
"OriginalApprovalDate": null,
"CancelDate": null,
"CancelReason": null,
"RequisitionLinePOInstanceId": null,
"BuyerProcessingFlag": false,
"RequisitionLineGroup": "TRANSFER_ORDER",
"LineImageURL": null,
"SupplierItemAuxiliaryId": null,
"DisableAutosourceFlag": false,
"DeliverToOneTimeAddress": null,
"LineTypeOrderTypeLookupCode": "QUANTITY",
"ReturnedByBuyerId": null,
"ReturnedByBuyerDisplayName": null,
"ReturnReason": null,
"LifecycleStatusCode": "DELIVERED",
"LifecycleStatus": "Delivered",
"ActionRequiredCode": null,
"ActionRequired": null,
"POCancelReason": null,
"POHoldReason": null,
"PublicShoppingListHeaderId": null,
"InformationTemplateTouchedFlag": false,
"FundsStatusCode": null,
"FundsStatus": null,
"LifecycleSecondaryStatus": null,
"ItemUserOverrideFlag": null
}

Purchase Order API:


https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com//fscmRestApi/resources/
11.13.18.05/purchaseOrdersForReceiving

Response:
{
"items": [
{
"PurchaseOrder": "1-1133PO",
"POHeaderId": 9001,
"Supplier": "ALIBABA",
"VendorId": 300000016611362,
"SoldToLegalEntity": "LuminUltra Technologies Ltd.",
"SoldtoLeId": 300000003986042,
"OrganizationCode": "HSBC_INV_ORG",
"OrganizationId": "300000004117617"
}

Inventory Receipt API:


https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com//fscmRestApi/resources/
11.13.18.05/receivingReceiptRequests

Response:
{
"items": [
{
"HeaderInterfaceId": 300000017518998,
"ASNType": "STD",
"CreatedBy": "[email protected]",
"CreationDate": "2022-06-09T14:02:42.587+00:00",
"LastUpdateDate": "2022-06-09T14:05:15.301+00:00",
"LastUpdatedBy": "[email protected]",
"ReceiptSourceCode": "VENDOR",
"TransactionDate": "2022-06-09",
"ShipmentNumber": null,
"ReceiptNumber": "2",
"ReceiptHeaderId": 1,
"VendorName": null,
"VendorNumber": null,
"VendorId": 300000016624854,
"VendorSiteCode": null,
"VendorSiteId": 300000017169842,
"BusinessUnitId": null,
"BusinessUnit": null,
"OrganizationCode": null,
"OrganizationId": 300000004117653,
"ShippedDate": null,
"ExpectedReceiptDate": "2022-06-09T14:05:16+00:00",
"FreightTerms": null,
"FreightCarrierId": 300000016947490,
"FreightCarrierName": null,
"NumberOfPackingUnits": null,
"BillOfLading": null,
"WaybillAirbillNumber": "576332515579",
"PackingSlip": null,
"PackagingCode": null,
"SpecialHandlingCode": null,
"TarWeight": null,
"TarWeightUOMCode": null,
"TarWeightUnitOfMeasure": null,
"NetWeight": null,
"NetWeightUOMCode": null,
"NetWeightUnitOfMeasure": null,
"Comments": "PO3312, RCVD 27May22",
"CustomerPartyName": null,
"CustomerPartyNumber": null,
"CustomerId": null,
"EmployeeName": null,
"EmployeeId": 100000003242449,
"FromOrganizationCode": null,
"FromOrganizationId": null,
"RMASourceSystemId": null,
"RMASourceSystemName": null,
"GroupId": 1,
"ProcessingStatusCode": "SUCCESS",
"GLDate": "2022-06-09",
"InvoiceDate": null,
"InvoiceNumber": null,
"TotalInvoiceAmount": null,
"FreightAmount": null,
"TaxAmount": null,
"PaymentTermsId": null,
"PaymentTermsName": null,
"CurrencyCode": null,
"InsertAndProcessFlag": "false",
"ReturnStatus": null,
"SaveAndSubmitFlag": "false",
"ExternalSystemTransactionReference": null,
"ReturnMessage": null
}
Inventory Receipt lines API:

Response:
{
"items": [],
"count": 0,
"hasMore": false,
"limit": 25,
"offset": 0
}

AP Invoice API:
https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com//fscmRestApi/resources/
11.13.18.05/payablesPayments

Response:
{
"items": [
{
"CheckId": 300000063923735,
"PaymentId": 65008,
"PaymentReference": 215,
"PaperDocumentNumber": null,
"PaymentNumber": 215,
"PaymentFileReference": 59004,
"PaymentProcessRequest": "Quick payment: ID=300000063923735",
"PaymentAmount": 49907.83,
"PaymentDate": "2022-07-13",
"AccountingDate": "2022-07-13",
"PaymentDescription": null,
"ConversionRate": null,
"ConversionDate": null,
"ConversionRateType": null,
"ClearingDate": "2022-07-18",
"ClearingAmount": 49907.83,
"ClearingLedgerAmount": 49907.83,
"ClearingConversionRate": null,
"ClearingConversionDate": "2022-07-13",
"ClearingConversionRateType": null,
"CrossCurrencyRateType": "Corporate",
"MaturityDate": null,
"MaturityConversionRateType": null,
"MaturityConversionDate": null,
"MaturityConversionRate": 1,
"AnticipatedValueDate": null,
"ClearingValueDate": "2022-07-18",
"StopDate": null,
"VoidDate": null,
"VoidAccountingDate": null,
"PaymentStatus": "Cleared",
"SeparateRemittanceAdviceCreated": null,
"AccountingStatus": "Accounted",
"ReconciledFlag": true,
"PaymentType": "Quick",
"PaymentCurrency": "EUR",
"WithheldAmount": null,
"BankChargeAmount": null,
"LegalEntity": "Mastiline B.V.",
"BusinessUnit": "LBV",
"PaymentFunction": null,
"Payee": "THE SENSOR FACTORY B.V.",
"PartyId": 300000016626447,
"ProcurementBU": null,
"PayeeSite": "LBV Site",
"EmployeeAddress": null,
"SupplierNumber": "10665",
"ThirdPartySupplier": null,
"ThirdPartyAddressName": null,
"ExternalBankAccountId": null,
"RemitToAccountNumber": null,
"DisbursementBankAccountNumber": "0181684195",
"DisbursementBankAccountName": "LBV_Rabo-EUR-C-0181684195",
"PaymentMethodCode": "EFT",
"PaymentMethod": "Electronic",
"PaymentDocument": null,
"PaymentProcessProfileCode": "LBV OUTSIDE EFT PAYMENTS",
"PaymentProcessProfile": "LBV OUTSIDE EFT PAYMENTS",
"DocumentCategory": "Electronic Payments",
"DocumentSequence": "AP-HSBC-PAYMENTS",
"VoucherNumber": 158,
"PaymentBaseAmount": null,
"PaymentBaseCurrency": "EUR",
"AddressLine1": null,
"AddressLine2": null,
"AddressLine3": null,
"AddressLine4": null,
"City": null,
"County": null,
"Province": null,
"State": null,
"Country": "NL",
"Zip": null,
"CreatedBy": "[email protected]",
"CreationDate": "2022-07-13T14:30:44.059+00:00",
"LastUpdatedBy": "[email protected]",
"LastUpdateDate": "2022-08-04T16:49:14+00:00",
"LastUpdateLogin": "E43C4801A0D39108E0534860D80A4C75",
"StopReason": null,
"StopReference": null
}

Payments API:
https://fa-euqb-test-saasfaprod1.fa.ocs.oraclecloud.com/fscmRestApi/resources/
11.13.18.05/payablesPayments

Response:
{
"items": [
{
"CheckId": 300000101501290,
"PaymentId": 749010,
"PaymentReference": 2420,
"PaperDocumentNumber": null,
"PaymentNumber": 2420,
"PaymentFileReference": 558006,
"PaymentProcessRequest": "Quick payment: ID=300000101501290",
"PaymentAmount": 94746.14,
"PaymentDate": "2022-12-09",
"AccountingDate": "2022-12-09",
"PaymentDescription": null,
"ConversionRate": 1.3453931116198,
"ConversionDate": "2022-12-09",
"ConversionRateType": "User",
"ClearingDate": null,
"ClearingAmount": null,
"ClearingLedgerAmount": null,
"ClearingConversionRate": null,
"ClearingConversionDate": null,
"ClearingConversionRateType": null,
"CrossCurrencyRateType": "Corporate",
"MaturityDate": null,
"MaturityConversionRateType": null,
"MaturityConversionDate": null,
"MaturityConversionRate": 1,
"AnticipatedValueDate": null,
"ClearingValueDate": null,
"StopDate": null,
"VoidDate": null,
"VoidAccountingDate": null,
"PaymentStatus": "Negotiable",
"SeparateRemittanceAdviceCreated": null,
"AccountingStatus": "Accounted",
"ReconciledFlag": false,
"PaymentType": "Quick",
"PaymentCurrency": "USD",
"WithheldAmount": null,
"BankChargeAmount": null,
"LegalEntity": "LuminUltra Technologies Ltd.",
"BusinessUnit": "LTL",
"PaymentFunction": null,
"Payee": "Luminultra Technologies Inc.",
"PartyId": 300000014804192,
"ProcurementBU": null,
"PayeeSite": "LTI Site",
"EmployeeAddress": null,
"SupplierNumber": "10001",
"ThirdPartySupplier": null,
"ThirdPartyAddressName": null,
"ExternalBankAccountId": null,
"RemitToAccountNumber": null,
"DisbursementBankAccountNumber": "XXXXXX0002",
"DisbursementBankAccountName": "Cross Entity Payments - LTL - CAD",
"PaymentMethodCode": "EFT",
"PaymentMethod": "Electronic",
"PaymentDocument": null,
"PaymentProcessProfileCode": "Dummy Bank Process File",
"PaymentProcessProfile": "Dummy Bank Process File",
"DocumentCategory": "Electronic Payments",
"DocumentSequence": "AP-HSBC-PAYMENTS",
"VoucherNumber": 2405,
"PaymentBaseAmount": 127470.8,
"PaymentBaseCurrency": "CAD",
"AddressLine1": "1448 South Rolling Rd.",
"AddressLine2": null,
"AddressLine3": null,
"AddressLine4": null,
"City": "Baltimore",
"County": null,
"Province": null,
"State": "MD",
"Country": "CA",
"Zip": null,
"CreatedBy": "[email protected]",
"CreationDate": "2022-12-09T20:45:21.001+00:00",
"LastUpdatedBy": "[email protected]",
"LastUpdateDate": "2022-12-09T20:57:22.787+00:00",
"LastUpdateLogin": "EDD1A1047FA6B44EE0534860D80AFA21",
"StopReason": null,
"StopReference": null
}

You might also like