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/activate_subscription/show

This method returns information related with a job of fulfillment scope Activate 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": [
      {
        "id": "D036089716AE44EF8D8432245933E768",
        "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,
    "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": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "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": [
      {
        "installed_item": {
          "state": "EFFECTIVE",
          "serial_number": "Decoder1_010",
          "id": "9E828B7B301044BC84B1C01BF6D01F43",
          "alternative_code": "Decoder1_010",
          "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"
          }
        },
        "id": "88D3E6073AFF46B28F7BB6801A1B0BF7",
        "quantity": null,
        "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"
        }
      }
    ],
    "udf_string_8": null,
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Mika",
        "middle_name": "m",
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Mr",
        "first_name": "Darko",
        "type": "PERSON",
        "id": "531C8308457947EFAFA91776AA4F4B4E",
        "name": "Mika Darko",
        "company_name": null,
        "demographics": {
          "gender": "MALE",
          "passport_issued_by_country": null,
          "social_security_number": null,
          "passport_number": null,
          "industry_sector": null,
          "country_of_residence": {
            "three_character_code": "USA",
            "two_character_code": "US",
            "id": "127",
            "name": "UNITED STATES",
            "alternative_code": null
          },
          "name_day": {
            "month": null,
            "day": null
          },
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "id_number": "1457889",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR000524",
      "id": "89B7FB03A56E41DBA49EE7D9ED0D95C6",
      "name": "Darko"
    },
    "id": "C8B56BBC679C4368A7B8E19ACCE98449",
    "subscription": {
      "life_cycle_state": "NOT_EFFECTIVE",
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Mika",
          "middle_name": "m",
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": "Mr",
          "first_name": "Darko",
          "type": "PERSON",
          "id": "531C8308457947EFAFA91776AA4F4B4E",
          "name": "Mika Darko",
          "company_name": null,
          "demographics": {
            "gender": "MALE",
            "passport_issued_by_country": null,
            "social_security_number": null,
            "passport_number": null,
            "industry_sector": null,
            "country_of_residence": {
              "three_character_code": "USA",
              "two_character_code": "US",
              "id": "127",
              "name": "UNITED STATES",
              "alternative_code": null
            },
            "name_day": {
              "month": null,
              "day": null
            },
            "date_of_birth": {
              "month": null,
              "day": null,
              "year": null
            },
            "id_number": "1457889",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR000524",
        "id": "89B7FB03A56E41DBA49EE7D9ED0D95C6",
        "name": "Darko"
      },
      "number": "S60425",
      "type": {
        "id": "3100B0D56E7C7EADF073C34BCE1E42AF",
        "name": "London2",
        "description": null,
        "alternative_code": "LND2"
      },
      "id": "AD68231D924942628726D9683A55121B",
      "first_activated_date": null,
      "rating_state": "PENDING"
    },
    "requested_activity_services_set": [],
    "expected_completion_date": "2016-03-05T08:16:54",
    "time_to_completion": {
      "time_period_value": null,
      "time_period_uot": null
    },
    "time_overdue": {
      "time_period_value": 4.548387096774194,
      "time_period_uot": "MONTHS"
    },
    "log_information": {
      "updated_date": "2016-03-04T08:44:03",
      "created_date": "2016-03-04T08:16:54",
      "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": "25",
      "care_of": null,
      "udf_string_11": null,
      "udf_float_1": null,
      "street_name": "Test",
      "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": 3,
      "udf_string_2": null,
      "area": "51",
      "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": "USA",
        "two_character_code": "US",
        "id": "127",
        "name": "UNITED STATES",
        "alternative_code": null
      },
      "id": "CF9D58AD589049C49220D52E9D61F3E3",
      "postal_code": "2222",
      "udf_date_1": null,
      "udf_date_2": null,
      "udf_date_3": null,
      "udf_date_4": null,
      "po_box_postal_code": null,
      "apartment_number": "301",
      "town_city": "Nicosia",
      "type": "BUSINESS",
      "municipality": null
    },
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "ACTIVATE_SUBSCRIPTION",
      "id": "A27C03160F22451DB67A090495E69E45",
      "name": "Activate Subscription",
      "description": null,
      "alternative_code": "AS"
    },
    "contact_email": null,
    "expenses_set": [],
    "notes": null,
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-03-04T00: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": "1B708E843AF1497595A4EE39A1F62ED0",
        "name": "Jobs Scheme - Concurrent",
        "code": "Jobs Scheme - Concurrent",
        "billing_type": "NORMAL"
      },
      "effective_date": "2016-03-04T00:00:00",
      "billing_frequency": null,
      "id": "071D4BCF60B14E4C916EE2F59DF1EB31",
      "allowed_cancel_date": null,
      "expiration_date": null,
      "billing_cycle_day": null,
      "price_plan": {
        "effective_date": "2015-12-20T00:00:00",
        "type": "BASE",
        "id": "5AA9D4219DA549048AB263635CA6AD09",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": "2016-04-08T00:00:00"
      }
    },
    "number": "JOB000495",
    "estimated_completion_time": {
      "time_period_value": 1,
      "time_period_uot": "DAYS"
    },
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "start_date": "2016-03-04T08:16:54",
    "udf_date_4": null,
    "rating_state": null,
    "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"
    },
    "actual_completed_date": null,
    "description": null,
    "category": null
  }
}

