Get Sales Users

get

/rest/v16/salesUsers

Use this endpoint to retrieve a list of all sales users.

Request

Supported Media Types
Query Parameters
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Allows to specify one or more filtering criteria. By default, no filtering is applied.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : salesUsers-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : The list of sales user keys
Type: array
Title: The list of sales user keys
The list of sales users to whom the trsacations are forwarded to
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of sales users by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/salesUsers

Response Body Sample

{
  "items": [{
      "firstName": "Automation_UserType_RestrictedAccess",
      "lastName": null,
      "dateModified": "2021-09-17T00:22:17.000Z",
      "key": "restuser1",
      "dateAdded": "2008-05-05T03:29:53.000Z",
      "email": "firstname.lastname@yourcompany.com",
      "links": [{
          "rel": "self",
          "href": "https://localhost:8080/rest/v16/salesUsers/4131038"
        }
      ]
    }, {
      "firstName": "Super",
      "lastName": "User",
      "dateModified": "2021-10-11T18:20:13.000Z",
      "key": "user1234",
      "dateAdded": "2004-07-07T04:06:31.000Z",
      "email": "john.jones@yourcompany.com",
      "links": [{
          "rel": "self",
          "href": "https://localhost:8080/rest/v16/salesUsers/4119220"
        }
      ]
    }
}
Back to Top