Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...


Excerpt

This method returns the latest pending resource requests, which are requesting a specific unit. Multiple resource requests are returned by this call:

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

requested_unit_identifier

(mandatory)

Unit identifier

The identifier of the unit that is requested as a resource. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:unit_identifier

Tip

Deprecated from CRM.COM R18.0.0


requested_business_unit_identifier

(mandatory)

Business Unit identifier

The identifier of the business unit that is requested as a resource. The allowed business unit identifier fields are the following:

Include Page
business_unit_identifier
business_unit_identifier

Tip

Available from CRM.COM R18.0.0


fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

...

Expand
titleExample 1

HTTP Method: GET 


Request:

Response:

Code Block
languagejs
themeConfluencelanguagejs
linenumberstrue
{
       "status":
       {
           "message": null,
           "description": null,
           "code": "OK"
       },
       "data":
       [
           {
               "udf_float_1": null,
               "udf_float_2": null,
               "requested_by_group":
               {
                   "community_name": null,
                   "name": "Main Group",
                   "id": "84F33366CB592BAAE7E2044D93611C6A",
                   "description": "Main Group",
                   "alternative_code": "das"
               },
               "udf_float_3": null,
               "udf_float_4": null,
               "number": "4",
               "udf_string_1": null,
               "udf_string_2": null,
               "udf_string_3": null,
               "udf_string_4": null,
               "udf_string_5": null,
               "udf_string_6": null,
               "udf_string_7": null,
               "udf_string_8": null,
               "id": "3A6B5B7784EC59E0B6E1AF6ABDCFE433",
               "requested_by_unit":
               {
                   "community_name": null,
                   "group_name": "Main Group",
                   "name": "Marketing Unit",
                   "id": "83922FE923563679768A94F58CAB5569",
                   "description": "r1c1",
                   "alternative_code": null
               },
               "requested_resource_plan_entry": null,
               "requested_by_user":
               {
                   "person_name": "Saviola",
                   "username": "Saviola",
                   "id": "6A545BC9E89357BF8CB7D57DE82B1CD3",
                   "email": null
               },
               "from_date": "2014-10-29T00:18:00",
               "to_be_used_by_activity_service":
               {
                   "service":
                   {
                       "product_type": null,
                       "id": "9485FC0F5C75279E4E8E1FF3B7B247AE",
                       "description": null,
                       "code": "OTP002",
                       "alternative_code": "OTP002"
                   },
                   "id": "621E7EC7177739A1E65399AE204AA67F",
                   "time_spend":
                   {
                       "time_period_value": 2,
                       "time_period_uot": "WEEKS"
                   }
               },
               "udf_date_1": null,
               "udf_date_2": null,
               "udf_date_3": null,
               "udf_date_4": null,
               "to_be_used_by_activity":
               {
                   "life_cycle_state": "COMPLETED",
                   "number": "145",
                   "type": null,
                   "id": "BDB4360F88A6B87996CBFECFA442A37F",
                   "contact_information": null
               },
               "requested_one_time_service":
               {
                   "product_type": null,
                   "id": "2615D90E01AEB026F2D5AD69DB9A4DA9",
                   "description": "Pay Per View Service",
                   "code": "Pay Per View Service",
                   "alternative_code": "PPV"
               },
               "to_date": "2014-12-07T17:18:05",
               "number_of_resources": 1,
               "life_cycle_state": "PENDING",
               "description": null
           },
           {
               "udf_float_1": null,
               "udf_float_2": null,
               "requested_by_group":
               {
                   "community_name": null,
                   "name": "Installation Group",
                   "id": "E2B8F8760CEDED45A64EF3CFCA3D1447",
                   "description": null,
                   "alternative_code": "IG"
               },
               "udf_float_3": null,
               "udf_float_4": null,
               "number": "5",
               "udf_string_1": null,
               "udf_string_2": null,
               "udf_string_3": null,
               "udf_string_4": null,
               "udf_string_5": null,
               "udf_string_6": null,
               "udf_string_7": null,
               "udf_string_8": null,
               "id": "59D49482355D0E540A6BBED5C94C320D",
               "requested_by_unit":
               {
                   "community_name": null,
                   "group_name": "Installation Group",
                   "name": "Installation Team 1",
                   "id": "2B35083ECB69BD57A4C1CC7ADC2F473B",
                   "description": null,
                   "alternative_code": "IT1"
               },
               "requested_resource_plan_entry":
               {
                   "effective_date": "2014-11-01T00:00:00",
                   "number": "1",
                   "resource_plan":
                   {
                       "effective_from": "2014-11-01T00:00:00",
                       "effective_to": "2014-11-30T00:00:00",
                       "planned_for_unit":
                       {
                           "community_name": null,
                           "group_name": "Installation Group",
                           "name": "Installation Team 1",
                           "id": "2B35083ECB69BD57A4C1CC7ADC2F473B",
                           "description": null,
                           "alternative_code": "IT1"
                       },
                       "number": "3",
                       "id": "51796194B1F8CCF51AB98194F55EDED0",
                       "description": null
                   },
                   "id": "EBBE12F97D48DF41FDE2031942882262",
                   "description": null
               },
               "requested_by_user":
               {
                   "person_name": "MPAdministrator",
                   "username": "MPAdministrator",
                   "id": "1",
                   "email": null
               },
               "from_date": "2014-11-28T17:22:42",
               "to_be_used_by_activity_service":
               {
                   "service":
                   {
                       "product_type": null,
                       "id": "9485FC0F5C75279E4E8E1FF3B7B247AE",
                       "description": null,
                       "code": "OTP002",
                       "alternative_code": "OTP002"
                   },
                   "id": "0D97547897C201C32CFA1B11AB5ADF57",
                   "time_spend":
                   {
                       "time_period_value": 2,
                       "time_period_uot": "WEEKS"
                   }
               },
               "udf_date_1": null,
               "udf_date_2": null,
               "udf_date_3": null,
               "udf_date_4": null,
               "to_be_used_by_activity":
               {
                   "life_cycle_state": "COMPLETED",
                   "number": "140",
                   "type": null,
                   "id": "26E2D83ED82470FBA3D47CA2652C0D2D",
                   "contact_information": null
               },
               "requested_one_time_service":
               {
                   "product_type": null,
                   "id": "23B0335123C123F75B890C0380625BDE",
                   "description": "Package Change Service",
                   "code": "Package Change Service",
                   "alternative_code": null
               },
               "to_date": "2014-10-31T17:22:45",
               "number_of_resources": 130,
               "life_cycle_state": "PENDING",
               "description": null
           },
           {
               "udf_float_1": null,
               "udf_float_2": null,
               "requested_by_group":
               {
                   "community_name": null,
                   "name": "Main Group",
                   "id": "84F33366CB592BAAE7E2044D93611C6A",
                   "description": "Main Group",
                   "alternative_code": "das"
               },
               "udf_float_3": null,
               "udf_float_4": null,
               "number": "6",
               "udf_string_1": null,
               "udf_string_2": null,
               "udf_string_3": null,
               "udf_string_4": null,
               "udf_string_5": null,
               "udf_string_6": null,
               "udf_string_7": null,
               "udf_string_8": null,
               "id": "77340F18AE96BBDF7765044AD4D1E25A",
               "requested_by_unit":
               {
                   "community_name": null,
                   "group_name": "Main Group",
                   "name": "Marketing Unit",
                   "id": "83922FE923563679768A94F58CAB5569",
                   "description": "r1c1",
                   "alternative_code": null
               },
               "requested_resource_plan_entry": null,
               "requested_by_user":
               {
                   "person_name": "Saviola",
                   "username": "Saviola",
                   "id": "6A545BC9E89357BF8CB7D57DE82B1CD3",
                   "email": null
               },
               "from_date": "2014-10-29T00:00:00",
               "to_be_used_by_activity_service":
               {
                   "service":
                   {
                       "product_type": null,
                       "id": "9485FC0F5C75279E4E8E1FF3B7B247AE",
                       "description": null,
                       "code": "OTP002",
                       "alternative_code": "OTP002"
                   },
                   "id": "1A271F21C3DEEB6DC89748AA3A71E239",
                   "time_spend":
                   {
                       "time_period_value": 2,
                       "time_period_uot": "WEEKS"
                   }
               },
               "udf_date_1": null,
               "udf_date_2": null,
               "udf_date_3": null,
               "udf_date_4": null,
               "to_be_used_by_activity":
               {
                   "life_cycle_state": "COMPLETED",
                   "number": "195",
                   "type": null,
                   "id": "9E0EE908FA43B676AE4B62ECEE1767A9",
                   "contact_information": null
               },
               "requested_one_time_service":
               {
                   "product_type": null,
                   "id": "2615D90E01AEB026F2D5AD69DB9A4DA9",
                   "description": "Pay Per View Service",
                   "code": "Pay Per View Service",
                   "alternative_code": "PPV"
               },
               "to_date": "2014-12-31T18:30:00",
               "number_of_resources": 5,
               "life_cycle_state": "PENDING",
               "description": null
           }
       ]
} 


...