POST jobs/activate_subscription/create

This method creates a job of fulfillment scope Activate 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:

...

subscription_identifier

(mandatory)

...

The identifier of the subscription that will be activated through the new job. The allowed subscription 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)

...

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)

...

The billing terms of the job to be created. This information is applicable and mandatory only if the job is billable

...

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_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":"44720BFD213D4498BCD6DCD52B342D12",
"type_identifier":{"name":"Activate Subscription"},
"status_identifier": {"name":"Draft"},
"accounts_receivable_identifier":{"number":"ACR001181"},
"subscription_identifier":{"number":"S61010"},
"contact_email":"m_antoniadou@crm.com",
"contact_phone":"99232321",
"description":"Activate Subscription S61010 for ACR001181",
"start_date":"2016-07-27T15:00:00",
"owned_by_group_identifier":{"name":"Main Group"},
"privacy_level_identifier":{"number":"30"},
"estimated_completion_time":
{
    "time_period_value":2,
    "time_period_uot":"DAYS"
},
"billing_terms":
{
    "billing_term_scheme_identifier":{"code":"PJBTS"},
    "price_plan_identifier":{"code":"BPP0614"},
    "agreement_date":"2016-07-27T15:00:00"
},
"assigned_to":
{
    "user_identifier":{"username":"MPAdministrator"}
},
"requested_physical_goods_set":
[
    {
        "product_identifier":{"code":"Monitor"},
        "quantity":1
    }
],
"requested_activity_services_set":
[
     {
        "activity_type_identifier":{"alternative_code":"MV"},
        "product_identifier":{"code":"Installation Fee"}
    },
    {
        "activity_type_identifier":{"name":"Maintenance visits"},
        "product_identifier":{"code":"Maintenance Fee"}
    }
],
"requested_expenses_set":
[
    {
        "product_identifier":{"code":"Expence 1"}
    }
]
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "notes": null,
    "requested_physical_goods_set": [
      {
        "id": "B1A54ED8DB294CE4923E692EDF906052",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "FA802647636A11B7B74B582A688B968D",
            "name": "Cameras",
            "description": "Cameras",
            "alternative_code": "CA"
          },
          "id": "1133F2CA7DEF919EB7328B2C32097152",
          "description": null,
          "code": "Monitor",
          "alternative_code": "MT"
        }
      }
    ],
    "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": "AF02B6F69CC34DAFABFA0A93CF610584",
      "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
      }
    },
    "service_request": null,
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "number": "JOB000807",
    "udf_float_4": null,
    "udf_string_1": 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_2": null,
    "privacy_level": {
      "number": "30",
      "hierarchy_level": 4,
      "id": "7A1073B8F31C648A8D6103BD4F83F90D",
      "name": "Low"
    },
    "estimated_completion_time": {
      "time_period_value": 2,
      "time_period_uot": "DAYS"
    },
    "udf_string_3": null,
    "udf_string_4": null,
    "contact_phone": "99232321",
    "udf_string_5": null,
    "activities_set": [],
    "udf_string_6": null,
    "physical_goods_set": [],
    "udf_string_7": null,
    "udf_string_8": 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": "ACR001181",
      "id": "F3099F07ECD242ACB4D5949E7A5E341C",
      "name": "ACR001181"
    },
    "id": "9432C3A98F724097BD1B515DEB2D0DA9",
    "subscription": {
      "life_cycle_state": "DRAFT",
      "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": "ACR001181",
        "id": "F3099F07ECD242ACB4D5949E7A5E341C",
        "name": "ACR001181"
      },
      "number": "S61010",
      "type": {
        "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
        "name": "London",
        "description": "Subscription for London customers",
        "alternative_code": "LND"
      },
      "id": "F39AC395FEAF4F3D9082DD98756640AB",
      "first_activated_date": null,
      "rating_state": "PENDING"
    },
    "requested_activity_services_set": [
      {
        "activity_type": {
          "id": "6D0C79835F7B0059D3BD1A51F2A03F41",
          "name": "Maintenance visits",
          "description": "maintenance visits",
          "alternative_code": "MV"
        },
        "id": "F14DAE349BD64F0E832849B35931CC03",
        "product": {
          "product_type": {
            "service_type": "EXPENSE",
            "physical_good_type": null,
            "used_for_provisioning": false,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "67FA013211E348C58F7CD27F8399AADE",
            "name": "Expense Type",
            "description": null,
            "alternative_code": "ET"
          },
          "id": "8F7A45F44BBEB320718F309F58CCE097",
          "description": "Installation",
          "code": "Installation Fee",
          "alternative_code": "Ins"
        }
      },
      {
        "activity_type": {
          "id": "6D0C79835F7B0059D3BD1A51F2A03F41",
          "name": "Maintenance visits",
          "description": "maintenance visits",
          "alternative_code": "MV"
        },
        "id": "300EA571097E4A82A2F2F15EF5CAB9B4",
        "product": {
          "product_type": {
            "service_type": "ONETIME",
            "physical_good_type": null,
            "used_for_provisioning": false,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
            "name": "One Time Services - Flat",
            "description": "A type which is used for one time services",
            "alternative_code": "OTS-F"
          },
          "id": "8B58C14194D51E560F0E49B0292EA56F",
          "description": null,
          "code": "Maintenance Fee",
          "alternative_code": "MC"
        }
      }
    ],
    "udf_date_1": null,
    "udf_date_2": null,
    "expected_completion_date": "2016-07-29T15:00:00",
    "udf_date_3": null,
    "udf_date_4": null,
    "start_date": "2016-07-27T15:00:00",
    "time_overdue": {
      "time_period_value": null,
      "time_period_uot": null
    },
    "time_to_completion": {
      "time_period_value": 2,
      "time_period_uot": "DAYS"
    },
    "rating_state": "PENDING",
    "requested_expenses_set": [
      {
        "id": "4F9AE0DA16214895849C97D55DBA9DD9",
        "product": {
          "product_type": {
            "service_type": "EXPENSE",
            "physical_good_type": null,
            "used_for_provisioning": false,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "67FA013211E348C58F7CD27F8399AADE",
            "name": "Expense Type",
            "description": null,
            "alternative_code": "ET"
          },
          "id": "2855ACFCB7D94ED69A5FC3B9557EB6D6",
          "description": "Expence 1",
          "code": "Expence 1",
          "alternative_code": "exp1"
        }
      }
    ],
    "log_information": {
      "updated_date": "2016-07-27T18:05:01",
      "created_date": "2016-07-27T18:04:59",
      "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"
      }
    },
    "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"
    },
    "actual_completed_date": null,
    "location": {
      "udf_string_10": null,
      "street_number": "10",
      "care_of": null,
      "udf_string_11": null,
      "udf_float_1": null,
      "street_name": "Athalassis",
      "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": "1136525",
      "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": "3B808C39809A431EAE83C7FD2584D7D8",
      "postal_code": null,
      "udf_date_1": null,
      "udf_date_2": null,
      "udf_date_3": null,
      "udf_date_4": null,
      "po_box_postal_code": "3654",
      "apartment_number": "203",
      "town_city": "Nicosia",
      "type": "POBOX",
      "municipality": null
    },
    "life_cycle_state": "DRAFT",
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "ACTIVATE_SUBSCRIPTION",
      "id": "A27C03160F22451DB67A090495E69E45",
      "name": "Activate Subscription",
      "description": null,
      "alternative_code": "AS"
    },
    "description": "Activate Subscription S61010 for ACR001181",
    "contact_email": "m_antoniadou@crm.com",
    "expenses_set": [],
    "category": null
  }
}
Expand
titleExample 2

