Versions Compared

Key

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

Available from CRM.COM R10.0.0

 

Table of Contents
maxLevel2

GET jobs/new_subscription/show

This method returns information related with a job of fulfillment scope New Subscription.  Single job is returned by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Job identifier  

The identifier of the job that should be returned as a result. The allowed jobs identifier fields are the following:

...

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.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "requested_physical_goods_set": [],
    "service_request": null,
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "udf_float_4": null,
    "udf_string_1": null,
    "requested_subscription_type": {
      "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
      "name": "London",
      "description": "Subscription for London customers",
      "alternative_code": "LND"
    },
    "udf_string_2": null,
    "assigned_to": {
      "unit": {
        "id": "5EA6B1CBCB7F4906A6E2F1CE2D17C4FA",
        "name": "Lucia Unit 2",
        "description": null,
        "alternative_code": "Lucia Unit 2"
      },
      "user": {
        "person_name": "loukiap",
        "username": "loukiap",
        "id": "E09E6A91BF354A72A7907EA9E35AB018",
        "email": null
      }
    },
    "udf_string_3": null,
    "privacy_level": null,
    "udf_string_4": null,
    "udf_string_5": null,
    "contact_phone": null,
    "udf_string_6": null,
    "activities_set": [],
    "udf_string_7": null,
    "physical_goods_set": [],
    "requested_subscription_billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-06-10T14:52:24",
      "concurrent_usage_based_pricing": {
        "concurrent_usage": 1,
        "rate_percentage": 100
      },
      "billing_term_scheme": {
        "life_cycle_state": "EFFECTIVE",
        "billing_method": "PERIOD",
        "classification": "SUBSCRIPTIONS",
        "id": "62E64E155B884EDD87FA208DFAD91A59",
        "name": "Main Prepaid Billing Term",
        "code": "MPBTS",
        "billing_type": "PREPAID"
      },
      "performed_by": null,
      "billing_frequency": null,
      "id": "EE38478DC0FD4ACFA165D9598BB721E6",
      "performed_on": null,
      "billing_cycle_day": null,
      "price_plan": {
        "effective_date": "2016-04-08T00:00:00",
        "type": "BASE",
        "id": "62F4D4E787AD4ACC895FD1D066037353",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": null
      }
    },
    "udf_string_8": null,
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Brown",
        "middle_name": null,
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Miss",
        "first_name": "Karina",
        "type": "PERSON",
        "id": "3A1C29639C1E47B995E53856D3020DD3",
        "name": "Brown Karina",
        "company_name": null,
        "demographics": {
          "gender": "FEMALE",
          "passport_issued_by_country": null,
          "social_security_number": "KB1234",
          "passport_number": "KB1234",
          "industry_sector": null,
          "country_of_residence": {
            "three_character_code": "CYP",
            "two_character_code": "CY",
            "id": "181",
            "name": "CYPRUS",
            "alternative_code": null
          },
          "name_day": {
            "month": null,
            "day": null
          },
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "id_number": "KB1234",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR001134",
      "id": "3A35D6DFF1144473AAA843258F701681",
      "name": "ACR001134"
    },
    "id": "7C084D07EE834D74AC3FB961F23D3854",
    "subscription": {
      "life_cycle_state": "DRAFT",
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Brown",
          "middle_name": null,
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": "Miss",
          "first_name": "Karina",
          "type": "PERSON",
          "id": "3A1C29639C1E47B995E53856D3020DD3",
          "name": "Brown Karina",
          "company_name": null,
          "demographics": {
            "gender": "FEMALE",
            "passport_issued_by_country": null,
            "social_security_number": "KB1234",
            "passport_number": "KB1234",
            "industry_sector": null,
            "country_of_residence": {
              "three_character_code": "CYP",
              "two_character_code": "CY",
              "id": "181",
              "name": "CYPRUS",
              "alternative_code": null
            },
            "name_day": {
              "month": null,
              "day": null
            },
            "date_of_birth": {
              "month": null,
              "day": null,
              "year": null
            },
            "id_number": "KB1234",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR001134",
        "id": "3A35D6DFF1144473AAA843258F701681",
        "name": "ACR001134"
      },
      "number": "S60951",
      "type": {
        "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
        "name": "London",
        "description": "Subscription for London customers",
        "alternative_code": "LND"
      },
      "id": "65940A914EC84BADB0C73FE2806B9167",
      "first_activated_date": null,
      "rating_state": "PENDING"
    },
    "requested_activity_services_set": [],
    "requested_subscription_physical_goods_set": [
      {
        "swap_installed_item": null,
        "provisioning_distributor": null,
        "installed_item": null,
        "id": "FE9C44C761084DA4B7B10F35AFABA511",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
            "name": "Decoders",
            "description": "Decoders",
            "alternative_code": "D"
          },
          "id": "12A61F321368703D77C48A0A085D9B7D",
          "description": "Decoders 2",
          "code": "Decoders 2",
          "alternative_code": "D2"
        }
      },
      {
        "swap_installed_item": null,
        "provisioning_distributor": null,
        "installed_item": null,
        "id": "683F09E0E95F4392838E5DEE6E31E1C5",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": false,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "6173FC99331504AD1ACB5D697D54DA8C",
            "name": "Smartcards",
            "description": "Smartcards",
            "alternative_code": "SC"
          },
          "id": "EAC7A30429364176616CFEF5DF709941",
          "description": "Smartcard 1",
          "code": "Smartcard 1",
          "alternative_code": "SC1"
        }
      }
    ],
    "expected_completion_date": "2016-09-02T14:51:05",
    "time_to_completion": {
      "time_period_value": 1.3559139784946237,
      "time_period_uot": "MONTHS"
    },
    "time_overdue": {
      "time_period_value": null,
      "time_period_uot": null
    },
    "log_information": {
      "updated_date": "2016-06-10T14:55:14",
      "created_date": "2016-06-10T14:51:05",
      "created_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "updated_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "created_by_user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1"
      },
      "updated_by_user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "life_cycle_state": "IN_PROGRESS",
    "location": {
      "udf_string_10": null,
      "street_number": "3",
      "care_of": null,
      "udf_string_11": null,
      "udf_float_1": null,
      "street_name": "Karina",
      "udf_string_12": null,
      "udf_float_2": null,
      "udf_string_13": null,
      "udf_float_3": null,
      "udf_string_14": null,
      "udf_float_4": null,
      "udf_string_15": null,
      "udf_string_16": null,
      "po_box": null,
      "udf_string_1": null,
      "floor": null,
      "udf_string_2": null,
      "area": null,
      "udf_string_3": null,
      "district": null,
      "udf_string_4": null,
      "udf_string_5": null,
      "udf_string_6": null,
      "udf_string_7": null,
      "state": "Active",
      "udf_string_8": null,
      "udf_string_9": null,
      "country": {
        "three_character_code": "CYP",
        "two_character_code": "CY",
        "id": "181",
        "name": "CYPRUS",
        "alternative_code": null
      },
      "id": "1B05B13AC17349E1BA04FBAFF987CEE6",
      "postal_code": "2233",
      "udf_date_1": null,
      "udf_date_2": null,
      "udf_date_3": null,
      "udf_date_4": null,
      "po_box_postal_code": null,
      "apartment_number": null,
      "town_city": null,
      "type": "HOME",
      "municipality": null
    },
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "NEW_SUBSCRIPTION",
      "id": "E062E6CE230A4A71BDDD3727EFA5463E",
      "name": "Order Subscription",
      "description": null,
      "alternative_code": "OS"
    },
    "contact_email": null,
    "expenses_set": [],
    "notes": null,
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-06-10T00:00:00",
      "concurrent_usage_based_pricing": {
        "concurrent_usage": 1,
        "rate_percentage": 100
      },
      "billing_term_scheme": {
        "life_cycle_state": "EFFECTIVE",
        "billing_method": "PERIOD",
        "classification": "JOBS",
        "id": "9C0B2B52003EFEEE0864212F34D41229",
        "name": "P Job Billing Term Scheme",
        "code": "PJBTS",
        "billing_type": "NORMAL"
      },
      "effective_date": "2016-06-10T00:00:00",
      "billing_frequency": null,
      "id": "3D246DC9A5B9479E947145EE35FFB1EC",
      "allowed_cancel_date": null,
      "expiration_date": null,
      "billing_cycle_day": null,
      "price_plan": {
        "effective_date": "2016-04-08T00:00:00",
        "type": "BASE",
        "id": "62F4D4E787AD4ACC895FD1D066037353",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": null
      }
    },
    "number": "JOB000601",
    "estimated_completion_time": {
      "time_period_value": 12,
      "time_period_uot": "WEEKS"
    },
    "requested_subscription_services_set": [
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": null,
        "id": "45A8765248E44AC0AA6164F412A8CAC6",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "BC954969D3172372D498D3BB2BA590A0",
            "name": "Subscription Packages",
            "description": "Subscription main packages",
            "alternative_code": "SP"
          },
          "id": "2C0E72A735F71582FFC765F3421CE6A5",
          "description": "Platinum Premium Package",
          "code": "Platinum",
          "alternative_code": "PS"
        }
      },
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": null,
        "id": "FACF366DB7A54C68BC3F0113EBB1383C",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "600438B64B0F05AB3D020C902674949F",
            "name": "Subscription services",
            "description": "Subscription services",
            "alternative_code": "SS"
          },
          "id": "E3600383FF2650A594594F10BEB358D5",
          "description": "Cartoons 2",
          "code": "Cartoons 2",
          "alternative_code": "C2"
        }
      }
    ],
    "subscription_services_set": [
      {
        "life_cycle_state": "DRAFT",
        "first_activated_date": null,
        "id": "791AC49B8AC041AEBFF6E5495C00E74F",
        "service_bundle": null,
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "BC954969D3172372D498D3BB2BA590A0",
            "name": "Subscription Packages",
            "description": "Subscription main packages",
            "alternative_code": "SP"
          },
          "id": "2C0E72A735F71582FFC765F3421CE6A5",
          "description": "Platinum Premium Package",
          "code": "Platinum",
          "alternative_code": "PS"
        },
        "rating_state": "PENDING"
      },
      {
        "life_cycle_state": "DRAFT",
        "first_activated_date": null,
        "id": "4AB108DAC44A453F82E4F497705556EF",
        "service_bundle": null,
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "600438B64B0F05AB3D020C902674949F",
            "name": "Subscription services",
            "description": "Subscription services",
            "alternative_code": "SS"
          },
          "id": "E3600383FF2650A594594F10BEB358D5",
          "description": "Cartoons 2",
          "code": "Cartoons 2",
          "alternative_code": "C2"
        },
        "rating_state": "PENDING"
      }
    ],
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "start_date": "2016-06-10T14:51:05",
    "udf_date_4": null,
    "rating_state": "PENDING",
    "requested_expenses_set": [],
    "bills_set": [],
    "owned_by_group": {
      "community_name": "Internal Community",
      "id": "84F33366CB592BAAE7E2044D93611C6A",
      "name": "Main Group",
      "description": "Main Group",
      "alternative_code": "MG1"
    },
    "status": {
      "life_cycle_state": "IN_PROGRESS",
      "id": "D67BE6044C7F5802480FD591FC09319B",
      "name": "In Progress",
      "description": "In Progress",
      "alternative_code": "IP"
    },
    "subscription_physical_goods_set": [
      {
        "ownership_status": "RENTED_TO_CUSTOMER",
        "installed_item": {
          "state": "EFFECTIVE",
          "serial_number": "smart1-add-as-sold-001",
          "id": "FE3115B5EF1940979C04B35456F4A1EC",
          "alternative_code": "smart1-add-as-sold-001",
          "product": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "TRACEABLE",
              "used_for_provisioning": false,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "6173FC99331504AD1ACB5D697D54DA8C",
              "name": "Smartcards",
              "description": "Smartcards",
              "alternative_code": "SC"
            },
            "id": "EAC7A30429364176616CFEF5DF709941",
            "description": "Smartcard 1",
            "code": "Smartcard 1",
            "alternative_code": "SC1"
          }
        },
        "installed_item_bundle": null,
        "id": "9679EFA07F8D4C41BE787B5A2C54071B"
      },
      {
        "ownership_status": "RENTED_TO_CUSTOMER",
        "installed_item": {
          "state": "EFFECTIVE",
          "serial_number": "dec2-as-rented-001",
          "id": "AD0BB5BA42044D0EAE98EAB0A486A200",
          "alternative_code": "dec2-as-rented-001",
          "product": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "TRACEABLE",
              "used_for_provisioning": true,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
              "name": "Decoders",
              "description": "Decoders",
              "alternative_code": "D"
            },
            "id": "12A61F321368703D77C48A0A085D9B7D",
            "description": "Decoders 2",
            "code": "Decoders 2",
            "alternative_code": "D2"
          }
        },
        "installed_item_bundle": null,
        "id": "4069101330764BB984E33541746F5367"
      }
    ],
    "actual_completed_date": null,
    "description": null,
    "category": null
  }
}

