Retrieve Purchase Order Roles for User By Company Code and User ID
- 06 Jan 2026
- 1 Minute to read
- Print
- DarkLight
Retrieve Purchase Order Roles for User By Company Code and User ID
- Updated on 06 Jan 2026
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Get
/po-rest-api/rest/1/poRoles
Retrieve Purchase Order Roles for User By Company Code and User ID:
This endpoint retrieves the purchase order roles assigned to users, with option to filter and optimize the request performance using the following parameters:
Finder Name:
PoRolesFinder
Request Parameters:
CompCode (query parameter) -Company Code
UserID (query parameter) - User ID
Response Body:
The response will contain details of user's purchase order roles in the JSON format. Here is an example of the response body:
{
"items": [
{
"PorlCompCode": "",
"PorlUserID": "",
"PorlUserName": "",
"PorlRequesterFlag": "",
"PorlBuyerFlag": "",
"PorlReceiverFlag": "",
"PorlDescription": null,
"PorlVUuid": "",
"links": [
{
"rel": "",
"href": "",
"name": "",
"kind": ""
}
]
}
]
}
Security
HTTP
Type basic
Basic authentication
Query parameters
limit
integer
Example25
offset
integer
Example0
totalResults
boolean
Exampletrue
finder
string
ExamplePoRolesFinder; CompCode=ZZ,UserID=IBRAHIM0033
Responses
200
OK
Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourcecollection+json
"{\n \"items\": [\n {\n \"PorlCompCode\": \"ZZ\",\n \"PorlUserID\": \"IBRAHIM0033\",\n \"PorlUserName\": \"IBRAHIM002\",\n \"PorlRequesterFlag\": \"Y\",\n \"PorlBuyerFlag\": \"Y\",\n \"PorlReceiverFlag\": \"N\",\n \"PorlDescription\": null,\n \"PorlVUuid\": \"3BCB23F89FBE5994E0630B811DAC3FF4\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://127.0.0.1:7101/po-rest-api/rest/1/poRoles/3BCB23F89FBE5994E0630B811DAC3FF4\",\n \"name\": \"poRoles\",\n \"kind\": \"item\"\n },\n {\n \"rel\": \"canonical\",\n \"href\": \"http://127.0.0.1:7101/po-rest-api/rest/1/poRoles/3BCB23F89FBE5994E0630B811DAC3FF4\",\n \"name\": \"poRoles\",\n \"kind\": \"item\"\n }\n ]\n }\n ],\n \"totalResults\": 1,\n \"count\": 1,\n \"hasMore\": false,\n \"limit\": 25,\n \"offset\": 0,\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://127.0.0.1:7101/po-rest-api/rest/1/poRoles\",\n \"name\": \"poRoles\",\n \"kind\": \"collection\"\n }\n ]\n}"string