HTTP Method: POST 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
"token":"6212134C7E7F4942B641263F96140355",
"type_identifier":{"name":"Activate Subscription"},
"status_identifier": {"name":"Draft"},
"accounts_receivable_identifier":{"number":"ACR001143"},
"subscription_identifier":{"number":"S61000"},
"contact_phone":"99232321",
"description":"Activate Subscription S61010 for Anton Mara",
"start_date":"2016-07-26T15:00:00",
"owned_by_group_identifier":{"name":"Main Group"},
"estimated_completion_time":
{
    "time_period_value":2,
    "time_period_uot":"DAYS"
},
"billing_terms":
{
    "billing_term_scheme_identifier":{"code":"PJBTS"},
    "price_plan_identifier":{"code":"BPP0614"},
    "agreement_date":"2016-07-26T15:00:00"
},
"assigned_to":
{
    "user_identifier":{"username":"MPAdministrator"}
},
"requested_physical_goods_set":
[
    {
        "product_identifier":{"code":"Monitor"},
        "quantity":1
    }
],
"requested_activity_services_set":
[
    {
        "activity_type_identifier":{"name":"Onside Deliveries"},
        "product_identifier":{"code":"Home Delivery"}
    }
],
"fields_set":"id,number,life_cycle_state,start_date,expected_completion_date,assigned_to,type,status,subscription,time_to_completion,accounts_receivable,requested_physical_goods_set,requested_expenses_set,requested_activity_services_set,physical_goods_set,expenses_set,activities_set"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "requested_activity_services_set": [
      {
        "activity_type": {
          "id": "CB7953F4D06C4135A794623C9F1620D8",
          "name": "Onside Deliveries",
          "description": null,
          "alternative_code": "OD"
        },
        "id": "B0FFCC747EFD486EB0432C721BC15175",
        "product": {
          "product_type": {
            "service_type": "ONETIME",
            "physical_good_type": null,
            "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": "2AEC889AEC884E83B67A1FF478E34FE0",
          "description": null,
          "code": "Home Delivery",
          "alternative_code": "H_D"
        }
      }
    ],
    "requested_physical_goods_set": [
      {
        "id": "A7DC7335AD514F38AF97AF4447894D82",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "FA802647636A11B7B74B582A688B968D",
            "name": "Cameras",
            "description": "Cameras",
            "alternative_code": "CA"
          },
          "id": "1133F2CA7DEF919EB7328B2C32097152",
          "description": null,
          "code": "Monitor",
          "alternative_code": "MT"
        }
      }
    ],
    "number": "JOB000785",
    "expected_completion_date": "2016-07-28T15:00:00",
    "start_date": "2016-07-26T15:00:00",
    "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"
      }
    },
    "time_to_completion": {
      "time_period_value": 2,
      "time_period_uot": "DAYS"
    },
    "requested_expenses_set": [],
    "activities_set": [],
    "physical_goods_set": [],
    "status": {
      "life_cycle_state": "DRAFT",
      "id": "0F1EE97BD63642699FFAEB461F471147",
      "name": "Draft",
      "description": null,
      "alternative_code": "D"
    },
    "life_cycle_state": "DRAFT",
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Anton",
        "middle_name": "N",
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Mrs",
        "first_name": "Marina",
        "type": "PERSON",
        "id": "EE621BE231714DFE8CE370261BF6DB25",
        "name": "Anton Marina",
        "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": "8945612",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR001143",
      "id": "C88FBE77E4504F3791C219A7DCE21843",
      "name": "ACR001143"
    },
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "ACTIVATE_SUBSCRIPTION",
      "id": "A27C03160F22451DB67A090495E69E45",
      "name": "Activate Subscription",
      "description": null,
      "alternative_code": "AS"
    },
    "id": "630AA06D044F47F6A9C665A340D2B086",
    "subscription": {
      "life_cycle_state": "DRAFT",
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Anton",
          "middle_name": "N",
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": "Mrs",
          "first_name": "Marina",
          "type": "PERSON",
          "id": "EE621BE231714DFE8CE370261BF6DB25",
          "name": "Anton Marina",
          "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": "8945612",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR001143",
        "id": "C88FBE77E4504F3791C219A7DCE21843",
        "name": "ACR001143"
      },
      "number": "S61000",
      "type": {
        "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
        "name": "London",
        "description": "Subscription for London customers",
        "alternative_code": "LND"
      },
      "id": "47682F746E004BDA865C90BAFE54DCA7",
      "first_activated_date": null,
      "rating_state": "PENDING"
    },
    "expenses_set": []
  }
}

