Procedure details
To set up the route authorizations for these roles/persons:
-
Start the
API Identities (ttmtm6140m000)
session and add these API identities:
- lnapi_cbanks, linked to LN User cbanks.
- lnapi_cmorales, linked to LN User cmorales.
-
Start the
API Roles (ttmtm6145m000)
session, and add these roles:
- LNAPI_BUYER
- LNAPI_PROC_EMPLOYEE
- For both roles, set the Allow Switch Identity field to No.
-
Define the route authorizations for the LNAPI_BUYER role:
- Start the Route Tree Authorizations by Role (ttmtm6675m000) session.
-
In the right-hand panel, select the LNAPI_BUYER role.
-
Specify full route authorization for the
/lnapi/odata/tdapi.purProcurementUserProfile
route:- In the tree, select
/lnapi/odata/tdapi.purProcurementUserProfile
. - On the Route Authorizations by
Role tab, specify this information:
- All Methods : Yes.
- All Companies : Yes.
- Granted : Yes.
- Cascade : Yes.
- In the tree, select
-
In the same way, specify full route authorization for these other
tdapi.pur routes:
/lnapi/odata/tdapi.purPurchaseContract
/lnapi/odata/tdapi.purPurchaseOrder
/lnapi/odata/tdapi.purPurchaseRequisition
/lnapi/odata/tdapi.purRequestForQuote
-
Assign the LNAPI_BUYER role to the API identity of the buyer
(Cristina Morales):
- Start the API Identities (ttmtm6140m000) session.
- Select API identity lnapi_cmorales.
-
Select References >
API Roles by
Identity
.
The API Roles by Identity (ttmtm6155m000) session starts.
-
Add the LNAPI_BUYER role.
-
Define the route authorizations for the LNAPI_PROC_EMPLOYEE
role:
- Start the Route Tree Authorizations by Role (ttmtm6675m000) session.
-
In the right-hand panel, select the
LNAPI_PROC_EMPLOYEE role.
-
Specify route authorization for the GET method for the
/lnapi/odata/tdapi.purPurchaseOrder
route:- In the tree, select
/lnapi/odata/tdapi.purPurchaseOrder
. - On the Route Authorizations by
Role tab, specify this information:
- All Methods : No.
- Method : GET.
- All Companies : Yes.
- Granted : Yes.
- Cascade : Yes.
- In the tree, select
-
Assign the LNAPI_PROC_EMPLOYEE role to the API identity of
the purchase order clerk (Carl Banks):
- Start the API Identities (ttmtm6140m000) session.
- Select API identity lnapi_cbanks.
-
Select References >
API Roles by
Identity
.
The API Roles by Identity (ttmtm6155m000) session starts.
-
Add the LNAPI_PROC_EMPLOYEE role.
-
Enable the API authorizations:
- Start the AMS Parameters (ttams0100m000) session.
- Make sure the Enable API Authorizations check box is selected.
- Click OK.