POST jobs/new_subscription/create

This method creates a job of fulfillment scope New Subscription. Single job can be created by each call. Only customer jobs can be created through this method.

Resource URL

Parameters

 

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

type_identifier
(mandatory)

...

The identifier of the type of the new job. The allowed job type identifier fields are the following:

...

status_identifier
(optional)

...

The identifier of the status of the new job. If not specified then the default one will be used. The allowed job status identifier fields are the following:

...

category_identifier
(optional)

...

The identifier of the category of the new job. The allowed job category identifier fields are the following:

...

(mandatory)

...

The identifier of the new job accounts receivable. The allowed accounts receivable identifier fields are the following:

...

contact_email

(optional)

...

The email of the customer related with the job, which will be used in order to communicate the job

...

contact_phone

(optional)

...

 The phone of the customer related with the job, which will be used in order to communicate the job

...

description
(optional)

...

notes
(optional)

...

start_date
(optional)

...

location_identifier
(mandatory)

...

The identifier of the location of the new job. The allowed job location identifier fields are the following:

...

owned_by_group_identifier
(optional)

...

The owned by group information of the job. The allowed group identifier fields are the following:

...

privacy_level_identifier
(optional)

...

The privacy level of the job. The allowed privacy level identifier fields are the following:

...

The service request related with the job. The allowed service request identifier fields are the following:

