Browse documents.oracle.com - Search for related Module then Components available API
Sample for supplier related API's
https://docs.oracle.com/en/cloud/saas/procurement/23b/fapra/op-suppliers-get.html
see the sample api request and prepare for you self
For example to use get suppliers rest API :
<your fusion application URL like ******.oraclecloud.com>/fscmRestApi/resources/11.13.18.05/suppliers
Open postman create new environment , create 3 variables url , user and password and set values
Now optionally you can create a collection and set values for username
Now add a request , you can refer "url" variable that we set while creating environment and in authorization tab you can use "inherit" option to refer id and password we set in collection.
Alternatively we can pass direct "url" in call and put user name and password manually for each call
Click on Send button and see the response
Incase of Patch , Put operations you can send the request body in body tab use raw option and paste the required value
For Example for Update Supplier
URL : https://abccompany.oraclecloud.com/fscmRestApi/resources/11.13.18.05/suppliers/{SupplierId}
Operation: Patch
Request Body:
{ "CorporateWebsite" : "http://www.example.com", "YearEstablished" : "2001", "MissionStatement" : "Provide the best quality whole foods", "YearIncorporated" : "2001" }
Response:
{ "SupplierId" : 300100176605555, "SupplierPartyId" : 300100176605556, "Supplier" : "Tall Manufacturing", "SupplierNumber" : "1488256486", "AlternateName" : null, "TaxOrganizationTypeCode" : "CORPORATION", "TaxOrganizationType" : "Corporation", "SupplierTypeCode" : "SERVICES", "SupplierType" : "Services", "InactiveDate" : null, "Status" : "ACTIVE", "BusinessRelationshipCode" : "PROSPECTIVE", "BusinessRelationship" : "Prospective", "ParentSupplierId" : null, "ParentSupplier" : null, "ParentSupplierNumber" : null, "CreationDate" : "2019-04-23T19:14:51.002+00:00", "CreationSourceCode" : "WEB_SERVICE", "CreationSource" : "Web Service", "Alias" : null, "DUNSNumber" : "221134568", "OneTimeSupplierFlag" : false, "RegistryId" : "CDRM_839624", "CustomerNumber" : null, "StandardIndustryClass" : null, "NationalInsuranceNumber" : null, "NationalInsuranceNumberExistsFlag" : false, "CorporateWebsite" : "http://www.example.com", "YearEstablished" : 2001, "MissionStatement" : "Provide the best quality whole foods", "YearIncorporated" : 2001, "ChiefExecutiveTitle" : null, "ChiefExecutiveName" : null, "PrincipalTitle" : null, "PrincipalName" : null, "FiscalYearEndMonthCode" : null, "FiscalYearEndMonth" : null, "CurrentFiscalYearPotentialRevenue" : null, "PreferredFunctionalCurrencyCode" : null, "PreferredFunctionalCurrency" : null, "TaxRegistrationCountryCode" : null, "TaxRegistrationCountry" : null, "TaxRegistrationNumber" : null, "TaxpayerCountryCode" : "US", "TaxpayerCountry" : "United States", "TaxpayerId" : "98-03376373", "TaxpayerIdExistsFlag" : true, "FederalReportableFlag" : false, "FederalIncomeTaxTypeCode" : null, "FederalIncomeTaxType" : null, "StateReportableFlag" : false, "TaxReportingName" : null, "NameControl" : null, "VerificationDate" : null, "UseWithholdingTaxFlag" : false, "WithholdingTaxGroupId" : null, "WithholdingTaxGroup" : null, "BusinessClassificationNotApplicableFlag" : false, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555", "name" : "suppliers", "kind" : "item", "properties" : { "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000007770400000007737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000027371007E0002000000027372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C7371007E00020000000271007E00077371007E00020000000171007E000778" } }, { "rel" : "canonical", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555", "name" : "suppliers", "kind" : "item" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/CurrencyLookup", "name" : "CurrencyLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/WithholdingTaxGroupLookup", "name" : "WithholdingTaxGroupLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/FiscalYearEndMonthLookup", "name" : "FiscalYearEndMonthLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/FederalIncomeTaxTypeLookup", "name" : "FederalIncomeTaxTypeLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/ParentSupplierLookup", "name" : "ParentSupplierLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/CountryLookup", "name" : "CountryLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/TaxOrganizationTypeLookup", "name" : "TaxOrganizationTypeLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/SupplierTypeLookup", "name" : "SupplierTypeLookup", "kind" : "collection" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/lov/BusinessRelationshipLookup", "name" : "BusinessRelationshipLookup", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/sites", "name" : "sites", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/DFF", "name" : "DFF", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/globalDFF", "name" : "globalDFF", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/businessClassifications", "name" : "businessClassifications", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/contacts", "name" : "contacts", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/productsAndServices", "name" : "productsAndServices", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/attachments", "name" : "attachments", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/suppliers/300100176605555/child/addresses", "name" : "addresses", "kind" : "collection" } ] }
reference : https://docs.oracle.com/
Comments
Post a Comment