Versions Compared

Key

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

...

...

...

...


Excerpt

This method returns the services that are allowed to be used by activities of specific type. Multiple services are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

activity_type_identifier

(mandatory)

activity Type Identifier

The identifier of the type of the activity that will be using the services. The services are filtered against the allowed services of the specified type. The allowed activity type identifier fields are the following:

Include Page
v4:activity_type_identifier
v4:activity_type_identifier

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

Response Data

Include Page
V4:activity_type_services_complete
V4:activity_type_services_complete

...

Expand
titleExample 1

HTTP Method: GET 


Request:

Response:


Code Block
 code
language
javascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "automatically_applied": true,
            "time_spent_logging_method": "FIXED",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": false,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "391D5E5E5F4F70FCA75C4D01ECAD0B6C",
                    "name": "One Time Services - Fixed",
                    "description": "One Time Services - Fixed",
                    "alternative_code": "OTS-F_1"
                },
                "id": "690A6B1932D34421A1EE254425F2CB12",
                "code": "Installation Service",
                "alternative_code": "IS"
            },
            "mandatory": true,
            "id": "1EB36F485FDB4C3CB58AD33FAE3EB6A9",
            "minimum_time_spent":
            {
                "time_period_value": 1,
                "time_period_uot": "DAYS"
            }
        },
        {
            "time_spent_logging_method": "FLEXIBLE",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": true,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "AD3C6C3E2D2D4C9DA7BDBC2908718AEB",
                    "name": "One Time- Fixed B",
                    "description": "One time Fixed Bundle product",
                    "alternative_code": "OT-Fixed"
                },
                "id": "DFEA1EC8521F416AABB8D79305CEF600",
                "code": "Delivery Service",
                "alternative_code": "DS"
            },
            "mandatory": false,
            "id": "9B21815339F4432E856D4530D7408ACA",
            "minimum_time_spent":
            {
                "time_period_value": 2,
                "time_period_uot": "HOURS"
            }
        },
        {
            "time_spent_logging_method": "FLEXIBLE",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": true,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "AD3C6C3E2D2D4C9DA7BDBC2908718AEB",
                    "name": "One Time- Fixed B",
                    "description": "One time Fixed Bundle product",
                    "alternative_code": "OT-Fixed"
                },
                "id": "7858EF0C20F34F87B845321352269EBD",
                "code": "Tuning Service",
                "alternative_code": "TS"
            },
            "mandatory": false,
            "id": "74F4478CB4554B4B80535D55694594B8",
            "minimum_time_spent":
            {
                "time_period_uot": "HOURS"
            }
        }
    ]
} 


...