How To Create Bulk Procurement Agents with REST API?
Summary:
How To Create Bulk Procurement Agents with REST API? in 23a
Procurement Agents REST API will allow users to create Procurement Agents by bulk.
Steps:
URL: https:<pod>.com/fscmRestApi/resources/11.13.18.05
**(change the instance url)
**Instance url must be upto 11.13.18.05 only
Content-type: application/vnd.oracle.adf.batch+json
REST documentation link
https://docs.oracle.com/en/cloud/saas/procurement/23a/fapra/op-procurementagents-post.html
{
"parts": [
{
"id": "part1",
"path": "/procurementAgents",
"operation": "create",
"payload": {
"AgentId": 300100005894820,
"ProcurementBU": "Vision Argentina",
"Status": "Active",
"DefaultRequisitioningBU": null,
"DefaultRequisitioningBUId": null,
"DefaultPrinter": null,
"ManageRequisitionsAllowedFlag": true,
"AccessLevelToOtherAgentsRequisitions": "View",
"ManageOrdersAllowedFlag": true,
"AccessLevelToOtherAgentsOrders": "Full",
"ManageAgreementsAllowedFlag": false,
"AccessLevelToOtherAgentsAgreements": "None",
"ManageNegotiationsAllowedFlag": false,
"AccessLevelToOtherAgentsNegotiations": "None",