POST jobs/activate_subscription/update

This method updates jobs of fulfillment scope Activate 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)

...

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)

...

The billing terms of the retrieved job.This information is applicable if the job is still draft or pending and if the job is billable

...

requested_physical_goods_set

(optional)

...

The requested physical goods. 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

Expand
titleExample 1

HTTP Method: POST 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
"token":"44720BFD213D4498BCD6DCD52B342D12",
"job_identifier":{"number":"JOB000785"},
"contact_email":"m_antoniadou@crm.com",
"requested_physical_goods_set":
[
    {
        "action":"REMOVE",
        "job_requested_physical_good_identifier":
        {
            "product_identifier":{"code":"Wires"}
        }
    }
],
"requested_expenses_set":
[
    {
        "action":"ADD",
        "product_identifier":{"code":"Expence 3"}
    }
]
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "notes": null,
    "requested_physical_goods_set": [
      {
        "id": "A7DC7335AD514F38AF97AF4447894D82",
        "quantity": 1,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": true,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "FA802647636A11B7B74B582A688B968D",
            "name": "Cameras",
            "description": "Cameras",
            "alternative_code": "CA"
          },
          "id": "1133F2CA7DEF919EB7328B2C32097152",
          "description": null,
          "code": "Monitor",
          "alternative_code": "MT"
        }
      }
    ],
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-07-26T00: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-26T00:00:00",
      "billing_frequency": null,
      "id": "D7C9141585254692AD88B0AA755C5E4D",
      "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
      }
    },
    "service_request": null,
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "number": "JOB000785",
    "udf_float_4": null,
    "udf_string_1": 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": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "udf_string_2": null,
    "privacy_level": null,
    "estimated_completion_time": {
      "time_period_value": 2,
      "time_period_uot": "DAYS"
    },
    "udf_string_3": null,
    "udf_string_4": null,
    "contact_phone": "99232321",
    "udf_string_5": null,
    "activities_set": [],
    "udf_string_6": null,
    "physical_goods_set": [],
    "udf_string_7": null,
    "udf_string_8": null,
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Anton",
        "middle_name": "N",
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Mrs",
        "first_name": "Marina",
        "type": "PERSON",
        "id": "EE621BE231714DFE8CE370261BF6DB25",
        "name": "Anton Marina",
        "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": "8945612",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR001143",
      "id": "C88FBE77E4504F3791C219A7DCE21843",
      "name": "ACR001143"
    },
    "id": "630AA06D044F47F6A9C665A340D2B086",
    "subscription": {
      "life_cycle_state": "DRAFT",
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Anton",
          "middle_name": "N",
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": "Mrs",
          "first_name": "Marina",
          "type": "PERSON",
          "id": "EE621BE231714DFE8CE370261BF6DB25",
          "name": "Anton Marina",
          "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": "8945612",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR001143",
        "id": "C88FBE77E4504F3791C219A7DCE21843",
        "name": "ACR001143"
      },
      "number": "S61000",
      "type": {
        "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
        "name": "London",
        "description": "Subscription for London customers",
        "alternative_code": "LND"
      },
      "id": "47682F746E004BDA865C90BAFE54DCA7",
      "first_activated_date": null,
      "rating_state": "PENDING"
    },
    "requested_activity_services_set": [
      {
        "activity_type": {
          "id": "CB7953F4D06C4135A794623C9F1620D8",
          "name": "Onside Deliveries",
          "description": null,
          "alternative_code": "OD"
        },
        "id": "B0FFCC747EFD486EB0432C721BC15175",
        "product": {
          "product_type": {
            "service_type": "ONETIME",
            "physical_good_type": null,
            "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": "2AEC889AEC884E83B67A1FF478E34FE0",
          "description": null,
          "code": "Home Delivery",
          "alternative_code": "H_D"
        }
      }
    ],
    "udf_date_1": null,
    "udf_date_2": null,
    "expected_completion_date": "2016-07-28T15:00:00",
    "udf_date_3": null,
    "udf_date_4": null,
    "start_date": "2016-07-26T15:00:00",
    "time_overdue": {
      "time_period_value": null,
      "time_period_uot": null
    },
    "time_to_completion": {
      "time_period_value": 1,
      "time_period_uot": "DAYS"
    },
    "rating_state": "PENDING",
    "requested_expenses_set": [
      {
        "id": "EC5B67E642EC45E89B9C18011CD97DD3",
        "product": {
          "product_type": {
            "service_type": "EXPENSE",
            "physical_good_type": null,
            "used_for_provisioning": false,
            "classification": "SERVICES",
            "composition_method": "FLAT",
            "id": "67FA013211E348C58F7CD27F8399AADE",
            "name": "Expense Type",
            "description": null,
            "alternative_code": "ET"
          },
          "id": "740740215DE842E296529F1034DF84AB",
          "description": "Expence 3",
          "code": "Expence 3",
          "alternative_code": "exp3"
        }
      }
    ],
    "log_information": {
      "updated_date": "2016-07-27T16:15:06",
      "created_date": "2016-07-26T16:42:04",
      "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": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "owned_by_group": {
      "community_name": "Internal Community",
      "id": "84F33366CB592BAAE7E2044D93611C6A",
      "name": "Main Group",
      "description": "Main Group",
      "alternative_code": "MG1"
    },
    "status": {
      "life_cycle_state": "PENDING",
      "id": "59310E86D1DD626A04102462FC3E9D1B",
      "name": "To be Approved",
      "description": "To be Accepted",
      "alternative_code": "TBA"
    },
    "actual_completed_date": null,
    "location": {
      "udf_string_10": null,
      "street_number": "10",
      "care_of": null,
      "udf_string_11": null,
      "udf_float_1": null,
      "street_name": "Arsinoes",
      "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": 4,
      "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": "59A2696666C94730AFFCE58319B429E6",
      "postal_code": "1256",
      "udf_date_1": null,
      "udf_date_2": null,
      "udf_date_3": null,
      "udf_date_4": null,
      "po_box_postal_code": null,
      "apartment_number": "400",
      "town_city": null,
      "type": "BUSINESS",
      "municipality": null
    },
    "life_cycle_state": "PENDING",
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "ACTIVATE_SUBSCRIPTION",
      "id": "A27C03160F22451DB67A090495E69E45",
      "name": "Activate Subscription",
      "description": null,
      "alternative_code": "AS"
    },
    "description": "Activate Subscription S61000 for Anton Marina",
    "contact_email": "m_antoniadou@crm.com",
    "expenses_set": [],
    "category": null
  }
}

