Retrieve a Specific PM User Role By Code
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Retrieve a Specific PM User Role By Code

    • Dark
      Light

    Article summary

    Get
    /pm-rest-api/rest/1/pmuserrole

    Query Standards

    Finder

    Following row finders are available for data filtering and optimizing request performance.

    • Primary Key
    • By UUID

    Primary Key

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    GpmurRoleCodeRole CodeOWNER
    GpmurUserUser NameJAMESL
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExamplePrimaryKey;GpmurRoleCode=OWNER, GpmurUser=JAMESL
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    Exampletrue
    orderBy
    string
    ExampleGpmurUser:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "GpmurCompCode": "001",
          "GpmurContactCode": "JAMESL",
          "GpmurFirstName": "James",
          "GpmurIuCreateDate": "2022-08-24T10:14:24Z",
          "GpmurIuUpdateDate": "2022-08-24T10:23:48Z",
          "GpmurLastName": "Lahey",
          "GpmurPartnCode": "1159",
          "GpmurPartnTypeCode": "P",
          "GpmurProjCode": "DAF1",
          "GpmurProjName": "DAF New Project Name",
          "GpmurRoleCode": "OWNER",
          "GpmurRoleName": "Owner",
          "GpmurUser": "JAMESL",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/pmuserrole/000300000126ACED0005737200146A6176612E6D6174682E426967446563696D616C54C71557F981284F0300024900057363616C654C0006696E7456616C7400164C6A6176612F6D6174682F426967496E74656765723B787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B020000787000000000737200146A6176612E6D6174682E426967496E74656765728CFC9F1FA93BFB1D030006490008626974436F756E744900096269744C656E67746849001366697273744E6F6E7A65726F427974654E756D49000C6C6F776573745365744269744900067369676E756D5B00096D61676E69747564657400025B427871007E0002FFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFE00000001757200025B42ACF317F8060854E0020000787000000004313036D57878000000054F574E4552000000064A414D45534C",
              "name": "pmuserrole",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/pmuserrole/000300000126ACED0005737200146A6176612E6D6174682E426967446563696D616C54C71557F981284F0300024900057363616C654C0006696E7456616C7400164C6A6176612F6D6174682F426967496E74656765723B787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B020000787000000000737200146A6176612E6D6174682E426967496E74656765728CFC9F1FA93BFB1D030006490008626974436F756E744900096269744C656E67746849001366697273744E6F6E7A65726F427974654E756D49000C6C6F776573745365744269744900067369676E756D5B00096D61676E69747564657400025B427871007E0002FFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFE00000001757200025B42ACF317F8060854E0020000787000000004313036D57878000000054F574E4552000000064A414D45534C",
              "name": "pmuserrole",
              "kind": "item"
            }
          ]
        }
      ],
      "count": 1,
      "hasMore": false,
      "limit": 25,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/pmuserrole",
          "name": "pmuserrole",
          "kind": "collection"
        }
      ]
    }
    object