...

udf_string_1 

(optional)

...

User Defined Field of type String

...

udf_string_2 

(optional)

...

User Defined Field of type String

...

udf_string_3 

(optional)

...

User Defined Field of type String

...

udf_string_4 

(optional)

...

User Defined Field of type String

...

udf_string_5

(optional)

...

User Defined Field of type String

...

udf_string_6 

(optional)

...

User Defined Field of type String

...

udf_string_7

(optional)

...

User Defined Field of type String

...

udf_string_8

(optional)

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1 

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2 

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

expected_completion_date
(semi-optional)

...

estimated_completion_time
(semi-optional)

...

requested_subscription_billing_terms

(mandatory)

...

The billing terms of the subscription that will be provided as part of the job.

...

requested_subscription_services_set

(mandatory)

...

A list of services that were requested by the customer and should be provided as part of the New Subscription that will be delivered. The subscription services are filtered based on the specified subscription type and billing term scheme. All the subscription related rules and restrictions are applicable on the requested subscription services as well

...

requested_physical_goods_set

(optional)

...

A list of physical goods (products only) that are requested by the customer, and should be delivered as part of fulfilling the ordered job. The requested physical goods are filtered based on the selected job type. Mandatory physical goods are added automatically.

...

requested_subscription_physical_goods_set