HTTP Method: POST 

Request:

Body:

Expand
titleExample 2
Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
"token":"44720BFD213D4498BCD6DCD52B342D12",
"job_identifier":{"number":"JOB000657"},
"physical_goods_set":
[
    {
        "action":"ADD",
        "product_identifier":{"code":"Wires"},
        "quantity":1
    }
],
"expenses_set":
[
    {
        "action":"REMOVE",
        "job_expense_identifier":
        {   
            "product_identifier":{"code":"Expence 3"}
        }
    }
],
"fields_set":"id,number,life_cycle_state,type,subscription,time_overdue,requested_physical_goods_set,requested_expenses_set,requested_activity_services_set,physical_goods_set,expenses_set,activities_set"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{ "status": { "message": "", "description": "", "code": "OK" }, "data": { "activities_set": [ { "life_cycle_state": "COMPLETED", "number": "ACT000618", "type": { "id": "F609C9D1CD43463DA810B1EC415BB5E1", "name": "Meeting", "description": null, "alternative_code": "M" }, "id": "2AC6B1465FE64F819D0AC83FF092ABDD", "contact_information": { "last_name": "Anton", "middle_name": "N", "life_cycle_state": "FINANCIAL", "company_profile": null, "title": "Mrs", "first_name": "Marina", "type": "PERSON", "id": "EE621BE231714DFE8CE370261BF6DB25", "name": null, "company_name": null, "demographics": { "gender": "FEMALE", "passport_issued_by_country": null, "social_security_number": null, "passport_number": null, "industry_sector": null, "name_day": { "month": null, "day": null }, "date_of_birth": { "month": null, "day": null, "year": null }, "id_number": "8945612", "industry": null, "id_issued_by_country": null } } }, { "life_cycle_state": "COMPLETED", "number": "ACT000617", "type": { "id": "CB7953F4D06C4135A794623C9F1620D8", "name": "Onside Deliveries", "description": null, "alternative_code": "OD" }, "id": "B6E5288E957244DD85E50738E2FCF75B", "contact_information": { "last_name": "Anton", "middle_name": "N", "life_cycle_state": "FINANCIAL", "company_profile": null, "title": "Mrs", "first_name": "Marina", "type": "PERSON", "id": "EE621BE231714DFE8CE370261BF6DB25", "name": null, "company_name": null, "demographics": { "gender": "FEMALE", "passport_issued_by_country": null, "social_security_number": null, "passport_number": null, "industry_sector": null, "name_day": { "month": null, "day": null }, "date_of_birth": { "month": null, "day": null, "year": null }, "id_number": "8945612", "industry": null, "id_issued_by_country": null } } } ], "requested_activity_services_set": [ { "activity_type": { "id": "F609C9D1CD43463DA810B1EC415BB5E1", "name": "Meeting", "description": null, "alternative_code": "M" }, "id": "9934B692EF064487864351A37B4821B2", "product": { "product_type": { "service_type": "EXPENSE", "physical_good_type": null, "used_for_provisioning": false, "classification": "SERVICES", "composition_method": "FLAT", "id": "67FA013211E348C58F7CD27F8399AADE", "name": "Expense Type", "description": null, "alternative_code": "ET" }, "id": "28709F00389D79015AF4511B4A1BDFF6", "description": "Meeting Fees", "code": "MFee", "alternative_code": "MFee" } }, { "activity_type": { "id": "CB7953F4D06C4135A794623C9F1620D8", "name": "Onside Deliveries", "description": null, "alternative_code": "OD" }, "id": "29E7A57042D448E0B53CADFF9AC45000", "product": { "product_type": { "service_type": "ONETIME", "physical_good_type": null, "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": "2AEC889AEC884E83B67A1FF478E34FE0", "description": null, "code": "Home Delivery", "alternative_code": "H_D" } } ], "physical_goods_set": [ { "installed_item": null, "id": "26D403199FB54D4A9C8BD4C114634A4B", "quantity": 1, "product": { "product_type": { "service_type": null, "physical_good_type": "NONTRACEABLE", "used_for_provisioning": false, "classification": "PHYSICALGOODS", "composition_method": "FLAT", "id": "0F94B51F175F06A475EB2948B4030074", "name": "Accessories", "description": "A type which is used for accessories physical goods", "alternative_code": "005" }, "id": "DDFF5B5A724BEBF5459753B262730479", "description": null, "code": "Wires", "alternative_code": "WR" } } ], "requested_physical_goods_set": [ { "id": "81EEA291B0CC42089FB65FAF84428244", "quantity": 1, "product": { "product_type": { "service_type": null, "physical_good_type": "NONTRACEABLE", "used_for_provisioning": false, "classification": "PHYSICALGOODS", "composition_method": "FLAT", "id": "0F94B51F175F06A475EB2948B4030074", "name": "Accessories", "description": "A type which is used for accessories physical goods", "alternative_code": "005" }, "id": "DDFF5B5A724BEBF5459753B262730479", "description": null, "code": "Wires", "alternative_code": "WR" } } ], "life_cycle_state": "IN_PROGRESS", "number": "JOB000657", "type": { "fulfillment_method": "BASED_ON_ORDERED_ITEMS", "fulfillment_scope": "ACTIVATE_SUBSCRIPTION", "id": "A27C03160F22451DB67A090495E69E45", "name": "Activate Subscription", "description": null, "alternative_code": "AS" }, "id": "FBED486D6DC34E759033829DCA2D9779", "subscription": { "life_cycle_state": "NOT_EFFECTIVE", "accounts_receivable": { "account_owner": { "last_name": "Anton", "middle_name": "N", "life_cycle_state": "FINANCIAL", "company_profile": null, "title": "Mrs", "first_name": "Marina", "type": "PERSON", "id": "EE621BE231714DFE8CE370261BF6DB25", "name": "Anton Marina", "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": "8945612", "industry": null, "id_issued_by_country": null } }, "life_cycle_state": "ACTIVE", "number": "ACR001143", "id": "C88FBE77E4504F3791C219A7DCE21843", "name": "ACR001143" }, "number": "S60981", "type": { "id": "D433A85FB6CD4880A1BCEEB1E164EFA4", "name": "London", "description": "Subscription for London customers", "alternative_code": "LND" }, "id": "80ABE8F26ACE44F9A84B1D7124CB5240", "first_activated_date": "2016-06-24T17:31:21", "rating_state": "PENDING" }, "expenses_set": [ { "id": "EA26AD8553584775B0DCF80BF559FB45", "product": { "product_type": { "service_type": "EXPENSE", "physical_good_type": null, "used_for_provisioning": false, "classification": "SERVICES", "composition_method": "FLAT", "id": "67FA013211E348C58F7CD27F8399AADE", "name": "Expense Type", "description": null, "alternative_code": "ET" }, "id": "740740215DE842E296529F1034DF84AB", "description": "Expence 3", "code": "Expence 3", "alternative_code": "exp3" } } ], "time_overdue": { "time_period_value": 4, "time_period_uot": "WEEKS" }, "requested_expenses_set": [ { "id": "D6A1B6503CE04F918209163FFCD6BABC", "product": { "product_type": { "service_type": "EXPENSE", "physical_good_type": null, "used_for_provisioning": false, "classification": "SERVICES", "composition_method": "FLAT", "id": "67FA013211E348C58F7CD27F8399AADE", "name": "Expense Type", "description": null, "alternative_code": "ET" }, "id": "740740215DE842E296529F1034DF84AB", "description": "Expence 3", "code": "Expence 3", "alternative_code": "exp3" } } ] } } Panel
nameblue

Child pages (Children Display)
excerpttrue