(optional)

...

A list of physical goods (products only) that were requested by the customer and should be provided as part of the New Subscription that will be delivered. The subscription physical goods are filtered based on the specified subscription type. All the subscription related rules and restrictions are applicable on the requested subscription physical goods as well

...

requested_expenses_set

(optional)

...

A list of requested expenses that are requested by the customer and should be delivered as part of fulfilling the ordered job. The requested expenses are filtered based on the selected job type. Mandatory expenses are added automatically

...

requested_activity_services_set

(optional)

...

A list of one time services that are requested by the customer and should be delivered by a scheduling and performing a specific activity. The requested activity services are defined by specifying the type of the activity and the activity services that should be performed. The activity types are filtered based on the selected job type. The activity services are filtered based on the selected activity type. Mandatory activity types and services are added automatically.

...

fields_set

(optional)

...

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.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: POST 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
"token":"8DAF00B473594DDB8EE3DA31EF55E6B3",
"type_identifier":{"name":"Order Subscription"},
"status_identifier": {"name":"Draft"},
"accounts_receivable_identifier":{"number":"ACR001182"},
"contact_email":"m_antoniadou@crm.com",
"contact_phone":"99626262",
"description":"New subscription for Anton Mara",
"start_date":"2016-07-27T15:30:00",
"location_identifier":{"type":"HOME"},
"owned_by_group_identifier":{"name":"Main Group"},
"estimated_completion_time":
{
    "time_period_value":1,
    "time_period_uot":"WEEKS"
},
"requested_subscription_billing_terms":
{
    "price_plan_identifier":{"code":"BPP0614"},
    "billing_cycle_day":1,
    "agreement_date":"2016-07-27T15:30:00",
    "performed_by_user_identifier":{"username":"MPAdministrator"},
    "performed_on":"2016-07-27T15:30:00",
    "concurrent_usage_based_pricing":
    {
        "concurrent_usage":1.00,
        "rate_percentage":100.00
    }
},
"assigned_to":
{
    "user_identifier":{"username":"MPAdministrator"}
},
"requested_subscription_services_set":
[
    {
        "service_identifier":{"code":"Gold"},
        "provisioning_distribution_set":
        [
            {
                "provisioning_distributor_identifier":{"name":"CONAX SMS Main"}
            }
        ]
    },
    {
      "service_identifier":{"code":"Movies 1"},
       "provisioning_distribution_set":
        [
            {
                "provisioning_distributor_identifier":{"name":"CONAX SMS Main"}
            }
        ]
    },
     {
      "service_identifier":{"code":"Sports 1"},
       "provisioning_distribution_set":
        [
            {
                "provisioning_distributor_identifier":{"name":"CONAX SMS Main"}
            }
        ]
    },
     {
      "service_identifier":{"code":"Silver FLEX"},
       "components_set":
        [
            {
                "service_identifier":{"code":"Cartoons 2"}
            }
        ]
    }
],
"requested_physical_goods_set":
[
    {
        "product_identifier":{"code":"Decoders 1"},
        "quantity":1
    }
],
"requested_subscription_physical_goods_set":
[
    {
        "product_identifier":{"code":"Smartcard 1"},
        "quantity":1
    }
]
  
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "requested_physical_goods_set": [
      {
        "id": "B56D2F9C2B8D4114821EB2C320F2931F",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
            "name": "Decoders",
            "description": "Decoders",
            "alternative_code": "D"
          },
          "id": "E8672BB71A9B1BD25E30705AC34D7D61",
          "description": "Decoders 1",
          "code": "Decoders 1",
          "alternative_code": "D1"
        }
      }
    ],
    "service_request": null,
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "udf_float_4": null,
    "udf_string_1": null,
    "requested_subscription_type": {
      "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
      "name": "London",
      "description": "Subscription for London customers",
      "alternative_code": "LND"
    },
    "udf_string_2": null,
    "assigned_to": {
      "unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1",
        "email": "sakkascy1986@hotmail.com"
      }
    },
    "udf_string_3": null,
    "privacy_level": null,
    "udf_string_4": null,
    "udf_string_5": null,
    "contact_phone": "99626262",
    "udf_string_6": null,
    "activities_set": [],
    "udf_string_7": null,
    "physical_goods_set": [],
    "udf_string_8": null,
    "requested_subscription_billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-07-27T15:30:00",
      "concurrent_usage_based_pricing": {
        "concurrent_usage": 1,
        "rate_percentage": 100
      },
      "billing_term_scheme": {
        "life_cycle_state": "EFFECTIVE",
        "billing_method": "PERIOD",
        "classification": "SUBSCRIPTIONS",
        "id": "62E64E155B884EDD87FA208DFAD91A59",
        "name": "Main Prepaid Billing Term",
        "code": "MPBTS",
        "billing_type": "PREPAID"
      },
      "performed_by": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1",
        "email": "sakkascy1986@hotmail.com"
      },
      "billing_frequency": null,
      "id": "1C7BE32458C9417C8D6313A84E917084",
      "performed_on": "2016-07-27T15:30:00",
      "billing_cycle_day": 1,
      "price_plan": {
        "effective_date": "2016-04-08T00:00:00",
        "type": "BASE",
        "id": "62F4D4E787AD4ACC895FD1D066037353",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": null
      }
    },
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Anton",
        "middle_name": "333",
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Mrs",
        "first_name": "Mara",
        "type": "PERSON",
        "id": "3358197AD0334CE2834DB60933B2CE88",
        "name": "Anton Mara",
        "company_name": null,
        "demographics": {
          "gender": "FEMALE",
          "passport_issued_by_country": null,
          "social_security_number": null,
          "passport_number": null,
          "industry_sector": null,
          "country_of_residence": {
            "three_character_code": "CYP",
            "two_character_code": "CY",
            "id": "181",
            "name": "CYPRUS",
            "alternative_code": null
          },
          "name_day": {
            "month": null,
            "day": null
          },
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "id_number": "568941",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR001182",
      "id": "570169F05EF949E89FF987AD086A09BE",
      "name": "ACR001182"
    },
    "id": "ADE88281BBAC4C3FB4E7DFA4BB163F4A",
    "subscription": null,
    "requested_activity_services_set": [],
    "requested_subscription_physical_goods_set": [
      {
        "swap_installed_item": null,
        "provisioning_distributor": null,
        "installed_item": null,
        "id": "24B8A0780B1546D0B59A96A0172582B3",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": false,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "6173FC99331504AD1ACB5D697D54DA8C",
            "name": "Smartcards",
            "description": "Smartcards",
            "alternative_code": "SC"
          },
          "id": "EAC7A30429364176616CFEF5DF709941",
          "description": "Smartcard 1",
          "code": "Smartcard 1",
          "alternative_code": "SC1"
        }
      }
    ],
    "expected_completion_date": "2016-08-03T15:30:00",
    "time_to_completion": {
      "time_period_value": 1,
      "time_period_uot": "WEEKS"
    },
    "time_overdue": {
      "time_period_value": null,
      "time_period_uot": null
    },
    "log_information": {
      "updated_date": "2016-07-27T14:06:30",
      "created_date": "2016-07-27T14:06:29",
      "created_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "updated_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "created_by_user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1"
      },
      "updated_by_user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "life_cycle_state": "DRAFT",
    "location": {
      "udf_string_10": null,
      "street_number": "10",
      "care_of": null,
      "udf_string_11": null,
      "udf_float_1": null,
      "street_name": "Athaslassis",
      "udf_string_12": null,
      "udf_float_2": null,
      "udf_string_13": null,
      "udf_float_3": null,
      "udf_string_14": null,
      "udf_float_4": null,
      "udf_string_15": null,
      "udf_string_16": null,
      "po_box": null,
      "udf_string_1": null,
      "floor": 2,
      "udf_string_2": null,
      "area": null,
      "udf_string_3": null,
      "district": null,
      "udf_string_4": null,
      "udf_string_5": null,
      "udf_string_6": null,
      "udf_string_7": null,
      "state": "Active",
      "udf_string_8": null,
      "udf_string_9": null,
      "country": {
        "three_character_code": "CYP",
        "two_character_code": "CY",
        "id": "181",
        "name": "CYPRUS",
        "alternative_code": null
      },
      "id": "168CD026F5F74AFBA31CF02E291793AE",
      "postal_code": "2335",
      "udf_date_1": null,
      "udf_date_2": null,
      "udf_date_3": null,
      "udf_date_4": null,
      "po_box_postal_code": null,
      "apartment_number": "201",
      "town_city": null,
      "type": "HOME",
      "municipality": null
    },
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "NEW_SUBSCRIPTION",
      "id": "E062E6CE230A4A71BDDD3727EFA5463E",
      "name": "Order Subscription",
      "description": null,
      "alternative_code": "OS"
    },
    "contact_email": "m_antoniadou@crm.com",
    "expenses_set": [],
    "notes": null,
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-07-27T00:00:00",
      "concurrent_usage_based_pricing": {
        "concurrent_usage": null,
        "rate_percentage": null
      },
      "billing_term_scheme": {
        "life_cycle_state": "EFFECTIVE",
        "billing_method": "PERIOD",
        "classification": "JOBS",
        "id": "9C0B2B52003EFEEE0864212F34D41229",
        "name": "P Job Billing Term Scheme",
        "code": "PJBTS",
        "billing_type": "NORMAL"
      },
      "effective_date": "2016-07-27T00:00:00",
      "billing_frequency": null,
      "id": "491300672EAA43DEAFE8DEEA56ACA8C0",
      "allowed_cancel_date": null,
      "expiration_date": null,
      "billing_cycle_day": 1,
      "price_plan": {
        "effective_date": "2016-04-08T00:00:00",
        "type": "BASE",
        "id": "62F4D4E787AD4ACC895FD1D066037353",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": null
      }
    },
    "number": "JOB000803",
    "estimated_completion_time": {
      "time_period_value": 1,
      "time_period_uot": "WEEKS"
    },
    "requested_subscription_services_set": [
      {
        "product_bundle": {
          "product_bundle": null,
          "swap_product": null,
          "provisioning_distributor": null,
          "id": "4BC4438CDB724BCFBDE4F13FF874DE34",
          "product": {
            "product_type": {
              "service_type": "TERMED",
              "physical_good_type": null,
              "used_for_provisioning": true,
              "classification": "SERVICES",
              "composition_method": "FLEXIBLEBUNDLE",
              "id": "5201498FD6B048B2B58E7506440F43E7",
              "name": "Termed - Flexible",
              "description": "Flexible bundle product",
              "alternative_code": "T-Flex"
            },
            "id": "61065477FC2149599858771AC74E401B",
            "description": null,
            "code": "Silver FLEX",
            "alternative_code": "SLV-FLX"
          }
        },
        "swap_product": null,
        "provisioning_distributor": null,
        "id": "9B64B096A6EA4E65BC33095E2FE147A4",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "600438B64B0F05AB3D020C902674949F",
            "name": "Subscription services",
            "description": "Subscription services",
            "alternative_code": "SS"
          },
          "id": "E3600383FF2650A594594F10BEB358D5",
          "description": "Cartoons 2",
          "code": "Cartoons 2",
          "alternative_code": "C2"
        }
      },
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": {
          "id": "9653D381D3874E9A9CABCE9C2585C253",
          "name": "CONAX SMS Main",
          "alternative_code": "CONAX_SMS_Main"
        },
        "id": "2C79161482984718BA1FDE0DE0F1E760",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "600438B64B0F05AB3D020C902674949F",
            "name": "Subscription services",
            "description": "Subscription services",
            "alternative_code": "SS"
          },
          "id": "5B3841D63F6CAE5973366EEAFF3444E3",
          "description": "Movies 1",
          "code": "Movies 1",
          "alternative_code": "M1"
        }
      },
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": {
          "id": "9653D381D3874E9A9CABCE9C2585C253",
          "name": "CONAX SMS Main",
          "alternative_code": "CONAX_SMS_Main"
        },
        "id": "8C5A1BB3CA2541A9A153BC9348E7C21D",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "600438B64B0F05AB3D020C902674949F",
            "name": "Subscription services",
            "description": "Subscription services",
            "alternative_code": "SS"
          },
          "id": "EBAC84F9A0086191BD58B624D236D61D",
          "description": "Sports 1",
          "code": "Sports 1",
          "alternative_code": "S1"
        }
      },
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": null,
        "id": "4BC4438CDB724BCFBDE4F13FF874DE34",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLEXIBLEBUNDLE",
            "id": "5201498FD6B048B2B58E7506440F43E7",
            "name": "Termed - Flexible",
            "description": "Flexible bundle product",
            "alternative_code": "T-Flex"
          },
          "id": "61065477FC2149599858771AC74E401B",
          "description": null,
          "code": "Silver FLEX",
          "alternative_code": "SLV-FLX"
        }
      },
      {
        "product_bundle": null,
        "swap_product": null,
        "provisioning_distributor": {
          "id": "9653D381D3874E9A9CABCE9C2585C253",
          "name": "CONAX SMS Main",
          "alternative_code": "CONAX_SMS_Main"
        },
        "id": "AB39FAF2312346589A4A98CD4B1FBB2F",
        "product": {
          "product_type": {
            "service_type": "TERMED",
            "physical_good_type": null,
            "used_for_provisioning": true,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "BC954969D3172372D498D3BB2BA590A0",
            "name": "Subscription Packages",
            "description": "Subscription main packages",
            "alternative_code": "SP"
          },
          "id": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
          "description": "Gold Premium Package",
          "code": "Gold",
          "alternative_code": "GPP"
        }
      }
    ],
    "subscription_services_set": null,
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "start_date": "2016-07-27T15:30:00",
    "udf_date_4": null,
    "requested_expenses_set": [],
    "rating_state": "PENDING",
    "owned_by_group": {
      "community_name": "Internal Community",
      "id": "84F33366CB592BAAE7E2044D93611C6A",
      "name": "Main Group",
      "description": "Main Group",
      "alternative_code": "MG1"
    },
    "status": {
      "life_cycle_state": "DRAFT",
      "id": "0F1EE97BD63642699FFAEB461F471147",
      "name": "Draft",
      "description": null,
      "alternative_code": "D"
    },
    "subscription_physical_goods_set": null,
    "actual_completed_date": null,
    "description": "New subscription for Anton Mara",
    "category": null
  }
}

POST jobs/new_subscription/update

This method updates jobs of fulfillment scope New Subscription.  Single job can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

The identifier of the job. The allowed job identifier fields are the following:

...

status_identifier
(optional)

...

The identifier of the status of the new job. The allowed job status identifier fields are the following:

...

category_identifier
(optional)

...

The identifier of the category of the new job. The allowed job category identifier fields are the following:

...

notes
(optional)

...

contact_email

(optional)

...

The email of the customer related with the job, which will be used in order to communicate the job

 

...

contact_phone

(optional)

...

 The phone of the customer related with the job, which will be used in order to communicate the job

...

start_date
(optional)

...

location_identifier
(optional)

...

The identifier of the location of the new job. The allowed job location identifier fields are the following:

...

owned_by_group_identifier
(optional)

...

The owned by group information of the job. The allowed group identifier fields are the following:

...

privacy_level_identifier
(optional)

...

The privacy level of the job. The allowed privacy level identifier fields are the following:

...

udf_string_1
(optional)

...

User Defined Field of type String

...

udf_string_2
(optional)

...

User Defined Field of type String

...

udf_string_3
(optional)

...

User Defined Field of type String

...

udf_string_4
(optional)

...

User Defined Field of type String

...

udf_string_5
(optional)

...

User Defined Field of type String

...

udf_string_6
(optional)

...

User Defined Field of type String

...

udf_string_7
(optional)

...

User Defined Field of type String

...

udf_string_8
(optional)

...

User Defined Field of type String

...

udf_float_1
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4
(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4
(optional)

...

Date

...

User Defined Field of type Date

...

expected_completion_date
(optional)

...

estimated_completion_time
(optional)

...

requested_subscription_billing_terms

(optional)

...

The billing terms of the subscription that will be provided as part of the job. This information is applicable if the job is still draft or pending

...

requested_subscription_services_set

(optional)

...

The requested subscription services to be provided as part of the New Subscription that will be delivered. This information is applicable only if the job is draft or pending

...

requested_physical_goods_set

(optional)

...

The requested physical goods. This information is applicable only if the job is draft or pending

...

requested_subscription_physical_goods_set

(optional)

...

The requested subscription physical goods to be provided as part of the New Subscription that will be delivered. This information is applicable only if the job is draft or pending

...

requested_expenses_set

(optional)

...

The requested expenses. This information is applicable only if the job is draft or pending

...

requested_activity_services_set

(optional)

...

The requested activity services. This information is applicable only if the job is draft or pending

...

The physical goods that will be provided as part of the retrieved job. This information is applicable only if the job is in progress

...

A list of one time services which are applied on the retrieved job as expenses. This information is applicable only if the job is in progress

...

fields_set

(optional)

...

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.

Response Data

...

Examples

HTTP Method: POST 

Request:

Body:

 
Expand
titleExample 1
Code Block
themeConfluence
languagejavascript
linenumberstrue
Panel
nameblue

Child pages (Children Display)
excerpttrue