Versions Compared

Key

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

Starting from CRM.COM R10.0.0 the specified Web API methods will be deprecated, and although they will still be available in CRM.COM R10.0.0 they will not be maintained furthermore. 

 

Table of Contents
maxLevel2

GET jobs/show

This method returns information related with a job.  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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "notes": null,
        "billing_terms":
        {
            "binding_information": null,
            "agreement_date": "2014-09-12T09:04:08",
            "billing_term_scheme":
            {
                "billing_method": "PERIOD",
                "life_cycle_state": "EFFECTIVE",
                "classification": "JOBS",
                "name": "Exceptional Billing For Jobs",
                "id": "40F1FEAAB4300AA64B5C9F6E9B0CB42D",
                "code": "EBFJ",
                "billing_type": "NORMAL"
            },
            "concurrent_usage_based_pricing":
            {
                "rate_percentage": 100,
                "concurrent_usage": 1
            },
            "effective_date": "2014-09-12T00:00:00",
            "frequency_information": null,
            "id": "5D71F828E9E015281B871ED16D6D66F1",
            "allowed_cancel_date": null,
            "expiration_date": null,
            "price_plan":
            {
                "effective_date": "2014-07-30T00:00:00",
                "type": "BASE",
                "name": "Base PP for JOBS",
                "id": "044263BC7DA548A0A3A680C1E3FC6486",
                "description": null,
                "code": "BPP_JOBS",
                "expiration_date": null,
                "version_num": 1
            },
            "billing_cycle_day": null
        },
        "udf_float_1": null,
        "udf_float_2": null,
        "udf_float_3": null,
        "number": "271",
        "udf_float_4": null,
        "udf_string_1": null,
        "udf_string_2": null,
        "assigned_to":
        {
            "unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Marketing Unit",
                "id": "83922FE923563679768A94F58CAB5569",
                "description": "r1c1",
                "alternative_code": null
            },
            "user": null
        },
        "privacy_level": null,
        "udf_string_3": null,
        "udf_string_4": null,
        "udf_string_5": null,
        "activities_set":
        [
            {
                "life_cycle_state": "COMPLETED",
                "number": "299",
                "type":
                {
                    "name": "Maintenance visits",
                    "id": "96ACEF15192E579651A6D54874A8BF99",
                    "description": "Maintenance visits Activity Type",
                    "alternative_code": "MV"
                },
                "id": "2B1ABAB85E9A34A6F0C6A0B88CFB47AD",
                "contact_information":
                {
                    "last_name": "Ioannou47",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Marios",
                    "name": null,
                    "id": "1D9EAB36B5034D366494B58F3D036EFB",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                }
            },
            {
                "life_cycle_state": "COMPLETED",
                "number": "300",
                "type":
                {
                    "name": "Maintenance visits",
                    "id": "96ACEF15192E579651A6D54874A8BF99",
                    "description": "Maintenance visits Activity Type",
                    "alternative_code": "MV"
                },
                "id": "B6BF47AD00AE1D191AF6E4B9E861FDEF",
                "contact_information":
                {
                    "last_name": "Ioannou47",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Marios",
                    "name": null,
                    "id": "1D9EAB36B5034D366494B58F3D036EFB",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                }
            }
        ],
        "udf_string_6": null,
        "udf_string_7": null,
        "udf_string_8": null,
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Ioannou47",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": null,
                "type": "PERSON",
                "first_name": "Marios",
                "name": "Marios Ioannou47",
                "id": "1D9EAB36B5034D366494B58F3D036EFB",
                "company_name": null,
                "demographics":
                {
                    "gender": null,
                    "passport_issued_by_country": null,
                    "passport_number": null,
                    "social_security_number": null,
                    "country_of_residence":
                    {
                        "name": "UNITED KINGDOM",
                        "id": "126"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": null,
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "383",
            "name": "mar47",
            "id": "ED2406579342C640B1328A3B1AD0FACF"
        },
        "id": "C72935130557786A93CAB45397EE48ED",
        "udf_date_1": null,
        "udf_date_2": null,
        "udf_date_3": null,
        "expected_completion_date": "2014-09-17T09:03:49",
        "start_date": "2014-09-12T09:03:49",
        "udf_date_4": null,
        "time_to_completion":
        {
            "time_period_value": null
        },
        "time_overdue":
        {
            "time_period_value": 1.8,
            "time_period_uot": "MONTHS"
        },
        "bills_set":
        [
        ],
        "physical_goods_to_be_provided_set":
        [
        ],
        "owned_by_group":
        {
            "community_name": "Main Community",
            "name": "Main Group",
            "id": "84F33366CB592BAAE7E2044D93611C6A",
            "description": "Main Group",
            "alternative_code": "das"
        },
        "log_information":
        {
            "updated_date": "2014-09-12T09:39:31",
            "created_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2014-09-12T09:03:49",
            "updated_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": null
            },
            "updated_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": null
            }
        },
        "status":
        {
            "name": "To be approved",
            "id": "D1A29803CD1120B4BF08BDBF0838AF1A",
            "alternative_code": "TBA"
        },
        "actual_completed_date": null,
        "life_cycle_state": "PENDING",
        "location":
        {
            "care_of": null,
            "street_number": "123",
            "udf_string_10": null,
            "udf_float_1": null,
            "udf_string_11": null,
            "street_name": "123",
            "udf_float_2": null,
            "udf_string_12": null,
            "udf_float_3": null,
            "udf_string_13": null,
            "udf_float_4": null,
            "udf_string_14": null,
            "udf_string_15": null,
            "po_box": null,
            "udf_string_1": null,
            "udf_string_16": null,
            "udf_string_2": null,
            "floor": 123,
            "udf_string_3": null,
            "area": null,
            "udf_string_4": null,
            "district": null,
            "udf_string_5": null,
            "udf_string_6": null,
            "udf_string_7": null,
            "state": "Active",
            "udf_string_8": null,
            "udf_string_9": null,
            "country":
            {
                "name": "UNITED KINGDOM",
                "id": "126"
            },
            "id": "44EE035D5571D3AA752485083601CBCD",
            "postal_code": "123",
            "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
        },
        "estimate_completion_time":
        {
            "time_period_value": 5,
            "time_period_uot": "DAYS"
        },
        "type":
        {
            "name": "Installations",
            "id": "A2BB42B91DBA4D3FEE5613D20C161A17",
            "alternative_code": "IN"
        },
        "description": null,
        "category":
        {
            "name": "Installations",
            "id": "194CA3ACB5783924488F5F7E49FE82CC",
            "description": "Installations",
            "code": "IN"
        },
        "expenses_set":
        [
        ]
    }
}   

GET jobs/list

This method returns information related with jobs. Multiple jobs are returned by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(semi-optional)

...

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

...

type_identifier
(semi-optional)

...

The identifier of the job type related with the jobs that should be returned as a result. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": "premium tv package",
            "billing_terms": null,
            "udf_float_1": 10,
            "udf_float_2": 20,
            "udf_float_3": 30,
            "number": "J00000009",
            "udf_float_4": 40,
            "udf_string_1": "new udf string 1",
            "udf_string_2": "udf string 2",
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "privacy_level":
            {
                "number": "61",
                "hierarchy_level": 6,
                "name": "DPLG6",
                "id": "02D0A95A45CCC1D1834FFA6DC3D31F3D"
            },
            "udf_string_3": "udf string 3",
            "udf_string_4": "udf string 4",
            "udf_string_5": "udf string 5",
            "activities_set":
            [
            ],
            "udf_string_6": "udf string 6",
            "udf_string_7": "udf string 7",
            "udf_string_8": "udf string 8",
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Papapavlou",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Lucia",
                    "name": "Lucia Papapavlou",
                    "id": "691E4101DE919D4C87D3E1006EDDE08B",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "330",
                "name": "luc1",
                "id": "08D8AE790F1EE11887654469CC9F4C37"
            },
            "id": "6A910AAC45B074048BC76667BCF41812",
            "udf_date_1": "2014-05-05T15:49:59",
            "udf_date_2": "2014-06-05T15:49:59",
            "udf_date_3": "2014-07-05T15:49:59",
            "expected_completion_date": "2014-05-10T15:49:59",
            "start_date": "2014-09-05T15:49:59",
            "udf_date_4": "2014-08-05T15:49:59",
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": 6.033333333333333,
                "time_period_uot": "MONTHS"
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
                {
                    "installed_item": null,
                    "quantity": 5,
                    "id": "4299E65F6F1E2FF06BE0ED2A44B1C32C",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "NONTRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Accessories",
                            "id": "0F94B51F175F06A475EB2948B4030074",
                            "description": "A type which is used for accessories physical goods",
                            "alternative_code": "005"
                        },
                        "id": "97CF748815BEBA2B294148694D9E0B14",
                        "description": null,
                        "code": "Wires",
                        "alternative_code": "WI"
                    }
                },
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "d0000000003",
                        "id": "B822DB0FDD449694B6C90C83BA41BDB2",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Decoders",
                                "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                                "description": "Decoders",
                                "alternative_code": "D"
                            },
                            "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                            "description": "Decoders 2",
                            "code": "Decoders 1",
                            "alternative_code": "D1"
                        },
                        "alternative_code": "d0000000003"
                    },
                    "quantity": null,
                    "id": "7F180467A89E33858567CA691953288C",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                        "description": "Decoders 2",
                        "code": "Decoders 1",
                        "alternative_code": "D1"
                    }
                },
                {
                    "installed_item": null,
                    "quantity": 5,
                    "id": "3D2DF1C36D72CECCE25007BB8FFBE8A6",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "NONTRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Accessories",
                            "id": "0F94B51F175F06A475EB2948B4030074",
                            "description": "A type which is used for accessories physical goods",
                            "alternative_code": "005"
                        },
                        "id": "C5DA6C8CB66777D6CF75E6A0D9C65C34",
                        "description": "Universal Remote Controls",
                        "code": "Universal Remote Controls",
                        "alternative_code": "Universal Remote Controls"
                    }
                }
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Nicosia Office",
                "id": "68D54DA033606669621E3D2E4B355DA0",
                "description": null,
                "alternative_code": "NO"
            },
            "log_information":
            {
                "updated_date": "2014-10-29T16:48:57",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-10-29T14:05:02",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Open2",
                "id": "728752B4BF79B4AA8B8EE8A15EF8C93C",
                "alternative_code": "Open2"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location":
            {
                "care_of": "111",
                "street_number": "111",
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "1111",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": "111",
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": 121,
                "udf_string_3": null,
                "area": "1",
                "udf_string_4": null,
                "district": "1",
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "UNITED KINGDOM",
                    "id": "126"
                },
                "id": "725D4B23253D4AB73849C1E1C92C022D",
                "postal_code": "111",
                "udf_date_1": null,
                "udf_date_2": null,
                "udf_date_3": null,
                "udf_date_4": null,
                "po_box_postal_code": "1111",
                "apartment_number": "111",
                "town_city": "1",
                "type": "Home",
                "municipality": "1"
            },
            "estimate_completion_time":
            {
                "time_period_value": 3.8430107526881723,
                "time_period_uot": "MONTHS"
            },
            "type":
            {
                "name": "Installation Job",
                "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
                "alternative_code": "001"
            },
            "description": "typical intallation",
            "category": null,
            "expenses_set":
            [
                {
                    "id": "2F983F2D1B41801E851D272CCF23652D",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Magazine Subscription",
                            "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                            "description": "Magazine Subscription",
                            "alternative_code": "MS"
                        },
                        "id": "BA96B8FE1299C4F364CA8EF3D7F1FC17",
                        "description": "FEE9",
                        "code": "FEE9",
                        "alternative_code": null
                    }
                },
                {
                    "id": "74A8D43976637023A139A5C5B3659D6E",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Magazine Subscription",
                            "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                            "description": "Magazine Subscription",
                            "alternative_code": "MS"
                        },
                        "id": "1C7A9DF9605034D0423FE645923E4514",
                        "description": "FEE4",
                        "code": "FEE4",
                        "alternative_code": null
                    }
                }
            ]
        }
    ]
}

 

GET jobs/get_close_to_estimated_completion_time

This method returns information related with jobs that are close to estimated completion time.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

period
(mandatory)

...

uot
(mandatory)

...

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": null,
            "billing_terms": null,
            "udf_float_1": null,
            "udf_float_2": null,
            "udf_float_3": null,
            "number": "1",
            "udf_float_4": null,
            "udf_string_1": null,
            "udf_string_2": null,
            "assigned_to":
            {
                "unit":
                {
                    "group_name": null,
                    "name": "Marketing Unit",
                    "id": "83922FE923563679768A94F58CAB5569",
                    "description": "r1c1",
                    "alternative_code": null
                },
                "user":
                {
                    "person_name": "eleniTemplate",
                    "username": "eleniTemplate",
                    "id": "771CD3A923E7BEED3055E109E4F676DC",
                    "email": null
                }
            },
            "privacy_level": null,
            "udf_string_3": null,
            "udf_string_4": null,
            "udf_string_5": null,
            "activities_set":
            [
                {
                    "life_cycle_state": "COMPLETED",
                    "number": "264",
                    "type":
                    {
                        "name": "Activity Type 2",
                        "id": "DC21155B4A625F4B6230BF1B63C393FF",
                        "description": "ACTTYPE",
                        "alternative_code": "AT2"
                    },
                    "id": "EF2928BBB5CFBF0791BA5529E7D7067B",
                    "contact_information":
                    {
                        "last_name": "Ioannou23",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": null,
                        "company_profile": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Marios",
                        "name": null,
                        "id": "6FEA6E022B1E04A5F7EE947EF32D2A80",
                        "company_name": null,
                        "demographics":
                        {
                            "gender": null,
                            "passport_issued_by_country": null,
                            "passport_number": null,
                            "social_security_number": null,
                            "industry_sector": null,
                            "date_of_birth":
                            {
                                "month": null,
                                "day": null,
                                "year": null
                            },
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": "888999",
                            "id_issued_by_country": null,
                            "industry": null
                        }
                    }
                }
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Ioannou23",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Marios",
                    "name": "Marios Ioannou23",
                    "id": "6FEA6E022B1E04A5F7EE947EF32D2A80",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "888999",
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "183",
                "name": "mar23",
                "id": "39FEBF4FD9A8EDE1F1532FD1E822B8EB"
            },
            "id": "1A6EA2F952CDD0D90BAE72DC0BF0BAB3",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "expected_completion_date": "2014-10-30T09:25:57",
            "start_date": "2014-10-28T09:25:57",
            "udf_date_4": null,
            "time_to_completion":
            {
                "time_period_value": 3,
                "time_period_uot": "DAYS"
            },
            "time_overdue":
            {
                "time_period_value": null
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "sf000098765",
                        "id": "C05723764FA8551655597DA4BC04FA47",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Smartcards",
                                "id": "6173FC99331504AD1ACB5D697D54DA8C",
                                "description": "Smartcards",
                                "alternative_code": "SC"
                            },
                            "id": "077BAE6935981CF0289591D6D1E9B194",
                            "description": "Smart Card Fiona",
                            "code": "Smart Card Fiona",
                            "alternative_code": "SCF"
                        },
                        "alternative_code": "dr"
                    },
                    "quantity": null,
                    "id": "342347EA96E9AC1350C168160F5B90AD",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Smartcards",
                            "id": "6173FC99331504AD1ACB5D697D54DA8C",
                            "description": "Smartcards",
                            "alternative_code": "SC"
                        },
                        "id": "077BAE6935981CF0289591D6D1E9B194",
                        "description": "Smart Card Fiona",
                        "code": "Smart Card Fiona",
                        "alternative_code": "SCF"
                    }
                }
            ],
            "owned_by_group":
            {
                "community_name": null,
                "name": "Developers Group",
                "id": "8BD400EC50DB9678F9C3573401399924",
                "description": "test2",
                "alternative_code": null
            },
            "log_information":
            {
                "updated_date": "2014-10-27T17:46:12",
                "created_by_unit":
                {
                    "group_name": null,
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-09-20T09:25:57",
                "updated_by_unit":
                {
                    "group_name": null,
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Pending",
                "id": "A72F80D3B0C42597240DBA79AC295173",
                "alternative_code": "P1"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location":
            {
                "care_of": null,
                "street_number": null,
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "123",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": null,
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": 123,
                "udf_string_3": null,
                "area": "123",
                "udf_string_4": null,
                "district": "123",
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "UNITED KINGDOM",
                    "id": "126"
                },
                "id": "955C7131CD41865657FA2B46F65592B4",
                "postal_code": "123",
                "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
            },
            "estimate_completion_time":
            {
                "time_period_value": 2,
                "time_period_uot": "DAYS"
            },
            "type":
            {
                "name": "test",
                "id": "33B344A560122EEBD6F19A2CC3640F11",
                "alternative_code": "test"
            },
            "description": null,
			"category": null,
			"expenses_set":
            [
                {
                    "id": "96634CCE5CA199182A324CEC48880344",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "One Time Services",
                            "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                            "description": "A type which is used for one time services",
                            "alternative_code": "OTS"
                        },
                        "id": "891E24F7F1C8C79A1E179B670680E611",
                        "description": null,
                        "code": "OTP001",
                        "alternative_code": "OTP001"
                    }
                }
            ]
        },
        {
            "notes": null,
            "billing_terms": null,
            "udf_float_1": null,
            "udf_float_2": null,
            "udf_float_3": null,
            "number": "10",
            "udf_float_4": null,
            "udf_string_1": null,
            "udf_string_2": null,
            "assigned_to":
            {
                "unit":
                {
                    "group_name": null,
                    "name": "test3",
                    "id": "AD2578A13FB6B062ADC8CBA359B468C8",
                    "description": null,
                    "alternative_code": null
                },
                "user": null
            },
            "privacy_level": null,
            "udf_string_3": null,
            "udf_string_4": null,
            "udf_string_5": null,
            "activities_set":
            [
                {
                    "life_cycle_state": "PENDING",
                    "number": "269",
                    "type":
                    {
                        "name": "Activity Type 2",
                        "id": "DC21155B4A625F4B6230BF1B63C393FF",
                        "description": "ACTTYPE",
                        "alternative_code": "AT2"
                    },
                    "id": "1A2B95B77F2A749B6622BFFA2C49F1A8",
                    "contact_information":
                    {
                        "last_name": "Xenofontos ",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": "Iatrou",
                        "company_profile": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Kyriakos",
                        "name": null,
                        "id": "31260911295E70BB660EBEB0C4F941AC",
                        "company_name": null,
                        "demographics":
                        {
                            "gender": "MALE",
                            "passport_issued_by_country": null,
                            "passport_number": null,
                            "social_security_number": null,
                            "industry_sector": null,
                            "date_of_birth":
                            {
                                "month": null,
                                "day": null,
                                "year": null
                            },
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": "87878000",
                            "id_issued_by_country": null,
                            "industry": null
                        }
                    }
                },
                {
                    "life_cycle_state": "PENDING",
                    "number": "270",
                    "type":
                    {
                        "name": "Activity Type 2",
                        "id": "DC21155B4A625F4B6230BF1B63C393FF",
                        "description": "ACTTYPE",
                        "alternative_code": "AT2"
                    },
                    "id": "7FDFFEBDF985B36DEDB3B3B6B04B459B",
                    "contact_information":
                    {
                        "last_name": "Xenofontos ",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": "Iatrou",
                        "company_profile": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Kyriakos",
                        "name": null,
                        "id": "31260911295E70BB660EBEB0C4F941AC",
                        "company_name": null,
                        "demographics":
                        {
                            "gender": "MALE",
                            "passport_issued_by_country": null,
                            "passport_number": null,
                            "social_security_number": null,
                            "industry_sector": null,
                            "date_of_birth":
                            {
                                "month": null,
                                "day": null,
                                "year": null
                            },
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": "87878000",
                            "id_issued_by_country": null,
                            "industry": null
                        }
                    }
                },
                {
                    "life_cycle_state": "PENDING",
                    "number": "268",
                    "type":
                    {
                        "name": "Activity Type 2",
                        "id": "DC21155B4A625F4B6230BF1B63C393FF",
                        "description": "ACTTYPE",
                        "alternative_code": "AT2"
                    },
                    "id": "7202CE916E12A6E5D347EC6C0B61447A",
                    "contact_information":
                    {
                        "last_name": "Xenofontos ",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": "Iatrou",
                        "company_profile": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Kyriakos",
                        "name": null,
                        "id": "31260911295E70BB660EBEB0C4F941AC",
                        "company_name": null,
                        "demographics":
                        {
                            "gender": "MALE",
                            "passport_issued_by_country": null,
                            "passport_number": null,
                            "social_security_number": null,
                            "industry_sector": null,
                            "date_of_birth":
                            {
                                "month": null,
                                "day": null,
                                "year": null
                            },
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": "87878000",
                            "id_issued_by_country": null,
                            "industry": null
                        }
                    }
                }
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Ioannou22",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Marios",
                    "name": "Marios Ioannou22",
                    "id": "EE604F2A863168629720ED1AAAF4D282",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country": null,
                        "passport_number": "983649",
                        "social_security_number": "9302",
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": 9,
                            "day": 9,
                            "year": 1995
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "9872632",
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "182",
                "name": "mar22",
                "id": "CB0E67B80E7ED9D81455757807B191F0"
            },
            "id": "C42F1980BAC315A75780AFEBC912682E",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "expected_completion_date": "2014-10-29T09:33:21",
            "start_date": "2014-09-29T09:33:21",
            "udf_date_4": null,
            "time_to_completion":
            {
                "time_period_value": 2,
                "time_period_uot": "DAYS"
            },
            "time_overdue":
            {
                "time_period_value": null
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
            ],
            "owned_by_group":
            {
                "community_name": null,
                "name": "SLBR_group1",
                "id": "B0BBB44B696B5CDE7F9A9BA43590F053",
                "description": null,
                "alternative_code": "S_B1"
            },
            "log_information":
            {
                "updated_date": "2014-10-27T17:47:09",
                "created_by_unit":
                {
                    "group_name": null,
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-07-21T09:33:21",
                "updated_by_unit":
                {
                    "group_name": null,
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "g_neocleous",
                    "username": "g_neocleous",
                    "id": "80D37EB91123AE12EEABA6232ADA654F",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Pending",
                "id": "A72F80D3B0C42597240DBA79AC295173",
                "alternative_code": "P1"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location":
            {
                "care_of": null,
                "street_number": "5",
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "Makedonias",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": null,
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": 0,
                "udf_string_3": null,
                "area": null,
                "udf_string_4": null,
                "district": null,
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "CYPRUS",
                    "id": "181"
                },
                "id": "ACE3B0DDDF3143DCA3AC3A31E0620BB0",
                "postal_code": "3453",
                "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": "Nicosia",
                "type": "Home",
                "municipality": "Nicosia"
            },
            "estimate_completion_time":
            {
                "time_period_value": 1,
                "time_period_uot": "MONTHS"
            },
            "type":
            {
                "name": "test",
                "id": "33B344A560122EEBD6F19A2CC3640F11",
                "alternative_code": "test"
            },
            "description": null,
			"category": null,
 			"expenses_set":
            [
            ]
        }
    ]
}



    

 

GET jobs/get_overdue

This method returns information related with jobs that are overdue.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": null,
            "billing_terms":
            {
                "binding_information": null,
                "agreement_date": "2014-07-30T00:00:00",
                "billing_term_scheme":
                {
                    "billing_method": "PERIOD",
                    "life_cycle_state": "EFFECTIVE",
                    "classification": "JOBS",
                    "name": "BTS Jobs",
                    "id": "11FF29CF0CF82634683465AEA3B6B8D3",
                    "code": "BTS_JOBS",
                    "billing_type": "NORMAL"
                },
                "concurrent_usage_based_pricing":
                {
                    "rate_percentage": 4,
                    "concurrent_usage": 4
                },
                "effective_date": "2014-07-30T00:00:00",
                "frequency_information": null,
                "id": "6BD510618C0E77C6E6E45BCF5291CA9D",
                "allowed_cancel_date": null,
                "expiration_date": null,
                "price_plan":
                {
                    "effective_date": "2014-07-30T00:00:00",
                    "type": "BASE",
                    "name": "Base PP for JOBS",
                    "id": "044263BC7DA548A0A3A680C1E3FC6486",
                    "description": null,
                    "code": "BPP_JOBS",
                    "expiration_date": null,
                    "version_num": 1
                },
                "billing_cycle_day": null
            },
            "udf_float_1": null,
            "udf_float_2": null,
            "udf_float_3": null,
            "number": "237",
            "udf_float_4": null,
            "udf_string_1": null,
            "udf_string_2": null,
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Marketing Unit",
                    "id": "83922FE923563679768A94F58CAB5569",
                    "description": "r1c1",
                    "alternative_code": null
                },
                "user": null
            },
            "privacy_level": null,
            "udf_string_3": null,
            "udf_string_4": null,
            "udf_string_5": null,
            "activities_set":
            [
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "May",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": "Alan",
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Michael",
                    "name": "Michael May",
                    "id": "22AD2164CE074EB60ECFD5F3F9A55E2D",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "passport_number": "123456",
                        "social_security_number": "654321",
                        "country_of_residence":
                        {
                            "name": "CYPRUS",
                            "id": "181"
                        },
                        "industry_sector":
                        {
                            "name": "FINANCIALS",
                            "id": "03EA93890F51506ABD9E994CD826EC78"
                        },
                        "date_of_birth":
                        {
                            "month": 5,
                            "day": 30,
                            "year": 1983
                        },
                        "name_day":
                        {
                            "month": 11,
                            "day": 7
                        },
                        "id_number": "868561",
                        "id_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry":
                        {
                            "name": "IndustryTest",
                            "id": "D65E1F283AE9FED5A572F817DE23EDD1"
                        }
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "318",
                "name": "achacha",
                "id": "42B5B5F0543D24E54190974D43D612B1"
            },
            "id": "6A89712F15AF665061A3D36F3C9E8706",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "expected_completion_date": "2014-07-30T21:15:02",
            "start_date": "2014-07-30T16:15:02",
            "udf_date_4": null,
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": 2.967741935483871,
                "time_period_uot": "MONTHS"
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Main Group",
                "id": "84F33366CB592BAAE7E2044D93611C6A",
                "description": "Main Group",
                "alternative_code": "das"
            },
            "log_information":
            {
                "updated_date": "2014-07-30T16:15:32",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-07-30T16:15:02",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Pending",
                "id": "A72F80D3B0C42597240DBA79AC295173",
                "alternative_code": "P1"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location": null,
            "estimate_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "HOURS"
            },
            "type":
            {
                "name": "test",
                "id": "33B344A560122EEBD6F19A2CC3640F11",
                "alternative_code": "test"
            },
            "description": null,
			"category": null,
			"expenses_set":
            [
            ]
        }
    ]
}

 

GET jobs/get_draft

This method returns information related with jobs that are draft

...

Available from CRM.COM R6.0.0

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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
 {
  "data": [
    {
      "notes": null,
      "contact_phone": null,
      "log_information": {
        "created_by_unit": {
          "alternative_code": "S",
          "group_name": "Sales Branch 1",
          "community_name": "Internal",
          "name": "SB1",
          "description": null,
          "id": "7FBBB05A081E46DE97299244CEA8050A"
        },
        "updated_by_unit": {
          "alternative_code": "adminunit",
          "group_name": "Main Group",
          "community_name": "Community",
          "name": "Admin Unit",
          "description": "admin unit",
          "id": "1"
        },
        "created_date": "2016-03-28T07:49:43",
        "updated_date": "2016-06-16T14:37:02",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "User1",
          "id": "08C0DCB04EAC4C9EA441F6E3F80ADD46",
          "email": null,
          "username": "User1"
        }
      },
      "requested_physical_goods_set": [],
      "owned_by_group": {
        "alternative_code": "SB1",
        "community_name": "Internal",
        "name": "Sales Branch 1",
        "description": null,
        "id": "B11F02001FDB46B7B0294D277D2E11D9"
      },
      "description": null,
      "rating_state": "PENDING",
      "expenses_set": [],
      "udf_date_2": null,
      "type": {
        "alternative_code": "I",
        "name": "Installation",
        "fulfillment_scope": "GENERIC_PURPOSE",
        "description": null,
        "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
        "id": "688873E04E25459CB6CABBDEC5CE7AB2"
      },
      "udf_date_1": null,
      "udf_date_4": null,
      "contact_email": null,
      "udf_date_3": null,
      "number": "J00000153",
      "udf_float_3": null,
      "udf_float_4": null,
      "estimated_completion_time": {
        "time_period_uot": "HOURS",
        "time_period_value": 5
      },
      "bills_set": [],
      "id": "D6914127C12C448E968D508F5DF8FFA7",
      "service_request": null,
      "udf_float_1": null,
      "billing_terms": null,
      "udf_float_2": null,
      "start_date": "2016-03-28T07:49:43",
      "actual_completed_date": null,
      "assigned_to": {
        "unit": {
          "alternative_code": "S",
          "group_name": "Sales Branch 1",
          "community_name": "Internal",
          "name": "SB1",
          "description": null,
          "id": "7FBBB05A081E46DE97299244CEA8050A"
        },
        "user": null
      },
      "requested_expenses_set": [],
      "udf_string_2": null,
      "udf_string_3": null,
      "udf_string_4": null,
      "udf_string_5": null,
      "privacy_level": {
        "number": "1",
        "name": "Station",
        "id": "E055FF075E4A4072BD09AF1091AA1CC3",
        "hierarchy_level": 1
      },
      "udf_string_1": null,
      "accounts_receivable": {
        "number": "ACR0000000151",
        "name": "ACR0000000151 PayTV UK",
        "id": "5FCD7F65267A48D1967E3848F5F61C60",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": {
            "tax_reference_number": "TAX312312312",
            "registered_in_country": {
              "alternative_code": "AFG",
              "three_character_code": null,
              "name": "AFGHANISTAN",
              "id": "128",
              "two_character_code": null
            },
            "number_of_employees": null,
            "annual_turnover": null,
            "profile_year": null,
            "registration_number": "34342",
            "vat_registration_number": "123123423",
            "industry_sector": null,
            "industry": null,
            "established_date": null,
            "vat_registered_by": null,
            "vat_registration_date": null
          },
          "company_name": "PayTV UK",
          "name": "PayTV UK",
          "last_name": null,
          "id": "635D171AC0124A2784FF1E57171591A2",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "COMPANY",
          "first_name": null,
          "demographics": null
        }
      },
      "life_cycle_state": "DRAFT",
      "time_to_completion": {
        "time_period_uot": null,
        "time_period_value": null
      },
      "requested_activity_services_set": [],
      "activities_set": [],
      "location": {
        "apartment_number": null,
        "care_of": null,
        "country": {
          "alternative_code": "IRN",
          "three_character_code": null,
          "name": "IRAN (ISLAMIC REPUBLIC OF)",
          "id": "231",
          "two_character_code": null
        },
        "municipality": null,
        "type": "HOME",
        "udf_date_2": null,
        "udf_date_1": null,
        "street_name": "rew",
        "udf_date_4": null,
        "udf_date_3": null,
        "udf_float_3": null,
        "udf_float_4": null,
        "po_box_postal_code": null,
        "udf_string_15": null,
        "udf_string_16": null,
        "udf_string_13": null,
        "udf_string_14": null,
        "udf_string_11": null,
        "udf_string_12": null,
        "id": "94958CE2722E4BA99021F842FC8183C3",
        "state": "Active",
        "udf_string_10": null,
        "floor": null,
        "udf_float_1": null,
        "udf_float_2": null,
        "area": null,
        "udf_string_2": null,
        "udf_string_3": null,
        "udf_string_4": null,
        "udf_string_5": null,
        "udf_string_1": null,
        "po_box": null,
        "town_city": null,
        "district": null,
        "street_number": null,
        "postal_code": null,
        "udf_string_6": null,
        "udf_string_7": null,
        "udf_string_8": null,
        "udf_string_9": null
      },
      "physical_goods_set": [],
      "time_overdue": {
        "time_period_uot": "MONTHS",
        "time_period_value": 4
      },
      "udf_string_6": null,
      "category": null,
      "expected_completion_date": "2016-03-28T12:49:43",
      "udf_string_7": null,
      "udf_string_8": null,
      "status": {
        "alternative_code": "IP",
        "name": "Draft",
        "description": null,
        "id": "C9AFA1C35F628CB2B279C98D4CA45C5E",
        "life_cycle_state": "DRAFT"
      }
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

GET jobs/get_pending

This method returns information related with jobs that are pending.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": null,
            "billing_terms":
            {
                "binding_information": null,
                "agreement_date": "2014-12-05T15:49:59",
                "billing_term_scheme":
                {
                    "billing_method": "PERIOD",
                    "life_cycle_state": "EFFECTIVE",
                    "classification": "JOBS",
                    "name": "Normal Billing Scheme J",
                    "id": "AC225A76B462EE4A7371467DDF5B1F47",
                    "code": "NBSJ",
                    "billing_type": "NORMAL"
                },
                "concurrent_usage_based_pricing":
                {
                    "rate_percentage": null,
                    "concurrent_usage": null
                },
                "effective_date": "2014-10-27T00:00:00",
                "frequency_information": null,
                "id": "CE84F7CD5BE95C91924F4F1531B24478",
                "allowed_cancel_date": null,
                "expiration_date": null,
                "price_plan":
                {
                    "effective_date": "2014-06-26T00:00:00",
                    "type": "CONDITIONAL",
                    "name": "my Conditional Plan",
                    "id": "FC0730468947E4F7B8C2199E60525450",
                    "description": null,
                    "code": "MCP",
                    "expiration_date": "2015-06-26T00:00:00",
                    "version_num": 1
                },
                "billing_cycle_day": null
            },
            "udf_float_1": 10,
            "udf_float_2": 20,
            "udf_float_3": 30,
            "number": "277",
            "udf_float_4": 40,
            "udf_string_1": "udf string 1",
            "udf_string_2": "udf string 2",
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Marketing Unit",
                    "id": "83922FE923563679768A94F58CAB5569",
                    "description": "r1c1",
                    "alternative_code": null
                },
                "user": null
            },
            "privacy_level":
            {
                "number": "61",
                "hierarchy_level": 6,
                "name": "DPLG6",
                "id": "02D0A95A45CCC1D1834FFA6DC3D31F3D"
            },
            "udf_string_3": "udf string 3",
            "udf_string_4": "udf string 4",
            "udf_string_5": "udf string 5",
            "activities_set":
            [
            ],
            "udf_string_6": "udf string 6",
            "udf_string_7": "udf string 7",
            "udf_string_8": "udf string 8",
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Papapavlou",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Lucia",
                    "name": "Lucia Papapavlou",
                    "id": "691E4101DE919D4C87D3E1006EDDE08B",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "330",
                "name": "luc1",
                "id": "08D8AE790F1EE11887654469CC9F4C37"
            },
            "id": "91F438891630A913014DBB4C64ACA633",
            "udf_date_1": "2014-05-05T15:49:59",
            "udf_date_2": "2014-06-05T15:49:59",
            "udf_date_3": "2014-07-05T15:49:59",
            "expected_completion_date": "2014-05-10T15:49:59",
            "start_date": "2014-05-05T15:49:59",
            "udf_date_4": "2014-08-05T15:49:59",
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": 5.612903225806452,
                "time_period_uot": "MONTHS"
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Nicosia Office",
                "id": "68D54DA033606669621E3D2E4B355DA0",
                "description": null,
                "alternative_code": "NO"
            },
            "log_information":
            {
                "updated_date": "2014-10-27T13:12:25",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-10-27T13:12:21",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Assigned",
                "id": "D5D244EC302EEBAB424F9896B7F10425",
                "alternative_code": "AS"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location":
            {
                "care_of": "111",
                "street_number": "111",
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "1111",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": "111",
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": 121,
                "udf_string_3": null,
                "area": "1",
                "udf_string_4": null,
                "district": "1",
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "UNITED KINGDOM",
                    "id": "126"
                },
                "id": "725D4B23253D4AB73849C1E1C92C022D",
                "postal_code": "111",
                "udf_date_1": null,
                "udf_date_2": null,
                "udf_date_3": null,
                "udf_date_4": null,
                "po_box_postal_code": "1111",
                "apartment_number": "111",
                "town_city": "1",
                "type": "Home",
                "municipality": "1"
            },
            "estimate_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "type":
            {
                "name": "Installations",
                "id": "A2BB42B91DBA4D3FEE5613D20C161A17",
                "alternative_code": "IN"
            },
            "description": "tv installation",
			"category": null,
			"expenses_set":
            [
            ]
        },
        {
            "notes": "postponed for next month",
            "billing_terms": null,
            "udf_float_1": 10,
            "udf_float_2": 20,
            "udf_float_3": 30,
            "number": "J00000009",
            "udf_float_4": 40,
            "udf_string_1": "udf string 1",
            "udf_string_2": "udf string 2",
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "privacy_level":
            {
                "number": "61",
                "hierarchy_level": 6,
                "name": "DPLG6",
                "id": "02D0A95A45CCC1D1834FFA6DC3D31F3D"
            },
            "udf_string_3": "udf string 3",
            "udf_string_4": "udf string 4",
            "udf_string_5": "udf string 5",
            "activities_set":
            [
            ],
            "udf_string_6": "udf string 6",
            "udf_string_7": "udf string 7",
            "udf_string_8": "udf string 8",
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Papapavlou",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Lucia",
                    "name": "Lucia Papapavlou",
                    "id": "691E4101DE919D4C87D3E1006EDDE08B",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "330",
                "name": "luc1",
                "id": "08D8AE790F1EE11887654469CC9F4C37"
            },
            "id": "6A910AAC45B074048BC76667BCF41812",
            "udf_date_1": "2014-05-05T15:49:59",
            "udf_date_2": "2014-06-05T15:49:59",
            "udf_date_3": "2014-07-05T15:49:59",
            "expected_completion_date": "2014-05-10T15:49:59",
            "start_date": "2014-05-05T15:49:59",
            "udf_date_4": "2014-08-05T15:49:59",
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": 5.612903225806452,
                "time_period_uot": "MONTHS"
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "d0000000003",
                        "id": "B822DB0FDD449694B6C90C83BA41BDB2",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Decoders",
                                "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                                "description": "Decoders",
                                "alternative_code": "D"
                            },
                            "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                            "description": "Decoders 2",
                            "code": "Decoders 1",
                            "alternative_code": "D1"
                        },
                        "alternative_code": "d0000000003"
                    },
                    "quantity": null,
                    "id": "7F180467A89E33858567CA691953288C",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                        "description": "Decoders 2",
                        "code": "Decoders 1",
                        "alternative_code": "D1"
                    }
                },
                {
                    "installed_item": null,
                    "quantity": 31,
                    "id": "4299E65F6F1E2FF06BE0ED2A44B1C32C",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "NONTRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Accessories",
                            "id": "0F94B51F175F06A475EB2948B4030074",
                            "description": "A type which is used for accessories physical goods",
                            "alternative_code": "005"
                        },
                        "id": "97CF748815BEBA2B294148694D9E0B14",
                        "description": null,
                        "code": "Wires",
                        "alternative_code": "WI"
                    }
                },
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "d2000000000",
                        "id": "10225F6DF089E18951E01D11F8C766FE",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Decoders",
                                "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                                "description": "Decoders",
                                "alternative_code": "D"
                            },
                            "id": "12A61F321368703D77C48A0A085D9B7D",
                            "description": "Decoders 2",
                            "code": "Decoders 2",
                            "alternative_code": "D2"
                        },
                        "alternative_code": "d2000000000"
                    },
                    "quantity": null,
                    "id": "1DA626ECA3B50E30A9126852003EE5B4",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "12A61F321368703D77C48A0A085D9B7D",
                        "description": "Decoders 2",
                        "code": "Decoders 2",
                        "alternative_code": "D2"
                    }
                }
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Nicosia Office",
                "id": "68D54DA033606669621E3D2E4B355DA0",
                "description": null,
                "alternative_code": "NO"
            },
            "log_information":
            {
                "updated_date": "2014-10-29T14:05:03",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-10-29T14:05:02",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Pending",
                "id": "A72F80D3B0C42597240DBA79AC295173",
                "alternative_code": "P1"
            },
            "actual_completed_date": null,
            "life_cycle_state": "PENDING",
            "location":
            {
                "care_of": "111",
                "street_number": "111",
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "1111",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": "111",
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": 121,
                "udf_string_3": null,
                "area": "1",
                "udf_string_4": null,
                "district": "1",
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "UNITED KINGDOM",
                    "id": "126"
                },
                "id": "725D4B23253D4AB73849C1E1C92C022D",
                "postal_code": "111",
                "udf_date_1": null,
                "udf_date_2": null,
                "udf_date_3": null,
                "udf_date_4": null,
                "po_box_postal_code": "1111",
                "apartment_number": "111",
                "town_city": "1",
                "type": "Home",
                "municipality": "1"
            },
            "estimate_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "type":
            {
                "name": "Installation Job",
                "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
                "alternative_code": "001"
            },
            "description": "tv installation",
			"category": null,
			"expenses_set":
            [
                {
                    "id": "2F983F2D1B41801E851D272CCF23652D",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Magazine Subscription",
                            "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                            "description": "Magazine Subscription",
                            "alternative_code": "MS"
                        },
                        "id": "BA96B8FE1299C4F364CA8EF3D7F1FC17",
                        "description": "FEE9",
                        "code": "FEE9",
                        "alternative_code": null
                    }
                },
                {
                    "id": "74A8D43976637023A139A5C5B3659D6E",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Magazine Subscription",
                            "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                            "description": "Magazine Subscription",
                            "alternative_code": "MS"
                        },
                        "id": "1C7A9DF9605034D0423FE645923E4514",
                        "description": "FEE4",
                        "code": "FEE4",
                        "alternative_code": null
                    }
                }
            ]
        }
    ]
}

GET jobs/get_in_progress

This method returns information related with jobs that are in progress.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": null,
            "billing_terms": null,
            "udf_float_1": null,
            "udf_float_2": null,
            "udf_float_3": null,
            "number": "267",
            "udf_float_4": null,
            "udf_string_1": null,
            "udf_string_2": null,
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Marketing Unit",
                    "id": "83922FE923563679768A94F58CAB5569",
                    "description": "r1c1",
                    "alternative_code": null
                },
                "user":
                {
                    "person_name": "Saviola",
                    "username": "Saviola",
                    "id": "6A545BC9E89357BF8CB7D57DE82B1CD3",
                    "email": null
                }
            },
            "privacy_level": null,
            "udf_string_3": null,
            "udf_string_4": null,
            "udf_string_5": null,
            "activities_set":
            [
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Salvatore",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Matline",
                    "name": "Matline Salvatore",
                    "id": "F8155C50B7784234ACBF21031D55A11F",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence": null,
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": 1,
                            "day": 1,
                            "year": 1985
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": null,
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "376",
                "name": "MS001",
                "id": "BD469A179EB00EAB5C85F945D3A9C3E5"
            },
            "id": "D2D8436AE4E40C3F823124DDCBDC770A",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "expected_completion_date": "2014-09-19T12:21:09",
            "start_date": "2014-09-02T12:21:09",
            "udf_date_4": null,
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": 1.7666666666666666,
                "time_period_uot": "MONTHS"
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "d2000000050",
                        "id": "456A179FCCAC829E317AF376BAB17CCC",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Decoders",
                                "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                                "description": "Decoders",
                                "alternative_code": "D"
                            },
                            "id": "12A61F321368703D77C48A0A085D9B7D",
                            "description": "Decoders 2",
                            "code": "Decoders 2",
                            "alternative_code": "D2"
                        },
                        "alternative_code": "d2000000050"
                    },
                    "quantity": null,
                    "id": "D51E73CEE45CFCFEEEB3A0E43A506267",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "12A61F321368703D77C48A0A085D9B7D",
                        "description": "Decoders 2",
                        "code": "Decoders 2",
                        "alternative_code": "D2"
                    }
                },
                {
                    "installed_item": null,
                    "quantity": 65,
                    "id": "1B62D5571ED6AC666AB69F3FCEF509AD",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "NONTRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Accessories",
                            "id": "0F94B51F175F06A475EB2948B4030074",
                            "description": "A type which is used for accessories physical goods",
                            "alternative_code": "005"
                        },
                        "id": "897FA24479B32F4800EC8C9C34C15F29",
                        "description": null,
                        "code": "smartphone case",
                        "alternative_code": "SAMCASE"
                    }
                }
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Customer Service",
                "id": "E7B002802139F17D24E0800EB8410E0F",
                "description": "Group for Customer Service agents",
                "alternative_code": "CS"
            },
            "log_information":
            {
                "updated_date": "2014-09-02T14:36:40",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-09-02T12:21:09",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "JobStatus 34",
                "id": "E0E55825189B1FFBBC520A10BFC3B78F",
                "alternative_code": "js 34"
            },
            "actual_completed_date": null,
            "life_cycle_state": "IN_PROGRESS",
            "location":
            {
                "care_of": null,
                "street_number": null,
                "udf_string_10": null,
                "udf_float_1": null,
                "udf_string_11": null,
                "street_name": "SM-1500",
                "udf_float_2": null,
                "udf_string_12": null,
                "udf_float_3": null,
                "udf_string_13": null,
                "udf_float_4": null,
                "udf_string_14": null,
                "udf_string_15": null,
                "po_box": null,
                "udf_string_1": null,
                "udf_string_16": null,
                "udf_string_2": null,
                "floor": null,
                "udf_string_3": null,
                "area": null,
                "udf_string_4": null,
                "district": null,
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "state": "Active",
                "udf_string_8": null,
                "udf_string_9": null,
                "country":
                {
                    "name": "UNITED KINGDOM",
                    "id": "126"
                },
                "id": "D8884427497458C2D179980DC280EB66",
                "postal_code": null,
                "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
            },
            "estimate_completion_time":
            {
                "time_period_value": 17.5,
                "time_period_uot": "DAYS"
            },
            "type":
            {
                "name": "Installation Job",
                "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
                "alternative_code": "001"
            },
            "description": null,
            "category": null,
            "expenses_set":
            [
                {
                    "id": "444DDB87620CAEB2FC1A9DD210D240C8",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "USAGE",
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Usage Services",
                            "id": "219FBB8FBAA1433AB0A33446B61637F9",
                            "description": "A type which is used for usage services",
                            "alternative_code": "US"
                        },
                        "id": "2615D90E01AEB026F2D5AD69DB9A4DA9",
                        "description": "Pay Per View Service",
                        "code": "Pay Per View Service",
                        "alternative_code": "PPV"
                    }
                },
                {
                    "id": "94CDE38D07BC4D7648C17A04BA9ABB44",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "USAGE",
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Usage Services",
                            "id": "219FBB8FBAA1433AB0A33446B61637F9",
                            "description": "A type which is used for usage services",
                            "alternative_code": "US"
                        },
                        "id": "3ECE39556C0CFCD7610F05063C189EF6",
                        "description": "Video On Demand Service",
                        "code": "Video On Demand Service",
                        "alternative_code": "VOD"
                    }
                },
                {
                    "id": "3CF64B6C58C5A48C8389BD06C27019CD",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": false,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "Magazine Subscription",
                            "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                            "description": "Magazine Subscription",
                            "alternative_code": "MS"
                        },
                        "id": "64620CB2A3B2E2FBA47C840EA57DBB04",
                        "description": null,
                        "code": "Magazine Sub 1",
                        "alternative_code": "MS1"
                    }
                }
            ]
        }
    ]
}

 

GET jobs/get_completed

This method returns information related with jobs that are completed.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "notes": null,
            "billing_terms":
            {
                "binding_information": null,
                "agreement_date": "2014-07-30T00:00:00",
                "billing_term_scheme":
                {
                    "billing_method": "PERIOD",
                    "life_cycle_state": "EFFECTIVE",
                    "classification": "JOBS",
                    "name": "BTS Jobs",
                    "id": "11FF29CF0CF82634683465AEA3B6B8D3",
                    "code": "BTS_JOBS",
                    "billing_type": "NORMAL"
                },
                "concurrent_usage_based_pricing":
                {
                    "rate_percentage": 32,
                    "concurrent_usage": 2
                },
                "effective_date": "2014-07-30T00:00:00",
                "frequency_information": null,
                "id": "FCF1A902CC355E0C7EA05C7FA1392A40",
                "allowed_cancel_date": null,
                "expiration_date": null,
                "price_plan":
                {
                    "effective_date": "2014-07-30T00:00:00",
                    "type": "BASE",
                    "name": "Base PP for JOBS",
                    "id": "044263BC7DA548A0A3A680C1E3FC6486",
                    "description": null,
                    "code": "BPP_JOBS",
                    "expiration_date": null,
                    "version_num": 1
                },
                "billing_cycle_day": null
            },
            "udf_float_1": null,
            "udf_float_2": null,
            "udf_float_3": null,
            "number": "236",
            "udf_float_4": null,
            "udf_string_1": null,
            "udf_string_2": null,
            "assigned_to":
            {
                "unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Marketing Unit",
                    "id": "83922FE923563679768A94F58CAB5569",
                    "description": "r1c1",
                    "alternative_code": null
                },
                "user": null
            },
            "privacy_level": null,
            "udf_string_3": null,
            "udf_string_4": null,
            "udf_string_5": null,
            "activities_set":
            [
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "May",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": "Alan",
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Michael",
                    "name": "Michael May",
                    "id": "22AD2164CE074EB60ECFD5F3F9A55E2D",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "passport_number": "123456",
                        "social_security_number": "654321",
                        "country_of_residence":
                        {
                            "name": "CYPRUS",
                            "id": "181"
                        },
                        "industry_sector":
                        {
                            "name": "FINANCIALS",
                            "id": "03EA93890F51506ABD9E994CD826EC78"
                        },
                        "date_of_birth":
                        {
                            "month": 5,
                            "day": 30,
                            "year": 1983
                        },
                        "name_day":
                        {
                            "month": 11,
                            "day": 7
                        },
                        "id_number": "868561",
                        "id_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry":
                        {
                            "name": "IndustryTest",
                            "id": "D65E1F283AE9FED5A572F817DE23EDD1"
                        }
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "318",
                "name": "achacha",
                "id": "42B5B5F0543D24E54190974D43D612B1"
            },
            "id": "9314A755C903F7C58D63E8435B81768A",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "expected_completion_date": "2014-07-30T21:08:28",
            "start_date": "2014-07-30T16:08:28",
            "udf_date_4": null,
            "time_to_completion":
            {
                "time_period_value": null
            },
            "time_overdue":
            {
                "time_period_value": null
            },
            "bills_set":
            [
            ],
            "physical_goods_to_be_provided_set":
            [
                {
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "d2000000014",
                        "id": "1A8D83048EFB9D0C468A3F1B9163B438",
                        "product":
                        {
                            "product_type":
                            {
                                "physical_good_type": "TRACEABLE",
                                "service_type": null,
                                "used_for_provisioning": true,
                                "composition_method": "FLAT",
                                "classification": "PHYSICALGOODS",
                                "name": "Decoders",
                                "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                                "description": "Decoders",
                                "alternative_code": "D"
                            },
                            "id": "12A61F321368703D77C48A0A085D9B7D",
                            "description": "Decoders 2",
                            "code": "Decoders 2",
                            "alternative_code": "D2"
                        },
                        "alternative_code": "d2000000014"
                    },
                    "quantity": null,
                    "id": "D9ECB2D90422E0EF9800B99169129C74",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "12A61F321368703D77C48A0A085D9B7D",
                        "description": "Decoders 2",
                        "code": "Decoders 2",
                        "alternative_code": "D2"
                    }
                }
            ],
            "owned_by_group":
            {
                "community_name": "Main Community",
                "name": "Main Group",
                "id": "84F33366CB592BAAE7E2044D93611C6A",
                "description": "Main Group",
                "alternative_code": "das"
            },
            "log_information":
            {
                "updated_date": "2014-08-04T12:54:04",
                "created_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_date": "2014-07-30T16:08:28",
                "updated_by_unit":
                {
                    "community_name": "Main Community",
                    "group_name": "Main Group",
                    "name": "Admin Unit",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "description": "r1",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": null
                }
            },
            "status":
            {
                "name": "Closed",
                "id": "JobStatus4",
                "alternative_code": "CL"
            },
            "actual_completed_date": "2014-08-04T12:54:03",
            "life_cycle_state": "COMPLETED",
            "location": null,
            "estimate_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "HOURS"
            },
            "type":
            {
                "name": "test",
                "id": "33B344A560122EEBD6F19A2CC3640F11",
                "alternative_code": "test"
            },
            "description": null,
			"category": null,
			"expenses_set":
            [
                {
                    "id": "74EA148761B6A8A10D9324A8B6332CD1",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": null,
                            "service_type": "ONETIME",
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "SERVICES",
                            "name": "One Time Services",
                            "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                            "description": "A type which is used for one time services",
                            "alternative_code": "OTS"
                        },
                        "id": "891E24F7F1C8C79A1E179B670680E611",
                        "description": null,
                        "code": "OTP001",
                        "alternative_code": "OTP001"
                    }
                }
            ]
        }
    ]
}

 

GET jobs/get_cancelled

This method returns information related with jobs that are cancelled

Tip

Available from CRM.COM R6.0.0

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(optional)

...

The identifier of the accounts receivable in which the jobs that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier
(optional)

...

The identifier of the type of the retrieved job. The allowed job type 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
 {
  "data": [
    {
      "notes": null,
      "contact_phone": null,
      "log_information": {
        "created_by_unit": {
          "alternative_code": "adminunit",
          "group_name": "Main Group",
          "community_name": "Community",
          "name": "Admin Unit",
          "description": "admin unit",
          "id": "1"
        },
        "updated_by_unit": {
          "alternative_code": "adminunit",
          "group_name": "Main Group",
          "community_name": "Community",
          "name": "Admin Unit",
          "description": "admin unit",
          "id": "1"
        },
        "created_date": "2016-02-19T14:24:40",
        "updated_date": "2016-06-17T06:18:36",
        "updated_by_user": {
          "person_name": "MPAdministrator",
          "id": "1",
          "username": "MPAdministrator"
        },
        "created_by_user": {
          "person_name": "Ekaterini Tzirtzipi",
          "id": "708FB289CCAA4DA3B5CCD186E023CF0C",
          "email": null,
          "username": "etzirtzipi"
        }
      },
      "requested_physical_goods_set": [],
      "type": {
        "alternative_code": "NS",
        "name": "New Subscription",
        "fulfillment_scope": "NEW_SUBSCRIPTION",
        "description": null,
        "fulfillment_method": "BASED_ON_DELIVERED_ITEMS",
        "id": "60675ECC8922498DAA3697F1C067C755"
      },
      "number": "J00000030",
      "bills_set": [],
      "id": "8CB9F651404545DA8043B710C879E30C",
      "actual_completed_date": null,
      "requested_expenses_set": [],
      "udf_string_2": null,
      "udf_string_3": null,
      "udf_string_4": null,
      "udf_string_5": null,
      "privacy_level": null,
      "udf_string_1": null,
      "life_cycle_state": "CANCELLED",
      "cancellation_reason": {
        "alternative_code": "R",
        "name": "Regret",
        "description": null,
        "id": "1204F1C8DDEA430B8C1E375B60A9BB21"
      },
      "activities_set": [],
      "physical_goods_set": [],
      "time_overdue": {
        "time_period_uot": "MONTHS",
        "time_period_value": 5.225806451612903
      },
      "udf_string_6": null,
      "udf_string_7": null,
      "udf_string_8": null,
      "status": {
        "alternative_code": "1",
        "name": "Not approved",
        "description": null,
        "id": "16ADBE3AA84D03C465F08C3E7A8E73B7",
        "life_cycle_state": "CANCELLED"
      },
      "owned_by_group": {
        "alternative_code": "MG",
        "community_name": "Community",
        "name": "Main Group",
        "description": "Main Group",
        "id": "1"
      },
      "description": null,
      "rating_state": "PENDING",
      "expenses_set": [],
      "udf_date_2": null,
      "udf_date_1": null,
      "udf_date_4": null,
      "contact_email": null,
      "udf_date_3": null,
      "udf_float_3": null,
      "udf_float_4": null,
      "estimated_completion_time": {
        "time_period_uot": "DAYS",
        "time_period_value": 2
      },
      "service_request": null,
      "udf_float_1": null,
      "billing_terms": {
        "billing_frequency": {
          "code": "MONTHLY",
          "name": "Monthly"
        },
        "concurrent_usage_based_pricing": {
          "rate_percentage": 100,
          "concurrent_usage": 1
        },
        "billing_term_scheme": {
          "code": "PJBTS",
          "name": "P Job Billing Term Scheme",
          "billing_type": "NORMAL",
          "id": "F3057AAF86104FF591C4C3131E731807",
          "life_cycle_state": "EFFECTIVE",
          "classification": "JOBS"
        },
        "allowed_cancel_date": null,
        "billing_cycle_day": 1,
        "agreement_date": "2016-02-19T00:00:00",
        "effective_date": "2016-02-19T00:00:00",
        "price_plan": {
          "code": "MPP",
          "name": "Main Price Plan",
          "effective_date": "2016-02-09T00:00:00",
          "description": "Main Price Plan",
          "id": "FF75A943141B43528BC96B11D687380D",
          "type": "BASE",
          "expiration_date": "2016-06-14T00:00:00"
        },
        "id": "63DD812397E94640BBD4A73377106EC9",
        "expiration_date": null,
        "binding_information": {
          "end_date": "2017-02-19T00:00:00",
          "binding_period": {
            "code": "ANNUAL",
            "name": "Annual"
          },
          "state": "IN_BINDING",
          "start_date": "2016-02-19T00:00:00"
        }
      },
      "udf_float_2": null,
      "start_date": "2016-02-19T14:24:40",
      "assigned_to": {
        "unit": {
          "alternative_code": "adminunit",
          "group_name": "Main Group",
          "community_name": "Community",
          "name": "Admin Unit",
          "description": "admin unit",
          "id": "1"
        },
        "user": {
          "person_name": "Ekaterini Tzirtzipi",
          "id": "708FB289CCAA4DA3B5CCD186E023CF0C",
          "email": null,
          "username": "etzirtzipi"
        }
      },
      "accounts_receivable": {
        "number": "ACR0000000050",
        "name": "ACR0000000050 Ekaterini Tzirtzipi",
        "id": "1B61E3A9DB864363A1502829952DF3CD",
        "life_cycle_state": "ACTIVE",
        "account_owner": {
          "company_profile": null,
          "company_name": null,
          "name": "Ekaterini Tzirtzipi",
          "last_name": "Tzirtzipi",
          "id": "3236797A43C746F8AD9F4A91A4035735",
          "life_cycle_state": "FINANCIAL",
          "middle_name": null,
          "title": null,
          "type": "PERSON",
          "first_name": "Ekaterini",
          "demographics": {
            "name_day": {
              "month": null,
              "day": null
            },
            "id_number": "343434",
            "gender": null,
            "country_of_residence": {
              "alternative_code": "CYP",
              "three_character_code": "CYP",
              "name": "CYPRUS",
              "id": "181",
              "two_character_code": "CY"
            },
            "date_of_birth": {
              "month": null,
              "year": null,
              "day": null
            },
            "industry_sector": null,
            "passport_number": null,
            "industry": null,
            "social_security_number": null,
            "id_issued_by_country": null,
            "passport_issued_by_country": null
          }
        }
      },
      "time_to_completion": {
        "time_period_uot": null,
        "time_period_value": null
      },
      "requested_activity_services_set": [],
      "location": {
        "apartment_number": null,
        "care_of": null,
        "country": {
          "alternative_code": "CYP",
          "three_character_code": "CYP",
          "name": "CYPRUS",
          "id": "181",
          "two_character_code": "CY"
        },
        "municipality": null,
        "type": "BUSINESS",
        "udf_date_2": null,
        "udf_date_1": null,
        "street_name": "Lidras",
        "udf_date_4": null,
        "udf_date_3": null,
        "udf_float_3": null,
        "udf_float_4": null,
        "po_box_postal_code": null,
        "udf_string_15": null,
        "udf_string_16": null,
        "udf_string_13": null,
        "udf_string_14": null,
        "udf_string_11": null,
        "udf_string_12": null,
        "id": "79E72F8D36CA49C1999F090561AE0020",
        "state": "Active",
        "udf_string_10": null,
        "floor": null,
        "udf_float_1": null,
        "udf_float_2": null,
        "area": null,
        "udf_string_2": null,
        "udf_string_3": null,
        "udf_string_4": null,
        "udf_string_5": null,
        "udf_string_1": null,
        "po_box": null,
        "town_city": null,
        "district": null,
        "street_number": null,
        "postal_code": null,
        "udf_string_6": null,
        "udf_string_7": null,
        "udf_string_8": null,
        "udf_string_9": null
      },
      "category": null,
      "expected_completion_date": "2016-02-21T14:24:40"
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

POST jobs/create

This method creates a job. 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 on conditions)

...

The identifier of the subscription that will be maintained through the new job. This information is applicable and mandatory only if the specified job type has fulfillment scope equal to ACTIVATE_SUBSCRIPTION, DEACTIVATE_SUBSCRIPTION, CANCEL_SUBSCRIPTION, ADD_SUBSCRIPTION_SERVICES, CANCEL_SUBSCRIPTION_SERVICES, CHANGE_SUBSCRIPTION_LOCATION, SWAP_SUBSCRIPTION_INSTALLED_ITEMS, SWAP_SUBSCRIPTION_SERVICES. The allowed subscription identifier fields are the following:

...

Tip

Available from CRM.COM R8.0.0

Tip

Job Types with fulfillment scope SWAP_SUBSCRIPTION_INSTALLED_ITEMS and SWAP_SUBSCRIPTION_SERVICES are available from CRM.COM R9.0.0

...

contact_email

(optional)

...

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

Tip

Available from CRM.COM R6.0.0

...

contact_phone

(optional)

...

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

Tip

Available from CRM.COM R6.0.0

...

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:

...

Tip

Available from CRM.COM R7.0.0

...

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 if the job type fulfillment method is set to Generic Purpose

...

For Releases previous to CRM.COM R6.0.0 this information is mandatory only if the job is billable

...

requested_subscription_billing_terms

(optional)

...

The billing terms of the subscription that will be provided as part of the job. This information is applicable and mandatory if the job type fulfillment method is set to New Subscription

Tip

Available from CRM.COM R6.0.0

...

The physical goods that will be provided as part of the job

Tip

This information will be deprecated in CRM.COM R6.0.0

...

A list of one time services which are applied on the job as expenses

Tip

This information will be deprecated in CRM.COM R6.0.0

...

A set of activities which are planned for the specific job

Tip

This information will be deprecated in CRM.COM R6.0.0

...

requested_subscription_services_set

(mandatory on conditions)

...

A list of services that were requested by the customer and should be provided as part of the subscription that will be delivered. This information is applicable and mandatory only if the job type fulfillment method is set to New Subscription, Add Subscription Services, Cancel Subscription Services or Swap Subscription Services. 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

Tip

Available from CRM.COM R6.0.0

Tip

Information is available for Swap Subscription Services too from CRM.COM R9.0.0

...

requested_physical_goods_set

(mandatory on conditions)

...

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.

Tip

Available from CRM.COM R6.0.0

...

requested_subscription_physical_goods_set

(mandatory on conditions)

...

A list of physical goods (products only) that were requested by the customer and should be provided as part of the subscription that will be delivered. This information is applicable and mandatory only if the job type fulfillment method is set to New Subscription, Add Subscription Services and Swap Subscription Installed Items. 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

Tip

Available from CRM.COM R6.0.0

Tip

Information is also available for Swap Subscription Installed Item jobs from CRM.COM R9.0.0

...

requested_expenses_set

(mandatory on conditions)

...

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

Tip

Available from CRM.COM R6.0.0

...

requested_activity_services_set

(mandatory on conditions)

...

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.

Tip

Available from CRM.COM R6.0.0

...

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

Tip

Available from CRM.COM R10.0.0

...

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":"739FF77CF7738B4219416AA092FA8D15",
"type_identifier":{"name":"Installation Job"},
"status_identifier":{"name":"Pending"},
"category_identifier":{"name":"Installations"},
"accounts_receivable_identifier":{"number":"330"},
"description":"tv installation",
"notes":"postponed for next month",
"start_date":"2014-11-12T15:49:59",
"location_identifier":{"type":"HOME"},
"owned_by_group_identifier":{"name":"Nicosia Office"},
"privacy_level_identifier":{"number":"61"},
"udf_string_1":"udf string 1",
"udf_string_2":"udf string 2",
"udf_string_3":"udf string 3",
"udf_string_4":"udf string 4",
"udf_string_5":"udf string 5",
"udf_string_6":"udf string 6",
"udf_string_7":"udf string 7",
"udf_string_8":"udf string 8",
"udf_float_1":10,
"udf_float_2":20,
"udf_float_3":30,
"udf_float_4":40,
"udf_float_5":50,
"udf_float_6":60,
"udf_float_7":70,
"udf_float_8":80,
"udf_date_1":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59",
"estimate_completion_time":{"time_period_value":5,"time_period_uot":"DAYS"},
"assigned_to":{"user_identifier":{"username":"MPAdministrator"}},
"activities_set":
  [
    {
      "activity_identifier":{"number":"1"}
     }
   ],
    
"physical_goods_to_be_provided_set":
 [
     {
        "product_identifier" : { "code" : "Wires"},
        "quantity" : 31
      },
      {
        "installed_item_identifier" : { "serial_number" : "d2000000000"}
      }
 ],
"expenses_set":
 [
   {
     "product_identifier" : { "code" : "FEE4"}
   },
   {
      "product_identifier" : { "code" : "FEE9"}
   }
 ]
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "notes": "postponed for next month",
        "billing_terms": null,
        "udf_float_1": 10,
        "udf_float_2": 20,
        "udf_float_3": 30,
        "number": "J00000018",
        "udf_float_4": 40,
        "udf_string_1": "udf string 1",
        "udf_string_2": "udf string 2",
        "assigned_to":
        {
            "unit":
            {
                "group_name": null,
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "mp@ministrator.com"
            }
        },
        "privacy_level":
        {
            "number": "61",
            "hierarchy_level": 6,
            "name": "DPLG6",
            "id": "02D0A95A45CCC1D1834FFA6DC3D31F3D"
        },
        "udf_string_3": "udf string 3",
        "udf_string_4": "udf string 4",
        "udf_string_5": "udf string 5",
        "activities_set":
        [
            {
                "life_cycle_state": "PENDING",
                "number": "1",
                "type":
                {
                    "name": "Installations",
                    "id": "BF60960C7FC5B0E5B81DB7E5BCC7F140",
                    "description": null,
                    "alternative_code": "IN"
                },
                "id": "A384F82820398C8EEC26851EE5A11DFE",
                "contact_information":
                {
                    "last_name": "Papapavlou",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": "Andreas",
                    "company_profile": null,
                    "title": "Ms",
                    "type": "PERSON",
                    "first_name": "Lucia",
                    "name": "Lucia Papapavlou",
                    "id": "1D92B269658D80DEDF2499E25201739E",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "FEMALE",
                        "passport_issued_by_country":
                        {
                            "name": "GREECE",
                            "id": "209"
                        },
                        "passport_number": "113115",
                        "social_security_number": "113116",
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector":
                        {
                            "name": "GOVERNMENTAL",
                            "id": "A9BDEBD4D8FAEDB0BACE40C041156D12",
                            "alternative_code": "GOV"
                        },
                        "date_of_birth":
                        {
                            "month": 1,
                            "day": 1,
                            "year": 1990
                        },
                        "name_day":
                        {
                            "month": 5,
                            "day": 5
                        },
                        "id_number": "113114",
                        "id_issued_by_country":
                        {
                            "name": "GREECE",
                            "id": "209"
                        },
                        "industry":
                        {
                            "name": "Interior Design",
                            "id": "06B638258885DA26FA2BD40D9128D04E",
                            "code": "INTDS"
                        }
                    }
                }
            }
        ],
        "udf_string_6": "udf string 6",
        "udf_string_7": "udf string 7",
        "udf_string_8": "udf string 8",
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Papapavlou",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": null,
                "type": "PERSON",
                "first_name": "Lucia",
                "name": "Lucia Papapavlou",
                "id": "691E4101DE919D4C87D3E1006EDDE08B",
                "company_name": null,
                "demographics":
                {
                    "gender": null,
                    "passport_issued_by_country": null,
                    "passport_number": null,
                    "social_security_number": null,
                    "country_of_residence":
                    {
                        "name": "UNITED KINGDOM",
                        "id": "126"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": null,
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "330",
            "name": "luc1",
            "id": "08D8AE790F1EE11887654469CC9F4C37"
        },
        "id": "A9FC958CCE090BC51650AEA5CF48AD29",
        "udf_date_1": "2014-05-05T15:49:59",
        "udf_date_2": "2014-06-05T15:49:59",
        "udf_date_3": "2014-07-05T15:49:59",
        "expected_completion_date": "2014-11-17T15:49:59",
        "start_date": "2014-11-12T15:49:59",
        "udf_date_4": "2014-08-05T15:49:59",
        "time_to_completion":
        {
            "time_period_value": 5,
            "time_period_uot": "DAYS"
        },
        "time_overdue":
        {
            "time_period_value": null
        },
        "bills_set":
        [
        ],
        "physical_goods_to_be_provided_set":
        [
            {
                "installed_item": null,
                "quantity": 31,
                "id": "86EBB22414AF089F125D2DA534100FAE",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "NONTRACEABLE",
                        "service_type": null,
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "PHYSICALGOODS",
                        "name": "Accessories",
                        "id": "0F94B51F175F06A475EB2948B4030074",
                        "description": "A type which is used for accessories physical goods",
                        "alternative_code": "005"
                    },
                    "id": "97CF748815BEBA2B294148694D9E0B14",
                    "description": null,
                    "code": "Wires",
                    "alternative_code": "WI"
                }
            },
            {
                "installed_item":
                {
                    "state": "EFFECTIVE",
                    "serial_number": "d2000000000",
                    "id": "10225F6DF089E18951E01D11F8C766FE",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "12A61F321368703D77C48A0A085D9B7D",
                        "description": "Decoders 2",
                        "code": "Decoders 2",
                        "alternative_code": "D2"
                    },
                    "alternative_code": "d2000000000"
                },
                "quantity": null,
                "id": "86697663F6AC4EDFB8C6D5AC00D58FB6",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "service_type": null,
                        "used_for_provisioning": true,
                        "composition_method": "FLAT",
                        "classification": "PHYSICALGOODS",
                        "name": "Decoders",
                        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                        "description": "Decoders",
                        "alternative_code": "D"
                    },
                    "id": "12A61F321368703D77C48A0A085D9B7D",
                    "description": "Decoders 2",
                    "code": "Decoders 2",
                    "alternative_code": "D2"
                }
            }
        ],
        "owned_by_group":
        {
            "community_name": "Main Community",
            "name": "Nicosia Office",
            "id": "68D54DA033606669621E3D2E4B355DA0",
            "description": null,
            "alternative_code": "NO"
        },
        "log_information":
        {
            "updated_date": "2014-11-12T10:34:18",
            "created_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2014-11-12T10:34:17",
            "updated_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": null
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": null
            }
        },
        "status":
        {
            "name": "Pending",
            "id": "A72F80D3B0C42597240DBA79AC295173",
            "alternative_code": "P1"
        },
        "actual_completed_date": null,
        "life_cycle_state": "PENDING",
        "location":
        {
            "care_of": "111",
            "street_number": "111",
            "udf_string_10": null,
            "udf_float_1": null,
            "udf_string_11": null,
            "street_name": "1111",
            "udf_float_2": null,
            "udf_string_12": null,
            "udf_float_3": null,
            "udf_string_13": null,
            "udf_float_4": null,
            "udf_string_14": null,
            "udf_string_15": null,
            "po_box": "111",
            "udf_string_1": null,
            "udf_string_16": null,
            "udf_string_2": null,
            "floor": 121,
            "udf_string_3": null,
            "area": "1",
            "udf_string_4": null,
            "district": "1",
            "udf_string_5": null,
            "udf_string_6": null,
            "udf_string_7": null,
            "state": "Active",
            "udf_string_8": null,
            "udf_string_9": null,
            "country":
            {
                "name": "UNITED KINGDOM",
                "id": "126"
            },
            "id": "725D4B23253D4AB73849C1E1C92C022D",
            "postal_code": "111",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "udf_date_4": null,
            "po_box_postal_code": "1111",
            "apartment_number": "111",
            "town_city": "1",
            "type": "Home",
            "municipality": "1"
        },
        "estimate_completion_time":
        {
            "time_period_value": 5,
            "time_period_uot": "DAYS"
        },
        "type":
        {
            "name": "Installation Job",
            "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
            "alternative_code": "001"
        },
        "description": "tv installation",
        "category":
        {
            "name": "Installations",
            "id": "194CA3ACB5783924488F5F7E49FE82CC",
            "description": "Installations",
            "code": "IN"
        },
        "expenses_set":
        [
            {
                "id": "C40CDCDA4FAC98D13FBD0C838611F461",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": null,
                        "service_type": "ONETIME",
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "SERVICES",
                        "name": "Magazine Subscription",
                        "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                        "description": "Magazine Subscription",
                        "alternative_code": "MS"
                    },
                    "id": "1C7A9DF9605034D0423FE645923E4514",
                    "description": "FEE4",
                    "code": "FEE4",
                    "alternative_code": null
                }
            },
            {
                "id": "C877051C290BAF8B8E8E599C20F23107",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": null,
                        "service_type": "ONETIME",
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "SERVICES",
                        "name": "Magazine Subscription",
                        "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                        "description": "Magazine Subscription",
                        "alternative_code": "MS"
                    },
                    "id": "BA96B8FE1299C4F364CA8EF3D7F1FC17",
                    "description": "FEE9",
                    "code": "FEE9",
                    "alternative_code": null
                }
            }
        ]
    }
}
Expand
titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
"token":"3EEEA4A93F304D4AA81AB394507EDE82",
"type_identifier":{"name":"Swap Sub Installed Item LP"},
"status_identifier":{"name":"Assigned"},
"accounts_receivable_identifier":{"number":"ACR000852"},
"subscription_identifier":{"number":"S60692"},
"location_identifier":{"type":"HOME"},
"estimate_completion_time":{"time_period_value":5,"time_period_uot":"DAYS"},
"assigned_to":{"user_identifier":{"username":"MPAdministrator"}},
"billing_terms":{"price_plan_identifier":{"code":"BPP0614"},
                       "billing_term_scheme_identifier":{"code":"Jobs Scheme - Concurrent"},
                        "concurrent_usage_based_pricing":{"concurrent_usage":1,"rate_percentage":100}},
"requested_subscription_physical_goods_set":
  [
    {
      "installed_item_identifier":{"serial_number":"sb20001118"}
     }
   ]
}

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,
            "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": null,
            "activities_set":
            [
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "physical_goods_set":
            [
            ],
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Papapavlou",
                    "middle_name": null,
                    "life_cycle_state": "FINANCIAL",
                    "company_profile": null,
                    "title": "Miss",
                    "first_name": "Loukia",
                    "type": "PERSON",
                    "id": "37072CF6ED884737B6592A7CBB6D5342",
                    "name": "Papapavlou Loukia",
                    "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": "LP1234",
                        "industry": null,
                        "id_issued_by_country": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "ACR000852",
                "id": "A86D415E729945C6933177D83319FBE6",
                "name": "ACR000852"
            },
            "id": "9A87BFB77BF44CEF8C8F675926DD7EAE",
            "requested_activity_services_set":
            [
            ],
            "requested_subscription_physical_goods_set":
            [
                {
                    "swap_installed_item": null,
                    "provisioning_distributor": null,
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "sb20001118",
                        "id": "BC4D9573AFD04E2EA59174AA7BE038FE",
                        "alternative_code": "sb20001118",
                        "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"
                        }
                    },
                    "id": "4E5A414F50E843659F9C05A3A170A709",
                    "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"
                    }
                }
            ],
            "expected_completion_date": "2016-02-29T12:13:16",
            "time_to_completion":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "time_overdue":
            {
                "time_period_value": null,
                "time_period_uot": null
            },
            "log_information":
            {
                "updated_date": "2016-02-24T12:14:50",
                "created_date": "2016-02-24T12:13:16",
                "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": "PENDING",
            "location":
            {
                "udf_string_10": null,
                "street_number": "4",
                "care_of": null,
                "udf_string_11": null,
                "udf_float_1": null,
                "street_name": "Markou Drakou",
                "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": "2F132D5A059846EF8288B8A9AAC37E00",
                "postal_code": "2213",
                "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": "SWAP_SUB_INSTALLED_ITEMS",
                "id": "6D1937BD1F1846CDA6AE994FD4C8B46F",
                "name": "Swap Sub Installed Item LP",
                "description": null,
                "alternative_code": "Swap Sub Installed Item LP"
            },
            "contact_email": null,
            "expenses_set":
            [
            ],
            "notes": null,
            "billing_terms":
            {
                "binding_information": null,
                "agreement_date": "2016-02-24T00: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-02-24T00:00:00",
                "billing_frequency": null,
                "id": "8DEE60C3256642E9BD7A00DD0C218D91",
                "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": null
                }
            },
            "number": "JOB000477",
            "estimated_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "requested_subscription":
            {
                "life_cycle_state": "EFFECTIVE",
                "accounts_receivable":
                {
                    "account_owner":
                    {
                        "last_name": "Papapavlou",
                        "middle_name": null,
                        "life_cycle_state": "FINANCIAL",
                        "company_profile": null,
                        "title": "Miss",
                        "first_name": "Loukia",
                        "type": "PERSON",
                        "id": "37072CF6ED884737B6592A7CBB6D5342",
                        "name": "Papapavlou Loukia",
                        "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": "LP1234",
                            "industry": null,
                            "id_issued_by_country": null
                        }
                    },
                    "life_cycle_state": "ACTIVE",
                    "number": "ACR000852",
                    "id": "A86D415E729945C6933177D83319FBE6",
                    "name": "ACR000852"
                },
                "number": "S60692",
                "type":
                {
                    "udf_float_1": null,
                    "udf_float_2": null,
                    "udf_date_1": null,
                    "udf_float_3": null,
                    "udf_date_2": null,
                    "udf_float_4": null,
                    "udf_date_3": null,
                    "udf_date_4": null,
                    "name": "United Kingdom",
                    "udf_string_1": null,
                    "udf_string_2": null,
                    "udf_string_3": null,
                    "udf_string_4": null,
                    "udf_string_5": null,
                    "udf_string_6": null,
                    "udf_string_7": null,
                    "log_information":
                    {
                        "updated_date": "2016-01-30T09:57:23",
                        "created_date": "2014-06-25T15:44: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"
                        },
                        "updated_by_user":
                        {
                            "person_name": "MPAdministrator",
                            "username": "MPAdministrator",
                            "id": "1",
                            "email": "sakkascy1986@hotmail.com"
                        }
                    },
                    "udf_string_8": null,
                    "id": "1C81FBB1E5D90040F440ECE98D6A368D",
                    "description": "United Kingdom",
                    "alternative_code": "UK"
                },
                "id": "4ADBEF42548B4EF9B860B749E96C8E87"
            },
            "subscription_services_set":
            [
                {
                    "life_cycle_state": "EFFECTIVE",
                    "id": "C28C7352EBDF4B42A33B63038BF35C9A",
                    "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": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
                        "description": "Gold Premium Package",
                        "code": "Gold",
                        "alternative_code": "GPP"
                    }
                }
            ],
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "start_date": "2016-02-24T12:13:16",
            "udf_date_4": null,
            "bills_set":
            [
            ],
            "requested_expenses_set":
            [
            ],
            "owned_by_group":
            {
                "community_name": "Internal Community",
                "id": "84F33366CB592BAAE7E2044D93611C6A",
                "name": "Main Group",
                "description": "Main Group",
                "alternative_code": "MG1"
            },
            "status":
            {
                "life_cycle_state": "PENDING",
                "id": "JobStatus1",
                "name": "Assigned",
                "description": null,
                "alternative_code": "AS"
            },
            "actual_completed_date": null,
            "subscription_physical_goods_set":
            [
                {
                    "ownership_status": "RENTED_TO_CUSTOMER",
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "SM0005",
                        "id": "BA0371AEB0AC4A259804014CBB657B94",
                        "alternative_code": "SM0005",
                        "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": "7832753D414A4C13BD823C7B7EC2CFF9"
                },
                {
                    "ownership_status": null,
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "sb20001118",
                        "id": "BC4D9573AFD04E2EA59174AA7BE038FE",
                        "alternative_code": "sb20001118",
                        "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": "067B8687070F40A39780E737270CA9F3"
                }
            ],
            "description": null,
            "category": null
        }
    }
Expand
titleExample 3

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
"token":"3EEEA4A93F304D4AA81AB394507EDE82",
"fields_set":"requested_expenses_set,estimated_completion_time,billing_terms,assigned_to,accounts_receivable",
"type_identifier":{"name":"Installation Job"},
"status_identifier":{"name":"Draft"},
"category_identifier":{"name":"External"},
"accounts_receivable_identifier":{"number":"ACR000997"},
"description":"tv installation",
"notes":"postponed for next month",
"start_date":"2015-09-06T15:49:59",
"location_identifier":{"type":"HOME"},
"owned_by_group_identifier":{"name":"Main Group"},
"udf_string_1":"udf string 1",
"udf_string_2":"udf string 2",
"udf_string_3":"udf string 3",
"udf_string_4":"udf string 4",
"udf_string_5":"udf string 5",
"udf_string_6":"udf string 6",
"udf_string_7":"udf string 7",
"udf_string_8":"udf string 8",
"udf_float_1":10,
"udf_float_2":20,
"udf_float_3":30,
"udf_float_4":40,
"udf_float_5":50,
"udf_float_6":60,
"udf_float_7":70,
"udf_float_8":80,
"udf_date_1":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59",
"estimate_completion_time":{"time_period_value":5,"time_period_uot":"DAYS"},
"assigned_to":{"user_identifier":{"username":"MPAdministrator"}},
"activities_set":
  [
    {
      "activity_identifier":{"number":"1"}
     }
   ],
 "billing_terms":{"price_plan_identifier":{"code":"BPP0614"},
    "billing_term_scheme_identifier":{"code":"Jobs Scheme - Concurrent"},
    "concurrent_usage_based_pricing":{"concurrent_usage":1,"rate_percentage":100}
},
"requested_expenses_set":
 [
   {
     "product_identifier" : { "code" : "Expence 1"}
   }
 ]
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
   {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-06-09T00: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-06-09T00:00:00",
      "billing_frequency": null,
      "id": "A842FEA1CE1944A5A5519C4F46D05007",
      "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
      }
    },
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Mika",
        "middle_name": null,
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Ms",
        "first_name": "Dina",
        "type": "PERSON",
        "id": "9ED00E7228634EF986807DF4D86A3F84",
        "name": "Mika Dina",
        "company_name": null,
        "demographics": {
          "gender": null,
          "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": "14587522",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR000997",
      "id": "ECA31D4A28C94AF4BCB15F794FFC3C27",
      "name": "ACR000997"
    },
    "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"
      }
    },
    "estimated_completion_time": {
      "time_period_value": 9.166666666666666,
      "time_period_uot": "MONTHS"
    },
    "requested_expenses_set": [
      {
        "id": "5666FD45F03F419FA80B67877E40CC3F",
        "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"
        }
      }
    ]
  }
}
 

POST jobs/update

This method updates jobs.  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

 

Tip

Available from CRM.COM R6.0.0

...

contact_phone

(optional)

...

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

 

Tip

Available from CRM.COM R6.0.0

...

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)

...

The billing terms of the retrieved job.This information is applicable if the job type fulfillment method is set to Generic Purpose and if the job is still draft or pending

Tip

For Releases previous to CRM.COM R6.0.0 this information is applicable for any type of billable jobs

...

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 type fulfillment method is set to New Subscription and if the job is still draft or pending

Tip

Available from CRM.COM R6.0.0

...

requested_subscription_services_set

(optional)

...

The requested subscription services. This information is applicable only if the job type fulfillment scope is set to New Subscription, Add Subscription Services, Cancel Subscription Services or Swap Subscription Services and if the job is draft or pending

...

Tip

Available from CRM.COM R6.0.0

Tip

The information is also available for Swap Subscription Service jobs from CRM.COM R9.0.0

...

requested_physical_goods_set

(optional)

...

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

...

Tip

Available from CRM.COM R6.0.0

...

requested_subscription_physical_goods_set

(optional)

...

The requested subscription physical goods. This information is applicable only if the job type fulfillment scope is set to New Subscription or Add Subscription Services or Swap Subscription Installed Items and if the job is draft or pending

...

Tip

Available from CRM.COM R6.0.0

Tip

The information is also available for Swap Subscription Installed Item jobs from CRM.COM R9.0.0

...

requested_expenses_set

(optional)

...

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

...

Tip

Available from CRM.COM R6.0.0

...

requested_activity_services_set

(optional)

...

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

...

Tip

Available from CRM.COM R6.0.0

...

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

...

Tip

In releases previous to CRM.COM R6.0.0, physical_goods_set is available as physical_goods_to_be_provided_set. This object is deprecated in CRM.COM R6.0.0

...

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

Tip

Available from CRM.COM R10.0.0

...

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":"27403C970AE6CF154F572EA76600EA92",
   "job_identifier":{"number":"J00000032"},
   "status_identifier":{"name":"Open2"},
   "description":"typical intallation",
   "notes":"premium tv package",
   "start_date":"2014-09-05T15:49:59",
   "udf_string_1":"new udf string 1",
   "physical_goods_to_be_provided_set":
    [
        {
           "action":"ADD",
           "product_identifier" : { "code" : "Universal Remote Controls"},
           "quantity" : 5
        }
    ],
	"expenses_set":    [
  {        "action":"add",
            "product_identifier":{"code":"FEE4"},
              "time_spend":       {"time_period_value":"2", "time_period_uot":"HOURS"}    
   }
    ]
 }

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "notes": "Marios Lannister	25/2/2015 14:48:57	postponed for next month	Marios Lannister	25/2/2015 14:53:07	premium tv package",
        "billing_terms": null,
        "udf_float_1": 10,
        "udf_float_2": 20,
        "udf_float_3": 30,
        "number": "J00000032",
        "udf_float_4": 40,
        "udf_string_1": "new udf string 1",
        "udf_string_2": "udf string 2",
        "assigned_to":
        {
            "unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "privacy_level":
        {
            "number": "61",
            "hierarchy_level": 6,
            "name": "DPLG6",
            "id": "02D0A95A45CCC1D1834FFA6DC3D31F3D"
        },
        "udf_string_3": "udf string 3",
        "udf_string_4": "udf string 4",
        "udf_string_5": "udf string 5",
        "activities_set":
        [
        ],
        "udf_string_6": "udf string 6",
        "udf_string_7": "udf string 7",
        "udf_string_8": "udf string 8",
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Papapavlou",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": null,
                "type": "PERSON",
                "first_name": "Lucia",
                "name": "Lucia Papapavlou",
                "id": "691E4101DE919D4C87D3E1006EDDE08B",
                "company_name": null,
                "demographics":
                {
                    "gender": null,
                    "passport_issued_by_country": null,
                    "passport_number": null,
                    "social_security_number": null,
                    "country_of_residence":
                    {
                        "name": "UNITED KINGDOM",
                        "id": "126"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": null,
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "330",
            "name": "luc1",
            "id": "08D8AE790F1EE11887654469CC9F4C37"
        },
        "id": "F70AC238ABF24337B852252AB404CC3B",
        "udf_date_1": "2014-05-05T15:49:59",
        "udf_date_2": "2014-06-05T15:49:59",
        "udf_date_3": "2014-07-05T15:49:59",
        "expected_completion_date": "2014-11-17T15:49:59",
        "start_date": "2014-09-05T15:49:59",
        "udf_date_4": "2014-08-05T15:49:59",
        "time_to_completion":
        {
            "time_period_value": null,
            "time_period_uot": null
        },
        "time_overdue":
        {
            "time_period_value": 3.2857142857142856,
            "time_period_uot": "MONTHS"
        },
        "bills_set":
        [
        ],
        "physical_goods_to_be_provided_set":
        [
            {
                "installed_item":
                {
                    "state": "EFFECTIVE",
                    "serial_number": "d2000000000",
                    "id": "10225F6DF089E18951E01D11F8C766FE",
                    "product":
                    {
                        "product_type":
                        {
                            "physical_good_type": "TRACEABLE",
                            "service_type": null,
                            "used_for_provisioning": true,
                            "composition_method": "FLAT",
                            "classification": "PHYSICALGOODS",
                            "name": "Decoders",
                            "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                            "description": "Decoders",
                            "alternative_code": "D"
                        },
                        "id": "12A61F321368703D77C48A0A085D9B7D",
                        "description": "Decoders 2",
                        "code": "Decoders 2",
                        "alternative_code": "D2"
                    },
                    "alternative_code": "d2000000000"
                },
                "quantity": null,
                "id": "C8964A79002C461787A84D01476917E9",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "service_type": null,
                        "used_for_provisioning": true,
                        "composition_method": "FLAT",
                        "classification": "PHYSICALGOODS",
                        "name": "Decoders",
                        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                        "description": "Decoders",
                        "alternative_code": "D"
                    },
                    "id": "12A61F321368703D77C48A0A085D9B7D",
                    "description": "Decoders 2",
                    "code": "Decoders 2",
                    "alternative_code": "D2"
                }
            },
            {
                "installed_item": null,
                "quantity": 5,
                "id": "FC1A005342FB4F54B22C0B0840890F47",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "NONTRACEABLE",
                        "service_type": null,
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "PHYSICALGOODS",
                        "name": "Accessories",
                        "id": "0F94B51F175F06A475EB2948B4030074",
                        "description": "A type which is used for accessories physical goods",
                        "alternative_code": "005"
                    },
                    "id": "C5DA6C8CB66777D6CF75E6A0D9C65C34",
                    "description": "Universal Remote Controls",
                    "code": "Universal Remote Controls",
                    "alternative_code": "Universal Remote Controls"
                }
            },
            {
                "installed_item": null,
                "quantity": 31,
                "id": "2D7FEBF72AB84A61A14E7AFCF293D806",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "NONTRACEABLE",
                        "service_type": null,
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "PHYSICALGOODS",
                        "name": "Accessories",
                        "id": "0F94B51F175F06A475EB2948B4030074",
                        "description": "A type which is used for accessories physical goods",
                        "alternative_code": "005"
                    },
                    "id": "97CF748815BEBA2B294148694D9E0B14",
                    "description": null,
                    "code": "Wires",
                    "alternative_code": "WI"
                }
            }
        ],
        "owned_by_group":
        {
            "community_name": "Main Community",
            "name": "Nicosia Office",
            "id": "68D54DA033606669621E3D2E4B355DA0",
            "description": null,
            "alternative_code": "NO"
        },
        "log_information":
        {
            "updated_date": "2015-02-25T14:53:07",
            "created_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2015-02-25T14:48:57",
            "updated_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "status":
        {
            "name": "Open2",
            "id": "728752B4BF79B4AA8B8EE8A15EF8C93C",
            "description": null,
            "alternative_code": "Open2"
        },
        "actual_completed_date": null,
        "life_cycle_state": "PENDING",
        "location":
        {
            "care_of": "111",
            "street_number": "111",
            "udf_string_10": null,
            "udf_float_1": null,
            "udf_string_11": null,
            "street_name": "1111",
            "udf_float_2": null,
            "udf_string_12": null,
            "udf_float_3": null,
            "udf_string_13": null,
            "udf_float_4": null,
            "udf_string_14": null,
            "udf_string_15": null,
            "po_box": "111",
            "udf_string_1": null,
            "udf_string_16": null,
            "udf_string_2": null,
            "floor": 121,
            "udf_string_3": null,
            "area": "1",
            "udf_string_4": null,
            "district": "1",
            "udf_string_5": null,
            "udf_string_6": null,
            "udf_string_7": null,
            "state": "Active",
            "udf_string_8": null,
            "udf_string_9": null,
            "country":
            {
                "name": "UNITED KINGDOM",
                "id": "126"
            },
            "id": "725D4B23253D4AB73849C1E1C92C022D",
            "postal_code": "111",
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "udf_date_4": null,
            "po_box_postal_code": "1111",
            "apartment_number": "111",
            "town_city": "1",
            "type": "Home",
            "municipality": "1"
        },
        "estimate_completion_time":
        {
            "time_period_value": 2.4,
            "time_period_uot": "MONTHS"
        },
        "type":
        {
            "name": "Installation Job",
            "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
            "description": "desc",
            "alternative_code": "001"
        },
        "description": "typical intallation",
        "category":
        {
            "name": "Installations",
            "id": "194CA3ACB5783924488F5F7E49FE82CC",
            "description": "Installations",
            "code": "IN"
        },
        "expenses_set":
        [
            {
                "id": "31C683D855D54BF699B86423D9AD3A32",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": null,
                        "service_type": "ONETIME",
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "SERVICES",
                        "name": "Magazine Subscription",
                        "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                        "description": "Magazine Subscription",
                        "alternative_code": "MS"
                    },
                    "id": "1C7A9DF9605034D0423FE645923E4514",
                    "description": "FEE4",
                    "code": "FEE4",
                    "alternative_code": null
                }
            },
            {
                "id": "10E173FF98C044EDB7AAC0C655D9EB72",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": null,
                        "service_type": "ONETIME",
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "SERVICES",
                        "name": "Magazine Subscription",
                        "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                        "description": "Magazine Subscription",
                        "alternative_code": "MS"
                    },
                    "id": "BA96B8FE1299C4F364CA8EF3D7F1FC17",
                    "description": "FEE9",
                    "code": "FEE9",
                    "alternative_code": "FEE9"
                }
            },
            {
                "id": "C9F66B1B26484EF9A05E3C6E3E54DAC5",
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": null,
                        "service_type": "ONETIME",
                        "used_for_provisioning": false,
                        "composition_method": "FLAT",
                        "classification": "SERVICES",
                        "name": "Magazine Subscription",
                        "id": "BB0025655ABF9B6AB0AF96B59A7B7513",
                        "description": "Magazine Subscription",
                        "alternative_code": "MS"
                    },
                    "id": "1C7A9DF9605034D0423FE645923E4514",
                    "description": "FEE4",
                    "code": "FEE4",
                    "alternative_code": null
                }
            }
        ]
    }
}
Expand
titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"C943ADCFB435444B85D8E605C79EB989",
    "job_identifier"         :    { "number" : "J000153" },
	"requested_subscription_services_set":
    [
        {
        "action":"add",
        "service_identifier":{"code":"Cartoons 1"},
        "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "service_identifier":{"code":"Cartoons 2"},
        "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "service_identifier":{"code":"Platinum - Flex"},
                "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ],
        "components_set":[
                {
                    "service_identifier":{"code":"Cartoons 1 "}
                }
        ]
        }
    ],
	"requested_subscription_physical_goods_set":
    [
        {
        "action":"add",
        "product_identifier":{"code":"Decoders 1"},
                "quantity":2,
                "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "product_identifier":{"code":"Smartcard 1"},
                "quantity":4
        }
    ],
	"requested_physical_goods_set":
    [
        {
        "action":"add",
        "product_identifier":{"code":"Antenna 1"},
                "quantity":2
        },
        {
        "action":"add",
        "product_identifier":{"code":"HD Camera V1"},
                "quantity":1
        }
    ],
	"requested_expenses_set":
    [
        {
        "action":"add",
        "product_identifier":{"code":"Installation Fee"}
        }
    ],
	"requested_activity_services_set":
    [
        {
        "action":"add",
        "activity_type_identifier":{"name":"InstallationsX"},
        "product_identifier":{"code":"Installation Fee"}
        }
    ]
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
       "status":
       {
           "message": "",
           "description": "",
           "code": "OK"
       },
       "data":
       {
           "requested_physical_goods_set":
           [
               {
                   "id": "52605B423B444B49BBFD563E2E7BFAD9",
                   "quantity": 2,
                   "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": "70FFDF2B2A74466DD7D0D5246ED1DD2D",
                       "description": "Antenna v1",
                       "code": "Antenna 1",
                       "alternative_code": "ANT1"
                   }
               },
               {
                   "id": "5FBB68A3057F49DA8086480BAB46A238",
                   "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": "3F01BB0B40264DF7311660F63CB2180D",
                       "description": "Remote Control",
                       "code": "Remote Control",
                       "alternative_code": "REM"
                   }
               },
               {
                   "id": "FF079E78D79E4CE88DC92241039112FE",
                   "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": "13C42638B34C902F16D4EB516F775E0F",
                       "description": "HD Camera Version 1",
                       "code": "HD Camera V1",
                       "alternative_code": "HDCV1"
                   }
               }
           ],
           "udf_float_1": null,
           "udf_float_2": null,
           "udf_float_3": null,
           "udf_float_4": null,
           "udf_string_1": null,
           "requested_subscription_type":
           {
               "id": "3100B0D56E7C7EADF073C34BCE1E42AF",
               "name": "London",
               "description": null,
               "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",
                   "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,
           "activities_set":
           [
           ],
           "udf_string_6": null,
           "physical_goods_set":
           [
           ],
           "udf_string_7": null,
           "udf_string_8": null,
           "requested_subscription_billing_terms":
           {
               "binding_information":
               {
                   "state": "IN_BINDING",
                   "end_date": "2016-05-22T09:58:27",
                   "start_date": "2015-05-22T09:58:27",
                   "binding_period":
                   {
                       "name": "Annual",
                       "code": "ANNUAL"
                   }
               },
               "agreement_date": "2015-05-02T19:00:00",
               "concurrent_usage_based_pricing":
               {
                   "concurrent_usage": null,
                   "rate_percentage": null
               },
               "billing_term_scheme":
               {
                   "life_cycle_state": "EFFECTIVE",
                   "billing_method": "PERIOD",
                   "classification": "SUBSCRIPTIONS",
                   "id": "6BC13F6EF7C14157914EFD507E71547A",
                   "name": "Period BT Scheme",
                   "code": "PBTS",
                   "billing_type": "NORMAL"
               },
               "billing_frequency":
               {
                   "name": "Annual",
                   "code": "ANNUAL"
               },
               "id": "BD6F472340CE4FBBB4C7F0686053533A",
               "billing_cycle_day": 1,
               "price_plan":
               {
                   "effective_date": "2015-05-21T09:41:51",
                   "type": "BASE",
                   "id": "27D2C180C6DF4145B6F20E50B04EB07F",
                   "name": "BPP0614",
                   "description": "Base Price PLan June 14 for Subscription Test Case 6",
                   "code": "BPP0614",
                   "expiration_date": null
               }
           },
           "accounts_receivable":
           {
               "account_owner":
               {
                   "last_name": "Mika",
                   "middle_name": null,
                   "life_cycle_state": "FINANCIAL",
                   "company_profile": null,
                   "title": "Mr",
                   "first_name": "Darko",
                   "type": "PERSON",
                   "id": "531C8308457947EFAFA91776AA4F4B4E",
                   "name": "Darko Mika",
                   "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": null,
                       "industry": null,
                       "id_issued_by_country": null
                   }
               },
               "life_cycle_state": "ACTIVE",
               "number": "ACR000524",
               "id": "89B7FB03A56E41DBA49EE7D9ED0D95C6",
               "name": "Darko"
           },
           "id": "8893422552BF40C1AF08AB5251EAEA66",
           "subscription": null,
           "requested_activity_services_set":
           [
               {
                   "activity_type":
                   {
                       "id": "6D0C79835F7B0059D3BD1A51F2A03F41",
                       "name": "Maintenance visits",
                       "description": null,
                       "alternative_code": "MV"
                   },
                   "id": "39DF5A1D779442C38139AD1DCAB10B6D",
                   "product":
                   {
                       "id": "8B58C14194D51E560F0E49B0292EA56F",
                       "description": null,
                       "code": "Maintenance Fee",
                       "alternative_code": "MC"
                   }
               },
               {
                   "activity_type":
                   {
                       "id": "938B9B6411AAB03DC25B3F569A443C6D",
                       "name": "InstallationsX",
                       "description": "Test",
                       "alternative_code": "INX"
                   },
                   "id": "11DE1E6900F04139B63169A05F45A04A",
                   "product":
                   {
                       "id": "8F7A45F44BBEB320718F309F58CCE097",
                       "description": "Installation",
                       "code": "Installation Fee",
                       "alternative_code": "Ins"
                   }
               }
           ],
           "requested_subscription_physical_goods_set":
           [
               {
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "D2C1B6B67E8D4CE687F1DE8A9B0FE05D",
                   "quantity": 2,
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": null,
                           "physical_good_type": "TRACEABLE",
                           "used_for_provisioning": true,
                           "classification": "PHYSICALGOODS",
                           "composition_method": "FIXEDBUNDLE",
                           "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                           "name": "Decoders",
                           "description": "Decoders",
                           "alternative_code": "D"
                       },
                       "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                       "description": "Decoders 1",
                       "code": "Decoders 1",
                       "alternative_code": "D1"
                   }
               },
               {
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "0F5D7B3CBDFD4406B1195A4E9A1A3ED0",
                   "quantity": 2,
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": null,
                           "physical_good_type": "TRACEABLE",
                           "used_for_provisioning": true,
                           "classification": "PHYSICALGOODS",
                           "composition_method": "FIXEDBUNDLE",
                           "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                           "name": "Decoders",
                           "description": "Decoders",
                           "alternative_code": "D"
                       },
                       "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                       "description": "Decoders 1",
                       "code": "Decoders 1",
                       "alternative_code": "D1"
                   }
               },
               {
                   "provisioning_distributor": null,
                   "id": "F7773B57B13644748CE7588F1E195812",
                   "quantity": 4,
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": null,
                           "physical_good_type": "TRACEABLE",
                           "used_for_provisioning": true,
                           "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": "2015-08-11T16:25:59",
           "time_to_completion":
           {
               "time_period_value": 2.5161290322580645,
               "time_period_uot": "MONTHS"
           },
           "time_overdue":
           {
               "time_period_value": null,
               "time_period_uot": null
           },
           "log_information":
           {
               "updated_date": "2015-05-26T11:12:18",
               "created_date": "2015-05-19T16:25:59",
               "created_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "updated_by_unit":
               {
                   "community_name": "Internal Community",
                   "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                   "name": "Admin Unit",
                   "group_name": "Main Group",
                   "description": "r1",
                   "alternative_code": "MG"
               },
               "created_by_user":
               {
                   "person_name": "MPAdministrator",
                   "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": null,
               "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": 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": "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": 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": "Marios Lannister 19/5/2015 16:26:03 postponed for next month",
           "billing_terms":
           {
               "binding_information":
               {
                   "state": "IN_BINDING",
                   "end_date": "2016-05-22T00:00:00",
                   "start_date": "2015-05-22T00:00:00",
                   "binding_period":
                   {
                       "name": "Annual",
                       "code": "ANNUAL"
                   }
               },
               "agreement_date": "2015-05-02T00: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": "2015-05-19T00:00:00",
               "billing_frequency":
               {
                   "name": "Annual",
                   "code": "ANNUAL"
               },
               "id": "23342CB5881D4C76BED1BE6B922711C9",
               "allowed_cancel_date": null,
               "expiration_date": null,
               "billing_cycle_day": 1,
               "price_plan":
               {
                   "effective_date": "2015-05-21T09:41:51",
                   "type": "BASE",
                   "id": "27D2C180C6DF4145B6F20E50B04EB07F",
                   "name": "BPP0614",
                   "description": "Base Price PLan June 14 for Subscription Test Case 6",
                   "code": "BPP0614",
                   "expiration_date": null
               }
           },
           "number": "J000153",
           "estimated_completion_time":
           {
               "time_period_value": 8.955913978494623,
               "time_period_uot": "MONTHS"
           },
           "requested_subscription_services_set":
           [
               {
                   "product_bundle":
                   {
                       "product_bundle": null,
                       "provisioning_distributor":
                       {
                           "id": "B192D909D9B041F89FA8A197DC0F709A",
                           "name": "Main ",
                           "alternative_code": "M"
                       },
                       "id": "975064A30B7048E9B788FCD3E9F8CBE2",
                       "product":
                       {
                           "product_type":
                           {
                               "service_type": "TERMED",
                               "physical_good_type": null,
                               "used_for_provisioning": true,
                               "classification": "SERVICES",
                               "composition_method": "FLEXIBLEBUNDLE",
                               "id": "0987FC84A9BA2BF055C0402627A3C893",
                               "name": "Termed - Flexible Bundle",
                               "description": "Termed Flexible Bundle",
                               "alternative_code": "FB"
                           },
                           "id": "8C38F65AC81ADA7CF9F9BB08FC910E85",
                           "description": null,
                           "code": "Platinum - Flex",
                           "alternative_code": "PLT-FLX"
                       }
                   },
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "8FC5404EA4D546258C18E2FD9849F0C4",
                   "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": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                       "description": "Cartoons 1",
                       "code": "Cartoons 1 ",
                       "alternative_code": "C1"
                   }
               },
               {
                   "product_bundle":
                   {
                       "product_bundle": null,
                       "provisioning_distributor":
                       {
                           "id": "91453852CE14AF3656464C7DF391B732",
                           "name": "Twin 1",
                           "alternative_code": "T1"
                       },
                       "id": "C818D19D62E24B67BC84A947F866332D",
                       "product":
                       {
                           "product_type":
                           {
                               "service_type": "TERMED",
                               "physical_good_type": null,
                               "used_for_provisioning": true,
                               "classification": "SERVICES",
                               "composition_method": "FLEXIBLEBUNDLE",
                               "id": "0987FC84A9BA2BF055C0402627A3C893",
                               "name": "Termed - Flexible Bundle",
                               "description": "Termed Flexible Bundle",
                               "alternative_code": "FB"
                           },
                           "id": "8C38F65AC81ADA7CF9F9BB08FC910E85",
                           "description": null,
                           "code": "Platinum - Flex",
                           "alternative_code": "PLT-FLX"
                       }
                   },
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "B5331273E3574D1A9E3E37EC298A762F",
                   "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": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                       "description": "Cartoons 1",
                       "code": "Cartoons 1 ",
                       "alternative_code": "C1"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "617EA1E00B77435EB1B8A44518CAFF47",
                   "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,
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "49D56E99183E46BBBA740A7049D59304",
                   "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": "CAD1E31269B76D7A65ACCE45B2E68DFD",
                       "description": "Bronze Premium Package",
                       "code": "Bronze",
                       "alternative_code": "BP"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "4F10C873CBD04B80AFC1B245E97DC311",
                   "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,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "302468112AA645B3BA90ACCBA4A84755",
                   "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": "CAD1E31269B76D7A65ACCE45B2E68DFD",
                       "description": "Bronze Premium Package",
                       "code": "Bronze",
                       "alternative_code": "BP"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "C818D19D62E24B67BC84A947F866332D",
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": "TERMED",
                           "physical_good_type": null,
                           "used_for_provisioning": true,
                           "classification": "SERVICES",
                           "composition_method": "FLEXIBLEBUNDLE",
                           "id": "0987FC84A9BA2BF055C0402627A3C893",
                           "name": "Termed - Flexible Bundle",
                           "description": "Termed Flexible Bundle",
                           "alternative_code": "FB"
                       },
                       "id": "8C38F65AC81ADA7CF9F9BB08FC910E85",
                       "description": null,
                       "code": "Platinum - Flex",
                       "alternative_code": "PLT-FLX"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "975064A30B7048E9B788FCD3E9F8CBE2",
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": "TERMED",
                           "physical_good_type": null,
                           "used_for_provisioning": true,
                           "classification": "SERVICES",
                           "composition_method": "FLEXIBLEBUNDLE",
                           "id": "0987FC84A9BA2BF055C0402627A3C893",
                           "name": "Termed - Flexible Bundle",
                           "description": "Termed Flexible Bundle",
                           "alternative_code": "FB"
                       },
                       "id": "8C38F65AC81ADA7CF9F9BB08FC910E85",
                       "description": null,
                       "code": "Platinum - Flex",
                       "alternative_code": "PLT-FLX"
                   }
               },
               {
                   "product_bundle":
                   {
                       "product_bundle": null,
                       "provisioning_distributor":
                       {
                           "id": "9B39C9E2B44C4F383F75287769F3E6E9",
                           "name": "Twin 2",
                           "alternative_code": "TW2"
                       },
                       "id": "847D2A63DB8A4A4D80495A03B76D7E04",
                       "product":
                       {
                           "product_type":
                           {
                               "service_type": "TERMED",
                               "physical_good_type": null,
                               "used_for_provisioning": true,
                               "classification": "SERVICES",
                               "composition_method": "FLEXIBLEBUNDLE",
                               "id": "0987FC84A9BA2BF055C0402627A3C893",
                               "name": "Termed - Flexible Bundle",
                               "description": "Termed Flexible Bundle",
                               "alternative_code": "FB"
                           },
                           "id": "8C38F65AC81ADA7CF9F9BB08FC910E85",
                           "description": null,
                           "code": "Platinum - Flex",
                           "alternative_code": "PLT-FLX"
                       }
                   },
                   "provisioning_distributor":
                   {
                       "id": "9B39C9E2B44C4F383F75287769F3E6E9",
                       "name": "Twin 2",
                       "alternative_code": "TW2"
                   },
                   "id": "2A61E2560BD348BCB64B0296B3A03609",
                   "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": "90578F46460B7C4530BE801CFE5CB9A1",
                       "description": "Movies 2",
                       "code": "Movies 2",
                       "alternative_code": "m2"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "B86786C06BB64DFEA93A2359AF211C0A",
                   "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": "B53ECB35A95248ED9DA941FA2B1FE0DF",
                       "description": null,
                       "code": "Flex Product - 1 Fam",
                       "alternative_code": "FP1F"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor": null,
                   "id": "574018AE68A842049FB836837F46C861",
                   "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": "CAD1E31269B76D7A65ACCE45B2E68DFD",
                       "description": "Bronze Premium Package",
                       "code": "Bronze",
                       "alternative_code": "BP"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "20925B2DB95D4E7CB9080268C9C1F83A",
                   "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": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                       "description": "Cartoons 1",
                       "code": "Cartoons 1 ",
                       "alternative_code": "C1"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "12C0A423585D4B099D0B84E7F9A47AB2",
                   "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": "F4C0266EA46144458CE0E5DCFCE69A37",
                       "description": null,
                       "code": "Flex Product - 2 Fam",
                       "alternative_code": "FP2F"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "B192D909D9B041F89FA8A197DC0F709A",
                       "name": "Main ",
                       "alternative_code": "M"
                   },
                   "id": "AFA561F2471A4DBABB2CFE62D18FF358",
                   "product":
                   {
                       "product_type":
                       {
                           "service_type": "TERMED",
                           "physical_good_type": null,
                           "used_for_provisioning": true,
                           "classification": "SERVICES",
                           "composition_method": "FLEXIBLEBUNDLE",
                           "id": "0987FC84A9BA2BF055C0402627A3C893",
                           "name": "Termed - Flexible Bundle",
                           "description": "Termed Flexible Bundle",
                           "alternative_code": "FB"
                       },
                       "id": "BB4DA11B6D3D457E0DD31B70EE7A3CB3",
                       "description": null,
                       "code": "GOLD FLEX 1",
                       "alternative_code": "GF1"
                   }
               },
               {
                   "product_bundle": null,
                   "provisioning_distributor":
                   {
                       "id": "91453852CE14AF3656464C7DF391B732",
                       "name": "Twin 1",
                       "alternative_code": "T1"
                   },
                   "id": "1AAEEEE9A26E4DE88E1F9B0D9274F784",
                   "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": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                       "description": "Cartoons 1",
                       "code": "Cartoons 1 ",
                       "alternative_code": "C1"
                   }
               }
           ],
           "subscription_services_set": null,
           "udf_date_1": null,
           "udf_date_2": null,
           "udf_date_3": null,
           "start_date": "2014-11-12T15:49:59",
           "udf_date_4": null,
           "bills_set":
           [
           ],
           "requested_expenses_set":
           [
               {
                   "id": "6AB2766C11F44A43B80FC2E7BEB8F1AD",
                   "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": "2E1C3761B6701C1DC4652D5E1D826AD6",
                       "description": null,
                       "code": "Support",
                       "alternative_code": "Support"
                   }
               },
               {
                   "id": "0845451A80994202BFC7D9298B8728C5",
                   "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": "8F7A45F44BBEB320718F309F58CCE097",
                       "description": "Installation",
                       "code": "Installation Fee",
                       "alternative_code": "Ins"
                   }
               }
           ],
           "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,
           "subscription_physical_goods_set": null,
           "description": "tv installation",
           "category":
           {
               "id": "D8E8891A10AC4D82A7258359B6A7174D",
               "name": "Internal",
               "description": "Internal",
               "code": "In"
           }
       }
    }

      
          
Expand
titleExample 3

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"3EEEA4A93F304D4AA81AB394507EDE82",
    "job_identifier": { "number" : "JOB000477" },
    "requested_subscription_physical_goods_set":
    [
       {
        "action":"add",
        "installed_item_identifier":{"serial_number":"SM0005"}
        },
        {
        "action":"remove",
        "job_requested_subscription_physical_good_identifier":{"id":"4E5A414F50E843659F9C05A3A170A709"}
        },
     ]
}

 

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,
            "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,
            "activities_set":
            [
            ],
            "udf_string_6": null,
            "udf_string_7": null,
            "physical_goods_set":
            [
            ],
            "udf_string_8": null,
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Papapavlou",
                    "middle_name": null,
                    "life_cycle_state": "FINANCIAL",
                    "company_profile": null,
                    "title": "Miss",
                    "first_name": "Loukia",
                    "type": "PERSON",
                    "id": "37072CF6ED884737B6592A7CBB6D5342",
                    "name": "Papapavlou Loukia",
                    "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": "LP1234",
                        "industry": null,
                        "id_issued_by_country": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "ACR000852",
                "id": "A86D415E729945C6933177D83319FBE6",
                "name": "ACR000852"
            },
            "id": "9A87BFB77BF44CEF8C8F675926DD7EAE",
            "requested_activity_services_set":
            [
            ],
            "requested_subscription_physical_goods_set":
            [
                {
                    "swap_installed_item": null,
                    "provisioning_distributor": null,
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "SM0005",
                        "id": "BA0371AEB0AC4A259804014CBB657B94",
                        "alternative_code": "SM0005",
                        "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"
                        }
                    },
                    "id": "A165742689E84C82B2DA42553564D74F",
                    "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-02-29T12:13:16",
            "time_to_completion":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "time_overdue":
            {
                "time_period_value": null,
                "time_period_uot": null
            },
            "log_information":
            {
                "updated_date": "2016-02-24T12:40:33",
                "created_date": "2016-02-24T12:13:16",
                "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"
                }
            },
            "life_cycle_state": "PENDING",
            "location":
            {
                "udf_string_10": null,
                "street_number": "4",
                "care_of": null,
                "udf_string_11": null,
                "udf_float_1": null,
                "street_name": "Markou Drakou",
                "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": "2F132D5A059846EF8288B8A9AAC37E00",
                "postal_code": "2213",
                "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": "SWAP_SUB_INSTALLED_ITEMS",
                "id": "6D1937BD1F1846CDA6AE994FD4C8B46F",
                "name": "Swap Sub Installed Item LP",
                "description": null,
                "alternative_code": "Swap Sub Installed Item LP"
            },
            "contact_email": null,
            "expenses_set":
            [
            ],
            "notes": null,
            "billing_terms":
            {
                "binding_information": null,
                "agreement_date": "2016-02-24T00: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-02-24T00:00:00",
                "billing_frequency": null,
                "id": "8DEE60C3256642E9BD7A00DD0C218D91",
                "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": null
                }
            },
            "number": "JOB000477",
            "estimated_completion_time":
            {
                "time_period_value": 5,
                "time_period_uot": "DAYS"
            },
            "requested_subscription":
            {
                "life_cycle_state": "EFFECTIVE",
                "accounts_receivable":
                {
                    "account_owner":
                    {
                        "last_name": "Papapavlou",
                        "middle_name": null,
                        "life_cycle_state": "FINANCIAL",
                        "company_profile": null,
                        "title": "Miss",
                        "first_name": "Loukia",
                        "type": "PERSON",
                        "id": "37072CF6ED884737B6592A7CBB6D5342",
                        "name": "Papapavlou Loukia",
                        "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": "LP1234",
                            "industry": null,
                            "id_issued_by_country": null
                        }
                    },
                    "life_cycle_state": "ACTIVE",
                    "number": "ACR000852",
                    "id": "A86D415E729945C6933177D83319FBE6",
                    "name": "ACR000852"
                },
                "number": "S60692",
                "type":
                {
                    "udf_float_1": null,
                    "udf_float_2": null,
                    "udf_date_1": null,
                    "udf_float_3": null,
                    "udf_date_2": null,
                    "udf_float_4": null,
                    "udf_date_3": null,
                    "udf_date_4": null,
                    "name": "United Kingdom",
                    "udf_string_1": null,
                    "udf_string_2": null,
                    "udf_string_3": null,
                    "udf_string_4": null,
                    "udf_string_5": null,
                    "udf_string_6": null,
                    "udf_string_7": null,
                    "log_information":
                    {
                        "updated_date": "2016-01-30T09:57:23",
                        "created_date": "2014-06-25T15:44:04",
                        "created_by_unit":
                        {
                            "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":
                        {
                            "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_user":
                        {
                            "person_name": "MPAdministrator",
                            "username": "MPAdministrator",
                            "id": "1"
                        }
                    },
                    "udf_string_8": null,
                    "id": "1C81FBB1E5D90040F440ECE98D6A368D",
                    "description": "United Kingdom",
                    "alternative_code": "UK"
                },
                "id": "4ADBEF42548B4EF9B860B749E96C8E87"
            },
            "subscription_services_set":
            [
                {
                    "life_cycle_state": "EFFECTIVE",
                    "id": "C28C7352EBDF4B42A33B63038BF35C9A",
                    "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": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
                        "description": "Gold Premium Package",
                        "code": "Gold",
                        "alternative_code": "GPP"
                    }
                }
            ],
            "udf_date_1": null,
            "udf_date_2": null,
            "udf_date_3": null,
            "start_date": "2016-02-24T12:13:16",
            "udf_date_4": null,
            "bills_set":
            [
            ],
            "requested_expenses_set":
            [
            ],
            "owned_by_group":
            {
                "community_name": "Internal Community",
                "id": "84F33366CB592BAAE7E2044D93611C6A",
                "name": "Main Group",
                "description": "Main Group",
                "alternative_code": "MG1"
            },
            "status":
            {
                "life_cycle_state": "PENDING",
                "id": "JobStatus1",
                "name": "Assigned",
                "description": null,
                "alternative_code": "AS"
            },
            "actual_completed_date": null,
            "subscription_physical_goods_set":
            [
                {
                    "ownership_status": null,
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "sb20001118",
                        "id": "BC4D9573AFD04E2EA59174AA7BE038FE",
                        "alternative_code": "sb20001118",
                        "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": "067B8687070F40A39780E737270CA9F3"
                },
                {
                    "ownership_status": "RENTED_TO_CUSTOMER",
                    "installed_item":
                    {
                        "state": "EFFECTIVE",
                        "serial_number": "SM0005",
                        "id": "BA0371AEB0AC4A259804014CBB657B94",
                        "alternative_code": "SM0005",
                        "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": "7832753D414A4C13BD823C7B7EC2CFF9"
                }
            ],
            "description": null,
            "category": null
        }
    }



      
          
Expand
titleExample 4

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"C943ADCFB435444B85D8E605C79EB989",
    "job_identifier"         :    { "number" : "JOB000576" },
    "fields_set":"requested_expenses_set,estimated_completion_time,billing_terms,requested_activity_services_set",
    "requested_subscription_services_set":
    [
        {
        "action":"add",
        "service_identifier":{"code":"Cartoons 1"},
        "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "service_identifier":{"code":"Cartoons 2"},
        "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "service_identifier":{"code":"Platinum - Flex"},
                "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ],
        "components_set":[
                {
                    "service_identifier":{"code":"Cartoons 1 "}
                }
        ]
        }
    ],
    "requested_subscription_physical_goods_set":
    [
        {
        "action":"add",
        "product_identifier":{"code":"Decoders 1"},
                "quantity":2,
                "provisioning_distribution_set":[
                {
                    "provisioning_distributor_identifier":{
                        "name":"Main"
                    }
                },
                {
                    "provisioning_distributor_identifier":{
                        "name":"Twin 1"
                    }
                }
        ]
        },
        {
        "action":"add",
        "product_identifier":{"code":"Smartcard 1"},
                "quantity":4
        }
    ],
    "requested_expenses_set":
    [
        {
        "action":"add",
        "product_identifier":{"code":"Expence 2"}
        }
    ],
    
    "requested_activity_services_set":
    [
        {
        "action":"add",
        "activity_type_identifier":{"name":"InstallationsX"},
        "product_identifier":{"code":"Material Delivery"}
        }
    ]
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "requested_activity_services_set": [
      {
        "activity_type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "BC672A1426784175B217BBAE06AD4739",
        "product": {
          "id": "8F7A45F44BBEB320718F309F58CCE097",
          "description": "Installation",
          "code": "Installation Fee",
          "alternative_code": "Ins"
        }
      },
      {
        "activity_type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "803280E1851F4CA4A72BB583C0ABC87E",
        "product": {
          "id": "362AF22847BA4ED0CDED5CDFF8BABBC1",
          "description": "Delivery of Materials Service Charge",
          "code": "Material Delivery",
          "alternative_code": "MD"
        }
      },
      {
        "activity_type": {
          "id": "B163FF3F08B44CBEB00F1CCD875C54DE",
          "name": "Installation",
          "description": null,
          "alternative_code": "INS"
        },
        "id": "F8F2F2505C864AB5BF3D9241ADFDA05E",
        "product": {
          "id": "690A6B1932D34421A1EE254425F2CB12",
          "description": null,
          "code": "Installation Service",
          "alternative_code": "IS"
        }
      }
    ],
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-06-09T00: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-06-09T00:00:00",
      "billing_frequency": null,
      "id": "E9F146155FEB41268DB33166E8EB7745",
      "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
      }
    },
    "estimated_completion_time": {
      "time_period_value": 9.166666666666666,
      "time_period_uot": "MONTHS"
    },
    "requested_expenses_set": [
      {
        "id": "890D885F5F0A475696826AD21CA1F0C8",
        "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"
        }
      },
      {
        "id": "F258B6294A3F48E391C22165F8F6EBC3",
        "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": "81D5550CF6004CE0B206A371F9F3A18A",
          "description": "Expence 2",
          "code": "Expence 2",
          "alternative_code": "exp2"
        }
      }
    ]
  }
}

POST jobs/bill

It bills one job based on a specific as of date

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 billed. The allowed jobs identifier fields are the following:

...

as_of_date
(mandatory)

...

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

Name

Type

Description

billBill objectThe bill that will be created

...

titlebill object response data

...

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token"                           :   "AB7F4452AEE86B9A1E378A2E4A1CDC75",
    "job_identifier"                 :   { "number" : "81" },
    "as_of_date"               :   "2014-07-28T00:00:00"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": null,
    "description": null,
    "code": "OK"
  },
  "data": {
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "number": "270",
    "udf_float_4": null,
    "udf_string_1": null,
    "udf_string_2": null,
    "udf_string_3": null,
    "previous_bill_total_due_amount": 788,
    "udf_string_4": null,
    "udf_string_5": null,
    "total_amount_to_be_paid": 985,
    "udf_string_6": null,
    "udf_string_7": null,
    "udf_string_8": null,
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Ioannou27",
        "middle_name": null,
        "company_profile": null,
        "type": "PERSON",
        "first_name": "Marios",
        "name": null,
        "id": "C86CFAAEC4D482D26C2E8C525C38E4A5",
        "company_name": null,
        "demographics": {
          "gender": "MALE",
          "passport_issued_by_country": null,
          "passport_number": null,
          "social_security_number": null,
          "industry_sector": null,
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "name_day": {
            "month": null,
            "day": null
          },
          "id_number": null,
          "id_issued_by_country": null,
          "industry": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "200",
      "name": "mar27",
      "id": "A61127D0DB2D192FCA80787D4D258A36"
    },
    "total_billed_amount": 197,
    "number_of_invoices": null,
    "due_date": null,
    "id": "795E46BCCF2F6328C2F9D21EDEAFD376",
    "outstanding_amount": null,
    "total_credit_amount": null,
    "from_date": null,
    "classification": "MAX_CREDIT_AMT_REACHED",
    "total_debit_amount": null,
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "udf_date_4": null,
    "bill_items_set": [
      {
        "type": "NORMAL",
        "id": "6D222289E7B846DA86C88CBFF7510B8B",
        "invoice": {
          "udf_float_1": null,
          "udf_float_2": null,
          "invoice_item_set": [
            {
              "vat_percentage": 10,
              "sub_total": 15,
              "discount_amount": 0,
              "vat_rate": {
                "name": "Standard 10%",
                "id": "F170FB2FF32E8C4F5A569E8F3B461E1F",
                "description": null,
                "alternative_code": "S10"
              },
              "discount_percentage": 0,
              "net_amount": 13.64,
              "id": "7FB3CF7AEFE5E87408FC652535847B5E",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 1.36,
              "product": {
                "product_type": {
                  "physical_good_type": null,
                  "service_type": "ONETIME",
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "SERVICES",
                  "name": "One Time Services",
                  "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                  "description": "A type which is used for one time services",
                  "alternative_code": "OTS"
                },
                "id": "891E24F7F1C8C79A1E179B670680E611",
                "description": null,
                "code": "OTP001",
                "alternative_code": "OTP001"
              }
            },
            {
              "vat_percentage": 10,
              "sub_total": 60,
              "discount_amount": 0,
              "vat_rate": {
                "name": "Standard 10%",
                "id": "F170FB2FF32E8C4F5A569E8F3B461E1F",
                "description": null,
                "alternative_code": "S10"
              },
              "discount_percentage": 0,
              "net_amount": 54.55,
              "id": "40FEB74622B0515F56B935758047A568",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 5.46,
              "product": {
                "product_type": {
                  "physical_good_type": "NONTRACEABLE",
                  "service_type": null,
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "PHYSICALGOODS",
                  "name": "Accessories",
                  "id": "0F94B51F175F06A475EB2948B4030074",
                  "description": "A type which is used for accessories physical goods",
                  "alternative_code": "005"
                },
                "id": "58DB60D0C959E2154B14CFA6EB90F88D",
                "description": null,
                "code": "SSTV0000453",
                "alternative_code": "SSTV453"
              }
            },
            {
              "vat_percentage": 10,
              "sub_total": 30,
              "discount_amount": 0,
              "vat_rate": {
                "name": "Standard 10%",
                "id": "F170FB2FF32E8C4F5A569E8F3B461E1F",
                "description": null,
                "alternative_code": "S10"
              },
              "discount_percentage": 0,
              "net_amount": 27.27,
              "id": "71AF8565C47AC61EE1CACD60EDA01740",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 2.73,
              "product": {
                "product_type": {
                  "physical_good_type": "TRACEABLE",
                  "service_type": null,
                  "used_for_provisioning": true,
                  "composition_method": "FLAT",
                  "classification": "PHYSICALGOODS",
                  "name": "Decoders",
                  "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                  "description": "Decoders",
                  "alternative_code": "D"
                },
                "id": "1CF94E44CA737F761BFAE1C18D25CE82",
                "description": "Set Top Box",
                "code": "Set Top Box 001",
                "alternative_code": "STB001"
              }
            },
            {
              "vat_percentage": 6,
              "sub_total": 92,
              "discount_amount": 0,
              "vat_rate": {
                "name": "Low VAT Rate",
                "id": "152BFE506603FFF5B71C9B45248B0637",
                "description": null,
                "alternative_code": "LVR"
              },
              "discount_percentage": 0,
              "net_amount": 86.79,
              "id": "FE759671A9FCB3127264A11622B10082",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 5.21,
              "product": {
                "product_type": {
                  "physical_good_type": null,
                  "service_type": "ONETIME",
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "SERVICES",
                  "name": "One Time Services",
                  "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                  "description": "A type which is used for one time services",
                  "alternative_code": "OTS"
                },
                "id": "9485FC0F5C75279E4E8E1FF3B7B247AE",
                "description": null,
                "code": "OTP002",
                "alternative_code": "OTP002"
              }
            }
          ],
          "udf_float_3": null,
          "number": "I00000421",
          "udf_float_4": null,
          "due_on": "2014-08-15T17:25:50",
          "udf_string_1": null,
          "udf_string_2": null,
          "udf_string_3": null,
          "udf_string_4": null,
          "udf_string_5": null,
          "udf_string_6": null,
          "udf_string_7": null,
          "udf_string_8": null,
          "accounts_receivable": {
            "account_owner": {
              "last_name": "Ioannou27",
              "middle_name": null,
              "company_profile": null,
              "type": "PERSON",
              "first_name": "Marios",
              "name": null,
              "id": "C86CFAAEC4D482D26C2E8C525C38E4A5",
              "company_name": null,
              "demographics": {
                "gender": "MALE",
                "passport_issued_by_country": null,
                "passport_number": null,
                "social_security_number": null,
                "industry_sector": null,
                "date_of_birth": {
                  "month": null,
                  "day": null,
                  "year": null
                },
                "name_day": {
                  "month": null,
                  "day": null
                },
                "id_number": null,
                "id_issued_by_country": null,
                "industry": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "200",
            "name": "mar27",
            "id": "A61127D0DB2D192FCA80787D4D258A36"
          },
          "discount_amount": 0,
          "id": "81F8B3A11DC9C3F67D49545FC8948294",
          "outstanding_amount": null,
          "posted_on": "2014-07-28T17:25:50",
          "udf_date_1": null,
          "udf_date_2": null,
          "udf_date_3": null,
          "udf_date_4": null,
          "vat_amount": 14.76,
          "log_information": {
            "updated_date": "2014-07-28T17:25:50",
            "created_by_unit": {
              "community_name": "Main Community",
              "group_name": "Main Group",
              "name": "Admin Unit",
              "id": "48305F8849E3C18B227C5BE3A27BA6DF",
              "description": "r1",
              "alternative_code": "MG"
            },
            "created_date": "2014-07-28T17:25:48",
            "updated_by_unit": {
              "community_name": "Main Community",
              "group_name": "Main Group",
              "name": "Admin Unit",
              "id": "48305F8849E3C18B227C5BE3A27BA6DF",
              "description": "r1",
              "alternative_code": "MG"
            },
            "created_by_user": {
              "person_name": "Marios Lannister",
              "username": "MPAdministrator",
              "id": "1",
              "email": null
            },
            "updated_by_user": {
              "person_name": "Marios Lannister",
              "username": "MPAdministrator",
              "id": "1",
              "email": null
            }
          },
          "issued_on": "2014-07-29T00:00:00",
          "total_amount": 197,
          "life_cycle_state": "POSTED",
          "net_amount": 182.25,
          "type": {
            "classification": "INVOICE",
            "name": "Invoice 1",
            "id": "D75737F9C4EDF822BBC1024ADE086695",
            "description": "Invoice 1",
            "alternative_code": "I1"
          },
          "rejection_reason": null,
          "reference_number": "451",
          "category": null
        }
      }
    ],
    "number_of_credit_notes": null,
    "normal_billing_run": {
      "log_information": {
        "updated_date": "2014-07-28T17:25:50",
        "created_by_unit": {
          "community_name": "Main Community",
          "group_name": "Main Group",
          "name": "Admin Unit",
          "id": "48305F8849E3C18B227C5BE3A27BA6DF",
          "description": "r1",
          "alternative_code": "MG"
        },
        "created_date": "2014-07-28T17:25:30",
        "updated_by_unit": {
          "community_name": "Main Community",
          "group_name": "Main Group",
          "name": "Admin Unit",
          "id": "48305F8849E3C18B227C5BE3A27BA6DF",
          "description": "r1",
          "alternative_code": "MG"
        },
        "created_by_user": {
          "person_name": "Marios Lannister",
          "username": "MPAdministrator",
          "id": "1",
          "email": null
        },
        "updated_by_user": {
          "person_name": "Marios Lannister",
          "username": "MPAdministrator",
          "id": "1",
          "email": null
        }
      },
      "bill_as_of_date": "2014-07-28T00:00:00",
      "life_cycle_state": "ASSEMBLING_POSTING",
      "number": "222",
      "id": "D72BCC3114F06F61EB01DD2CFF580F21"
    },
    "total_credit_amount_posted_between_bills": 0,
    "log_information": {
      "updated_date": "2014-07-28T17:25:49",
      "created_by_unit": {
        "community_name": "Main Community",
        "group_name": "Main Group",
        "name": "Admin Unit",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "description": "r1",
        "alternative_code": "MG"
      },
      "created_date": "2014-07-28T17:25:49",
      "updated_by_unit": {
        "community_name": "Main Community",
        "group_name": "Main Group",
        "name": "Admin Unit",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "description": "r1",
        "alternative_code": "MG"
      },
      "created_by_user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1",
        "email": null
      },
      "updated_by_user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1",
        "email": null
      }
    },
    "status": null,
    "to_date": null,
    "life_cycle_state": "POSTED",
    "type": null
  }
}

 

POST jobs/preview_bill

It previews the bill of one job based on a specific as of date

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 previewed. The allowed jobs identifier fields are the following:

...

as_of_date
(mandatory)

...

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

Name

Type

Description

bill_previewBill preview objectThe bill preview results

...

Examples

...

titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token"                           :   "DCB6E9C6A3CE16CF529083B9020EC92F",
    "job_identifier"                 :   { "number" : "82" },
    "as_of_date"               :   "2014-07-28T00:00:00"
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": null,
    "description": null,
    "code": "OK"
  },
  "data": {
    "udf_float_1": null,
    "udf_float_2": null,
    "udf_float_3": null,
    "number": null,
    "udf_float_4": null,
    "udf_string_1": null,
    "udf_string_2": null,
    "udf_string_3": null,
    "previous_bill_total_due_amount": 985,
    "udf_string_4": null,
    "udf_string_5": null,
    "total_amount_to_be_paid": 1182,
    "udf_string_6": null,
    "udf_string_7": null,
    "udf_string_8": null,
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Ioannou27",
        "middle_name": null,
        "company_profile": null,
        "type": "PERSON",
        "first_name": "Marios",
        "name": null,
        "id": "C86CFAAEC4D482D26C2E8C525C38E4A5",
        "company_name": null,
        "demographics": {
          "gender": "MALE",
          "passport_issued_by_country": null,
          "passport_number": null,
          "social_security_number": null,
          "industry_sector": null,
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "name_day": {
            "month": null,
            "day": null
          },
          "id_number": null,
          "id_issued_by_country": null,
          "industry": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "200",
      "name": "mar27",
      "id": "A61127D0DB2D192FCA80787D4D258A36"
    },
    "total_billed_amount": 197,
    "number_of_invoices": null,
    "due_date": null,
    "id": "6B3B4BCBF0A24C375D37C83A1A5AD882",
    "outstanding_amount": null,
    "total_credit_amount": null,
    "from_date": null,
    "classification": "MAX_CREDIT_AMT_REACHED",
    "total_debit_amount": null,
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "udf_date_4": null,
    "bill_items_set": [
      {
        "type": "NORMAL",
        "id": "9B19E9FD39E08E6773914FAF4611AC58",
        "invoice": {
          "udf_float_1": null,
          "udf_float_2": null,
          "invoice_item_set": [
            {
              "vat_percentage": 0,
              "sub_total": 15,
              "discount_amount": 0,
              "vat_rate": null,
              "discount_percentage": 0,
              "net_amount": 15,
              "id": "E676459186448E4B7DF875B42F6CADE4",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 0,
              "product": {
                "product_type": {
                  "physical_good_type": null,
                  "service_type": "ONETIME",
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "SERVICES",
                  "name": "One Time Services",
                  "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                  "description": "A type which is used for one time services",
                  "alternative_code": "OTS"
                },
                "id": "891E24F7F1C8C79A1E179B670680E611",
                "description": null,
                "code": "OTP001",
                "alternative_code": "OTP001"
              }
            },
            {
              "vat_percentage": 0,
              "sub_total": 60,
              "discount_amount": 0,
              "vat_rate": null,
              "discount_percentage": 0,
              "net_amount": 60,
              "id": "3D6B169A16BEE648166CC2B36BBE75CE",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 0,
              "product": {
                "product_type": {
                  "physical_good_type": "NONTRACEABLE",
                  "service_type": null,
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "PHYSICALGOODS",
                  "name": "Accessories",
                  "id": "0F94B51F175F06A475EB2948B4030074",
                  "description": "A type which is used for accessories physical goods",
                  "alternative_code": "005"
                },
                "id": "58DB60D0C959E2154B14CFA6EB90F88D",
                "description": null,
                "code": "SSTV0000453",
                "alternative_code": "SSTV453"
              }
            },
            {
              "vat_percentage": 0,
              "sub_total": 92,
              "discount_amount": 0,
              "vat_rate": null,
              "discount_percentage": 0,
              "net_amount": 92,
              "id": "063E39CDBD3DBE0881FF3C3BB1C96491",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 0,
              "product": {
                "product_type": {
                  "physical_good_type": null,
                  "service_type": "ONETIME",
                  "used_for_provisioning": false,
                  "composition_method": "FLAT",
                  "classification": "SERVICES",
                  "name": "One Time Services",
                  "id": "7EDF537A938DECAB1352E6EEAD54A5D0",
                  "description": "A type which is used for one time services",
                  "alternative_code": "OTS"
                },
                "id": "9485FC0F5C75279E4E8E1FF3B7B247AE",
                "description": null,
                "code": "OTP002",
                "alternative_code": "OTP002"
              }
            },
            {
              "vat_percentage": 0,
              "sub_total": 30,
              "discount_amount": 0,
              "vat_rate": null,
              "discount_percentage": 0,
              "net_amount": 30,
              "id": "B06ED4B5AC91F5FC88A1F93D885E9731",
              "quantity": 0,
              "cost": 0,
              "vat_amount": 0,
              "product": {
                "product_type": {
                  "physical_good_type": "TRACEABLE",
                  "service_type": null,
                  "used_for_provisioning": true,
                  "composition_method": "FLAT",
                  "classification": "PHYSICALGOODS",
                  "name": "Decoders",
                  "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                  "description": "Decoders",
                  "alternative_code": "D"
                },
                "id": "1CF94E44CA737F761BFAE1C18D25CE82",
                "description": "Set Top Box",
                "code": "Set Top Box 001",
                "alternative_code": "STB001"
              }
            }
          ],
          "udf_float_3": null,
          "number": null,
          "udf_float_4": null,
          "due_on": null,
          "udf_string_1": null,
          "udf_string_2": null,
          "udf_string_3": null,
          "udf_string_4": null,
          "udf_string_5": null,
          "udf_string_6": null,
          "udf_string_7": null,
          "udf_string_8": null,
          "accounts_receivable": {
            "account_owner": {
              "last_name": "Ioannou27",
              "middle_name": null,
              "company_profile": null,
              "type": "PERSON",
              "first_name": "Marios",
              "name": null,
              "id": "C86CFAAEC4D482D26C2E8C525C38E4A5",
              "company_name": null,
              "demographics": {
                "gender": "MALE",
                "passport_issued_by_country": null,
                "passport_number": null,
                "social_security_number": null,
                "industry_sector": null,
                "date_of_birth": {
                  "month": null,
                  "day": null,
                  "year": null
                },
                "name_day": {
                  "month": null,
                  "day": null
                },
                "id_number": null,
                "id_issued_by_country": null,
                "industry": null
              }
            },
            "life_cycle_state": "ACTIVE",
            "number": "200",
            "name": "mar27",
            "id": "A61127D0DB2D192FCA80787D4D258A36"
          },
          "discount_amount": 0,
          "id": "58DFF6472F5E90534ADA4AF2DF4BDF63",
          "outstanding_amount": null,
          "posted_on": null,
          "udf_date_1": null,
          "udf_date_2": null,
          "udf_date_3": null,
          "udf_date_4": null,
          "vat_amount": 0,
          "log_information": {
            "created_by_unit": {
              "community_name": "Main Community",
              "group_name": "Main Group",
              "name": "Admin Unit",
              "id": "48305F8849E3C18B227C5BE3A27BA6DF",
              "description": "r1",
              "alternative_code": "MG"
            },
            "created_date": "2014-07-28T17:35:25",
            "created_by_user": {
              "person_name": "Marios Lannister",
              "username": "MPAdministrator",
              "id": "1",
              "email": null
            }
          },
          "issued_on": "2014-07-29T00:00:00",
          "total_amount": 197,
          "life_cycle_state": "DRAFT",
          "net_amount": 197,
          "type": {
            "classification": "INVOICE",
            "name": "Invoice 1",
            "id": "D75737F9C4EDF822BBC1024ADE086695",
            "description": "Invoice 1",
            "alternative_code": "I1"
          },
          "rejection_reason": null,
          "reference_number": null,
          "category": null
        }
      }
    ],
    "number_of_credit_notes": null,
    "normal_billing_run": {
      "log_information": {
        "created_by_unit": {
          "community_name": "Main Community",
          "group_name": "Main Group",
          "name": "Admin Unit",
          "id": "48305F8849E3C18B227C5BE3A27BA6DF",
          "description": "r1",
          "alternative_code": "MG"
        },
        "created_date": "2014-07-28T17:35:20",
        "created_by_user": {
          "person_name": "Marios Lannister",
          "username": "MPAdministrator",
          "id": "1",
          "email": null
        }
      },
      "bill_as_of_date": "2014-07-28T00:00:00",
      "life_cycle_state": "DRAFT",
      "number": null,
      "id": "F6960A57C610843F0FBEDA8EED9B3C0E"
    },
    "total_credit_amount_posted_between_bills": 0,
    "log_information": {
      "created_by_unit": {
        "community_name": "Main Community",
        "group_name": "Main Group",
        "name": "Admin Unit",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "description": "r1",
        "alternative_code": "MG"
      },
      "created_date": "2014-07-28T17:35:25",
      "created_by_user": {
        "person_name": "Marios Lannister",
        "username": "MPAdministrator",
        "id": "1",
        "email": null
      }
    },
    "status": null,
    "to_date": null,
    "life_cycle_state": "POSTED",
    "type": null
  }
}

POST jobs/cancel

This method cancels a job, which is not already completed or cancelled.  

Tip

Available from CRM.COM R6.0.0

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

job_identifier

(mandatory)

...

The identifier of the job to be cancelled. The allowed job identifier fields are the following:

...

status_identifier

(optional)

...

The status that will be set on the job, after the cancellation. If not specified the the default status for cancelling jobs of that type will be used. The allowed job status identifiers are the following:

...

cancellation_reason_identifier

(mandatory)

...

The reason for cancelling the job. The allowed job cancellation reason identifiers are the following:

...

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

Tip

Available from CRM.COM R10.0.0

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":"B7F00BC9F11B44CEA83FC0FB076549E1",
    "job_identifier":{ "number" : "J000098" },
    "status_identifier":{ "name" : "Cancelled"},
    "cancellation_reason_identifier":{ "name" : "Delete"}
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "cancellation_reason": {
      "id": "3340135698494B848C646A513CA3BE11",
      "name": "Delete",
      "alternative_code": "D"
    },
    "requested_activity_services_set": [
      {
        "activity_type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "CF790306E8E74FA5836BD70E81FF10EA",
        "product": {
          "id": "CDE67382805CD657E02865B07D8F8602",
          "code": "Testing",
          "alternative_code": "OTS"
        }
      },
      {
        "activity_type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "8032EF635DCF44268795224EA5FAF874",
        "product": {
          "id": "362AF22847BA4ED0CDED5CDFF8BABBC1",
          "description": "Delivery of Materials Service Charge",
          "code": "Material Delivery",
          "alternative_code": "MD"
        }
      },
      {
        "activity_type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "310FB7C2E81F4A1180B8C0B60E20DE6A",
        "product": {
          "id": "8F7A45F44BBEB320718F309F58CCE097",
          "description": "Installation",
          "code": "Installation Fee",
          "alternative_code": "Ins"
        }
      }
    ],
    "billing_terms": {
      "agreement_date": "2015-05-11T00: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": "2015-05-11T00:00:00",
      "id": "413AB333B3744476981C5CA5A7EFD44A",
      "price_plan": {
        "effective_date": "2015-03-13T15:03:18",
        "type": "BASE",
        "id": "DE210F4E107B4EDE9DCAEB32CB6ED711",
        "name": "BPP0614",
        "description": "Base Price PLan June 14 for Subscription Test Case 6",
        "code": "BPP0614",
        "expiration_date": "2015-05-27T12:36:47"
      }
    },
    "number": "J000098",
    "expected_completion_date": "2015-05-13T12:32:44",
    "start_date": "2015-05-11T12:32:44",
    "assigned_to": {
      "unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1",
        "alternative_code": "MG"
      },
      "user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1"
      }
    },
    "privacy_level": {
      "number": "33",
      "hierarchy_level": 3,
      "id": "173DFA1C37D2F7D49B5BB0A9CF89B188",
      "name": "Moderate"
    },
    "estimated_completion_time": {
      "time_period_value": 2,
      "time_period_uot": "DAYS"
    },
    "time_to_completion": {},
    "time_overdue": {
      "time_period_value": 1,
      "time_period_uot": "WEEKS"
    },
    "bills_set": [],
    "activities_set": [
      {
        "life_cycle_state": "CANCELLED",
        "number": "ACT000121",
        "type": {
          "id": "938B9B6411AAB03DC25B3F569A443C6D",
          "name": "InstallationsX",
          "description": "Test",
          "alternative_code": "INX"
        },
        "id": "58B2E6CBC32E4190B5BFDACD89434B72",
        "contact_information": {
          "last_name": "Ioannou1",
          "life_cycle_state": "FINANCIAL",
          "first_name": "Marios",
          "type": "PERSON",
          "id": "85FF47FDCADDAF6F4B51E20F38F915E1",
          "demographics": {
            "name_day": {},
            "date_of_birth": {},
            "id_number": "878889"
          }
        }
      }
    ],
    "physical_goods_set": [],
    "log_information": {
      "updated_date": "2015-05-20T16:04:36",
      "created_date": "2015-05-11T12:32:44",
      "created_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1",
        "alternative_code": "MG"
      },
      "updated_by_unit": {
        "community_name": "Internal Community",
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "group_name": "Main Group",
        "description": "r1",
        "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": "CANCELLED",
      "id": "A1E10920D28A4496BCA2811A94783BDF",
      "name": "Cancelled",
      "alternative_code": "C"
    },
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Ioannou1",
        "life_cycle_state": "FINANCIAL",
        "first_name": "Marios",
        "type": "PERSON",
        "id": "85FF47FDCADDAF6F4B51E20F38F915E1",
        "name": "Marios Ioannou1",
        "demographics": {
          "country_of_residence": {
            "three_character_code": "USA",
            "two_character_code": "US",
            "id": "127",
            "name": "UNITED STATES"
          },
          "name_day": {},
          "date_of_birth": {},
          "id_number": "878889"
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "244",
      "id": "D699B4E355DF8551C29310D18E7A99DE",
      "name": "mar1"
    },
    "location": {
      "postal_code": "66666",
      "state": "Active",
      "street_number": "66666",
      "country": {
        "three_character_code": "USA",
        "two_character_code": "US",
        "id": "127",
        "name": "UNITED STATES"
      },
      "street_name": "66666",
      "type": "PO Box",
      "id": "205C67554F8B462F8F8B21D076DE3C3A",
      "floor": 666666,
      "area": "66666"
    },
    "life_cycle_state": "CANCELLED",
    "type": {
      "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
      "fulfillment_scope": "GENERIC_PURPOSE",
      "id": "DD56C4D55BACC20DED28F7EAB8F15BE9",
      "name": "Installation Job",
      "description": "Job for installing Smartcard and Set Top Box on Subscriber's house if requested",
      "alternative_code": "001"
    },
    "id": "157E030060A8491B863B4BD63D014604",
    "expenses_set": []
  }
}
Expand
titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "token":"B7F00BC9F11B44CEA83FC0FB076549E1",
     "fields_set":"requested_expenses_set,estimated_completion_time,billing_terms,assigned_to,accounts_receivable",
    "job_identifier":{ "number" : "JOB000575" },
    "status_identifier":{ "name" : "Cancelled"},
    "cancellation_reason_identifier":{ "name" : "Cancellation Reason 1"}
}} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "billing_terms": {
      "binding_information": null,
      "agreement_date": "2016-06-09T00: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-06-09T00:00:00",
      "billing_frequency": null,
      "id": "A842FEA1CE1944A5A5519C4F46D05007",
      "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
      }
    },
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Mika",
        "middle_name": null,
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": "Ms",
        "first_name": "Dina",
        "type": "PERSON",
        "id": "9ED00E7228634EF986807DF4D86A3F84",
        "name": "Mika Dina",
        "company_name": null,
        "demographics": {
          "gender": null,
          "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": "14587522",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR000997",
      "id": "ECA31D4A28C94AF4BCB15F794FFC3C27",
      "name": "ACR000997"
    },
    "assigned_to": {
      "unit": {
        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
        "name": "Admin Unit",
        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
        "alternative_code": "MG"
      },
      "user": null
    },
    "estimated_completion_time": {
      "time_period_value": 9.166666666666666,
      "time_period_uot": "MONTHS"
    },
    "requested_expenses_set": [
      {
        "id": "5666FD45F03F419FA80B67877E40CC3F",
        "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"
        }
      }
    ]
  }
}

POST jobs/start_progress

This method sets a job in progress. This method can be applied only on pending jobs

Tip

Available from CRM.COM R6.0.0

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

job_identifier

(mandatory)

...

The identifier of the job that will be started. The allowed job identifier fields are the following:

...

status_identifier

(optional)

...

The status that will be set on the job, after starting the progress. If not specified the the default status for starting jobs of that type will be used. The allowed job status identifiers are the following:

...

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

Tip

Available from CRM.COM R10.0.0

 

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":"4BD9459C26AF450C8D7287E433634646",
    "job_identifier"         :    { "number" : "JOB000181" },
    "status_identifier"           :    { "name" : "In Progress"}
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
      {
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "requested_physical_goods_set":
        [
        ],
        "billing_terms":
        {
            "binding_information":
            {
                "state": "IN_BINDING",
                "end_date": "2016-05-21T00:00:00",
                "start_date": "2015-05-21T00:00:00",
                "binding_period":
                {
                    "name": "Annual",
                    "code": "ANNUAL"
                }
            },
            "agreement_date": "2015-05-21T00: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": "2015-05-21T00:00:00",
            "billing_frequency":
            {
                "name": "Monthly",
                "code": "MONTHLY"
            },
            "id": "1317CE8D02564083A7F511F400389E06",
            "billing_cycle_day": 1,
            "price_plan":
            {
                "effective_date": "2014-08-01T00:00:00",
                "type": "BASE",
                "id": "76A0E2FDB06089CAF5211B8A4F1A5F91",
                "name": "Standard_Edited",
                "description": "Standard Price PLan for all Normal Subscribers",
                "code": "SE",
                "expiration_date": "2015-12-31T00:00:00"
            }
        },
        "number": "JOB000181",
        "requested_subscription_type":
        {
            "id": "66946BD261074B669ED28578A2039318",
            "name": "Job Sub",
            "alternative_code": "JS"
        },
        "assigned_to":
        {
            "unit":
            {
                "id": "0D1B2933D2E1E337238617247CDBCE34",
                "name": "Marketing Unit 1",
                "alternative_code": "MU1"
            }
        },
        "estimated_completion_time":
        {
            "time_period_value": 3,
            "time_period_uot": "DAYS"
        },
        "activities_set":
        [
            {
                "life_cycle_state": "PENDING",
                "number": "ACT000202",
                "type":
                {
                    "id": "CB7953F4D06C4135A794623C9F1620D8",
                    "name": "Onside Deliveries",
                    "alternative_code": "OD"
                },
                "id": "B3CCB8077F764C17ABA5270F0EAECF66",
                "contact_information":
                {
                    "last_name": "Mika",
                    "life_cycle_state": "FINANCIAL",
                    "title": "Mr",
                    "first_name": "Darko",
                    "type": "PERSON",
                    "id": "531C8308457947EFAFA91776AA4F4B4E",
                    "demographics":
                    {
                        "gender": "MALE",
                        "name_day":
                        {
                        },
                        "date_of_birth":
                        {
                        }
                    }
                }
            },
            {
                "life_cycle_state": "PENDING",
                "number": "ACT000203",
                "type":
                {
                    "id": "938B9B6411AAB03DC25B3F569A443C6D",
                    "name": "InstallationsX",
                    "description": "Test",
                    "alternative_code": "INX"
                },
                "id": "E15D2F3DBAAE4DF0B0216095FA60DCAD",
                "contact_information":
                {
                    "last_name": "Mika",
                    "life_cycle_state": "FINANCIAL",
                    "title": "Mr",
                    "first_name": "Darko",
                    "type": "PERSON",
                    "id": "531C8308457947EFAFA91776AA4F4B4E",
                    "demographics":
                    {
                        "gender": "MALE",
                        "name_day":
                        {
                        },
                        "date_of_birth":
                        {
                        }
                    }
                }
            }
        ],
        "physical_goods_set":
        [
        ],
        "requested_subscription_services_set":
        [
            {
                "id": "33F23E0555BE4A489E39A2317F71AFEA",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "600438B64B0F05AB3D020C902674949F",
                        "name": "Subscription services",
                        "description": "Subscription services",
                        "alternative_code": "SS"
                    },
                    "id": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                    "description": "Cartoons 1",
                    "code": "Cartoons 1 ",
                    "alternative_code": "C1"
                }
            },
            {
                "id": "2B17F923ADA14D35A71593E569B3BEF7",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "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"
                }
            },
            {
                "provisioning_distributor":
                {
                    "id": "B192D909D9B041F89FA8A197DC0F709A",
                    "name": "Main ",
                    "alternative_code": "M"
                },
                "id": "7DDC3B74AF584E86BFB370FE60567187",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "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"
                }
            },
            {
                "id": "47738A827EB24F4BA77E31B200407E5B",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "BC954969D3172372D498D3BB2BA590A0",
                        "name": "Subscription Packages",
                        "description": "Subscription main packages",
                        "alternative_code": "SP"
                    },
                    "id": "CAD1E31269B76D7A65ACCE45B2E68DFD",
                    "description": "Bronze Premium Package",
                    "code": "Bronze",
                    "alternative_code": "BP"
                }
            },
            {
                "provisioning_distributor":
                {
                    "id": "B192D909D9B041F89FA8A197DC0F709A",
                    "name": "Main ",
                    "alternative_code": "M"
                },
                "id": "87925944DE2B467CB41A20C7A1056967",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "600438B64B0F05AB3D020C902674949F",
                        "name": "Subscription services",
                        "description": "Subscription services",
                        "alternative_code": "SS"
                    },
                    "id": "90578F46460B7C4530BE801CFE5CB9A1",
                    "description": "Movies 2",
                    "code": "Movies 2",
                    "alternative_code": "m2"
                }
            }
        ],
        "requested_subscription_billing_terms":
        {
            "binding_information":
            {
                "state": "IN_BINDING",
                "end_date": "2016-05-21T16:36:49",
                "start_date": "2015-05-21T16:36:49",
                "binding_period":
                {
                    "name": "Annual",
                    "code": "ANNUAL"
                }
            },
            "agreement_date": "2015-05-21T16:36:52",
            "concurrent_usage_based_pricing":
            {
            },
            "billing_term_scheme":
            {
                "life_cycle_state": "EFFECTIVE",
                "billing_method": "PERIOD",
                "classification": "SUBSCRIPTIONS",
                "id": "6BC13F6EF7C14157914EFD507E71547A",
                "name": "Period BT Scheme",
                "code": "PBTS",
                "billing_type": "NORMAL"
            },
            "billing_frequency":
            {
                "name": "Monthly",
                "code": "MONTHLY"
            },
            "id": "130423518ECC4B6EBED983DDC3DD0382",
            "billing_cycle_day": 1,
            "price_plan":
            {
                "effective_date": "2014-08-01T00:00:00",
                "type": "BASE",
                "id": "76A0E2FDB06089CAF5211B8A4F1A5F91",
                "name": "Standard_Edited",
                "description": "Standard Price PLan for all Normal Subscribers",
                "code": "SE",
                "expiration_date": "2015-12-31T00:00:00"
            }
        },
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Mika",
                "life_cycle_state": "FINANCIAL",
                "title": "Mr",
                "first_name": "Darko",
                "type": "PERSON",
                "id": "531C8308457947EFAFA91776AA4F4B4E",
                "name": "Darko Mika",
                "demographics":
                {
                    "gender": "MALE",
                    "country_of_residence":
                    {
                        "three_character_code": "USA",
                        "two_character_code": "US",
                        "id": "127",
                        "name": "UNITED STATES"
                    },
                    "name_day":
                    {
                    },
                    "date_of_birth":
                    {
                    }
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000524",
            "id": "89B7FB03A56E41DBA49EE7D9ED0D95C6",
            "name": "Darko"
        },
        "id": "20281503C4E246BC896FC0C4BFA1E59A",
        "subscription":
        {
            "life_cycle_state": "DRAFT",
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Mika",
                    "life_cycle_state": "FINANCIAL",
                    "title": "Mr",
                    "first_name": "Darko",
                    "type": "PERSON",
                    "id": "531C8308457947EFAFA91776AA4F4B4E",
                    "name": "Darko Mika",
                    "demographics":
                    {
                        "gender": "MALE",
                        "country_of_residence":
                        {
                            "three_character_code": "USA",
                            "two_character_code": "US",
                            "id": "127",
                            "name": "UNITED STATES"
                        },
                        "name_day":
                        {
                        },
                        "date_of_birth":
                        {
                        }
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "ACR000524",
                "id": "89B7FB03A56E41DBA49EE7D9ED0D95C6",
                "name": "Darko"
            },
            "number": "S60470",
            "type":
            {
                "log_information":
                {
                    "updated_date": "2015-05-21T16:06:40",
                    "created_date": "2015-05-19T15:22:27",
                    "created_by_unit":
                    {
                        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                        "name": "Admin Unit",
                        "description": "r1",
                        "alternative_code": "MG"
                    },
                    "updated_by_unit":
                    {
                        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                        "name": "Admin Unit",
                        "description": "r1",
                        "alternative_code": "MG"
                    },
                    "created_by_user":
                    {
                        "person_name": "MPAdministrator",
                        "username": "MPAdministrator",
                        "id": "1"
                    },
                    "updated_by_user":
                    {
                        "person_name": "MPAdministrator",
                        "username": "MPAdministrator",
                        "id": "1"
                    }
                },
                "id": "66946BD261074B669ED28578A2039318",
                "name": "Job Sub",
                "alternative_code": "JS"
            },
            "id": "81ECE4862DD4495C8D06D8D3EE61895E"
        },
        "requested_activity_services_set":
        [
            {
                "activity_type":
                {
                    "id": "938B9B6411AAB03DC25B3F569A443C6D",
                    "name": "InstallationsX",
                    "description": "Test",
                    "alternative_code": "INX"
                },
                "id": "42AC29E2B9414A84AA71F82904FF779C",
                "product":
                {
                    "id": "CDE67382805CD657E02865B07D8F8602",
                    "code": "Testing",
                    "alternative_code": "OTS"
                }
            },
            {
                "activity_type":
                {
                    "id": "CB7953F4D06C4135A794623C9F1620D8",
                    "name": "Onside Deliveries",
                    "alternative_code": "OD"
                },
                "id": "0DAEE0FA88584BE990003F3B55E457EA",
                "product":
                {
                    "id": "2AEC889AEC884E83B67A1FF478E34FE0",
                    "code": "Home Delivery",
                    "alternative_code": "H_D"
                }
            },
            {
                "activity_type":
                {
                    "id": "938B9B6411AAB03DC25B3F569A443C6D",
                    "name": "InstallationsX",
                    "description": "Test",
                    "alternative_code": "INX"
                },
                "id": "CE3966C6CB96468D9CB382660A7BEAD9",
                "product":
                {
                    "id": "8F7A45F44BBEB320718F309F58CCE097",
                    "description": "Installation",
                    "code": "Installation Fee",
                    "alternative_code": "Ins"
                }
            }
        ],
        "requested_subscription_physical_goods_set":
        [
            {
                "provisioning_distributor":
                {
                    "id": "B192D909D9B041F89FA8A197DC0F709A",
                    "name": "Main ",
                    "alternative_code": "M"
                },
                "id": "A197F0EF8F3342F38EEF8D1F805B46D3",
                "quantity": 1,
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "used_for_provisioning": true,
                        "classification": "PHYSICALGOODS",
                        "composition_method": "FIXEDBUNDLE",
                        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                        "name": "Decoders",
                        "description": "Decoders",
                        "alternative_code": "D"
                    },
                    "id": "12A61F321368703D77C48A0A085D9B7D",
                    "description": "Decoders 2",
                    "code": "Decoders 2",
                    "alternative_code": "D2"
                }
            },
            {
                "provisioning_distributor":
                {
                    "id": "B192D909D9B041F89FA8A197DC0F709A",
                    "name": "Main ",
                    "alternative_code": "M"
                },
                "id": "EC15DA71D6ED4773B88A326EBC1F2DDB",
                "quantity": 1,
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "used_for_provisioning": true,
                        "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"
                }
            },
            {
                "id": "E021CFA83513450CA5E06110FF43C6CF",
                "quantity": 1,
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "used_for_provisioning": true,
                        "classification": "PHYSICALGOODS",
                        "composition_method": "FIXEDBUNDLE",
                        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                        "name": "Decoders",
                        "description": "Decoders",
                        "alternative_code": "D"
                    },
                    "id": "E8672BB71A9B1BD25E30705AC34D7D61",
                    "description": "Decoders 1",
                    "code": "Decoders 1",
                    "alternative_code": "D1"
                }
            },
            {
                "id": "330764B81FFE4262A3C93BDB96101BB8",
                "quantity": 1,
                "product":
                {
                    "product_type":
                    {
                        "physical_good_type": "TRACEABLE",
                        "used_for_provisioning": true,
                        "classification": "PHYSICALGOODS",
                        "composition_method": "FIXEDBUNDLE",
                        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
                        "name": "Decoders",
                        "description": "Decoders",
                        "alternative_code": "D"
                    },
                    "id": "12A61F321368703D77C48A0A085D9B7D",
                    "description": "Decoders 2",
                    "code": "Decoders 2",
                    "alternative_code": "D2"
                }
            }
        ],
        "subscription_services_set":
        [
            {
                "life_cycle_state": "DRAFT",
                "id": "1DD0C3F43CEE4112A18C7039F04A033D",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "BC954969D3172372D498D3BB2BA590A0",
                        "name": "Subscription Packages",
                        "description": "Subscription main packages",
                        "alternative_code": "SP"
                    },
                    "id": "CAD1E31269B76D7A65ACCE45B2E68DFD",
                    "description": "Bronze Premium Package",
                    "code": "Bronze",
                    "alternative_code": "BP"
                }
            },
            {
                "life_cycle_state": "DRAFT",
                "id": "202506428E82407AB101347AE6AA2A7B",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "600438B64B0F05AB3D020C902674949F",
                        "name": "Subscription services",
                        "description": "Subscription services",
                        "alternative_code": "SS"
                    },
                    "id": "90578F46460B7C4530BE801CFE5CB9A1",
                    "description": "Movies 2",
                    "code": "Movies 2",
                    "alternative_code": "m2"
                }
            },
            {
                "life_cycle_state": "DRAFT",
                "id": "227D20CDDF874D58A4855822BC67BF23",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "used_for_provisioning": true,
                        "classification": "SERVICES",
                        "composition_method": "FLAT",
                        "id": "600438B64B0F05AB3D020C902674949F",
                        "name": "Subscription services",
                        "description": "Subscription services",
                        "alternative_code": "SS"
                    },
                    "id": "CA3ACA47666F6CB6EECB3C15D1F0221A",
                    "description": "Cartoons 1",
                    "code": "Cartoons 1 ",
                    "alternative_code": "C1"
                }
            },
            {
                "life_cycle_state": "DRAFT",
                "id": "666C1C6F4C554F61B843B83A9CEB1D14",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "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"
                }
            },
            {
                "life_cycle_state": "DRAFT",
                "id": "B82E239E2C1D420FB64BE26AAEB26944",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "TERMED",
                        "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"
                }
            }
        ],
        "expected_completion_date": "2015-05-24T16:36:34",
        "start_date": "2015-05-21T16:36:34",
        "time_to_completion":
        {
            "time_period_value": 3,
            "time_period_uot": "DAYS"
        },
        "time_overdue":
        {
        },
        "requested_expenses_set":
        [
            {
                "id": "747A832A095E4343907B094E7084FF8E",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "ONETIME",
                        "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": "536B3E62718A5046E5D6D1005EFBDEBF",
                    "code": "Installation Expenses",
                    "alternative_code": "IE"
                }
            }
        ],
        "bills_set":
        [
        ],
        "owned_by_group":
        {
            "community_name": "Internal Community",
            "id": "84F33366CB592BAAE7E2044D93611C6A",
            "name": "Main Group",
            "description": "Main Group",
            "alternative_code": "MG1"
        },
        "log_information":
        {
            "updated_date": "2015-05-21T17:03:07",
            "created_date": "2015-05-21T16:36:34",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "status":
        {
            "life_cycle_state": "IN_PROGRESS",
            "id": "D67BE6044C7F5802480FD591FC09319B",
            "name": "In Progress",
            "description": "In Progress",
            "alternative_code": "IP"
        },
        "subscription_physical_goods_set":
        [
        ],
        "location":
        {
            "postal_code": "2222",
            "state": "Active",
            "country":
            {
                "three_character_code": "USA",
                "two_character_code": "US",
                "id": "127",
                "name": "UNITED STATES"
            },
            "street_name": "Test",
            "type": "Custom 3",
            "id": "CF9D58AD589049C49220D52E9D61F3E3"
        },
        "life_cycle_state": "IN_PROGRESS",
        "type":
        {
            "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
            "fulfillment_scope": "NEW_SUBSCRIPTION",
            "id": "04FFE0A8208647A386FF6373F82531FA",
            "name": "NS based on OI",
            "alternative_code": "NBOO"
        },
        "expenses_set":
        [
        ]
    }
}     
Expand
titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token":"{{token}}",
    "job_identifier"         :    { "number" : "JOB000593" },
    "status_identifier"           :    { "name" : "In Progress"},
  	"fields_set":"life_cycle_state,type,accounts_receivable"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
     {
    "status": {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data": {
        "accounts_receivable": {
            "account_owner": {
                "last_name": "Ioannou240",
                "middle_name": null,
                "life_cycle_state": "FINANCIAL",
                "company_profile": null,
                "title": null,
                "first_name": "Marios",
                "type": "PERSON",
                "id": "6371E9FADAEE41FAA0669291B0966310",
                "name": "Ioannou240 Marios",
                "company_name": null,
                "demographics": {
                    "gender": null,
                    "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": null,
                    "industry": null,
                    "id_issued_by_country": null
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR001133",
            "id": "B3B11DABE12243F7BE9994C28AF28332",
            "name": "ACR001133"
        },
        "life_cycle_state": "IN_PROGRESS",
        "type": {
            "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
            "fulfillment_scope": "GENERIC_PURPOSE",
            "id": "98523D8F88354CFAA8BF66E51DEA0A40",
            "name": "Installation Job 2",
            "description": "Job for installing Smartcard and Set Top Box on Subscriber's house if requested",
            "alternative_code": "002"
        }
    }
}

POST jobs/complete

This method completes a job, which is already in progress

Tip

Available from CRM.COM R6.0.0

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

job_identifier

(mandatory)

...

The identifier of the job that will be completed. The allowed job identifier fields are the following:

...

status_identifier

(optional)

...

The status that will be set on completing the job. If not specified the the default status for completing jobs of that type will be used. The allowed job status identifiers are the following:

...

performed_by_user_identifier

(optional)

...

 The user that actually performed the action. This information is applicable only if the job type fulfillment scope is set to New Subscription. The allowed user identifier fields are the following:

...

performed_on

(optional)

...

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

Tip

Available from CRM.COM R10.0.0

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":"4BD9459C26AF450C8D7287E433634646",
    "job_identifier"         :    { "number" : "J000173" },
   "status_identifier":{ "name" : "Closed"}
} 

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "requested_activity_services_set":
        [
            {
                "activity_type":
                {
                    "id": "B163FF3F08B44CBEB00F1CCD875C54DE",
                    "name": "Installation",
                    "alternative_code": "INS"
                },
                "id": "A0F87AA5A0EE4051A39EE1A45362FA18",
                "product":
                {
                    "id": "690A6B1932D34421A1EE254425F2CB12",
                    "code": "Installation Service",
                    "alternative_code": "IS"
                }
            }
        ],
        "billing_terms":
        {
            "agreement_date": "2015-05-20T00: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": "2015-05-20T00:00:00",
            "id": "CAD71E7C94B9440A938E31DC542F9350",
            "price_plan":
            {
                "effective_date": "2015-02-12T16:06:18",
                "type": "BASE",
                "id": "362E63F167AE40E99AAC3AFC2C900818",
                "name": "Base Price Plan_test",
                "description": "Base price plan for testing purposes for TC2 25.09",
                "code": "BPP_test",
                "expiration_date": "2015-09-25T11:30:36"
            }
        },
        "number": "J000173",
        "expected_completion_date": "2015-05-21T17:26:05",
        "start_date": "2015-05-20T17:26:05",
        "assigned_to":
        {
            "unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "estimated_completion_time":
        {
            "time_period_value": 1,
            "time_period_uot": "DAYS"
        },
        "time_overdue":
        {
        },
        "time_to_completion":
        {
            "time_period_value": 1,
            "time_period_uot": "DAYS"
        },
        "bills_set":
        [
        ],
        "activities_set":
        [
            {
                "life_cycle_state": "COMPLETED",
                "number": "ACT000191",
                "type":
                {
                    "id": "B163FF3F08B44CBEB00F1CCD875C54DE",
                    "name": "Installation",
                    "alternative_code": "INS"
                },
                "id": "70E99343AD8F4B5EA8AE441814C27F9C",
                "contact_information":
                {
                    "last_name": "Rossides",
                    "life_cycle_state": "FINANCIAL",
                    "first_name": "George",
                    "type": "PERSON",
                    "id": "08211F2D09E24989A8084FDEBBD39F17",
                    "demographics":
                    {
                        "name_day":
                        {
                        },
                        "date_of_birth":
                        {
                        }
                    }
                }
            }
        ],
        "physical_goods_set":
        [
            {
                "id": "FFB5541272114737A51F186E9B2A2D05",
                "quantity": 1,
                "product":
                {
                    "product_type":
                    {
                        "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": "3F01BB0B40264DF7311660F63CB2180D",
                    "description": "Remote Control",
                    "code": "Remote Control",
                    "alternative_code": "REM"
                }
            }
        ],
        "owned_by_group":
        {
            "community_name": "Internal Community",
            "id": "84F33366CB592BAAE7E2044D93611C6A",
            "name": "Main Group",
            "description": "Main Group",
            "alternative_code": "MG1"
        },
        "log_information":
        {
            "updated_date": "2015-05-20T17:28:19",
            "created_date": "2015-05-20T17:26:05",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "status":
        {
            "life_cycle_state": "COMPLETED",
            "id": "JobStatus4",
            "name": "Closed",
            "description": "Completed",
            "alternative_code": "CL"
        },
        "actual_completed_date": "2015-05-20T17:28:19",
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Rossides",
                "life_cycle_state": "FINANCIAL",
                "first_name": "George",
                "type": "PERSON",
                "id": "08211F2D09E24989A8084FDEBBD39F17",
                "name": "George Rossides",
                "demographics":
                {
                    "country_of_residence":
                    {
                        "three_character_code": "USA",
                        "two_character_code": "US",
                        "id": "127",
                        "name": "UNITED STATES"
                    },
                    "name_day":
                    {
                    },
                    "date_of_birth":
                    {
                    }
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "ACR000539",
            "id": "59E4C77AF3D8410C850894D9D4D2B296",
            "name": "14684648"
        },
        "location":
        {
            "postal_code": "22",
            "state": "Active",
            "street_number": "22",
            "apartment_number": "22",
            "country":
            {
                "three_character_code": "USA",
                "two_character_code": "US",
                "id": "127",
                "name": "UNITED STATES"
            },
            "street_name": "22",
            "type": "Home",
            "id": "27EEE3FA3F9643DA99AC7FB8EF9FBEBD",
            "floor": 22,
            "area": "22",
            "district": "22"
        },
        "life_cycle_state": "COMPLETED",
        "type":
        {
            "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
            "fulfillment_scope": "GENERIC_PURPOSE",
            "id": "A5FA79329F2B464CA359C1F6BD383D20",
            "name": "GP - Based on OI",
            "alternative_code": "GP - Based on OI"
        },
        "id": "9E307A41ACD946C4AA7A300A05F3C012",
        "expenses_set":
        [
            {
                "id": "877542A704EF420C873388264BC7E4FA",
                "product":
                {
                    "product_type":
                    {
                        "service_type": "ONETIME",
                        "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": "8F7A45F44BBEB320718F309F58CCE097",
                    "description": "Installation",
                    "code": "Installation Fee",
                    "alternative_code": "Ins"
                }
            }
        ]
    }
}

HTTP Method: POST

 

Request:

Body:

Expand
titleExample 2
Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token":"{{token}}",
	"job_identifier"         :    { "number" : "JOB000592" },
	"job_statuses":{"name":"Closed"},
	"fields_set":"billing_term_scheme,price_plan,life_cycle_state,type,accounts_receivable"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{ "status": { "message": "", "description": "", "code": "OK" }, "data": { "accounts_receivable": { "account_owner": { "last_name": "Ioannou123", "middle_name": null, "life_cycle_state": "FINANCIAL", "company_profile": null, "title": null, "first_name": "Marios", "type": "PERSON", "id": "B7E06FFC31C842FDB8C67E5D47E8A473", "name": "Ioannou123 Marios", "company_name": null, "demographics": { "gender": null, "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": "43253476", "industry": null, "id_issued_by_country": null } }, "life_cycle_state": "ACTIVE", "number": "ACR000833", "id": "DFFF90347E9D4435BCD9AF93E9552F5A", "name": "mar123" }, "life_cycle_state": "COMPLETED", "type": { "fulfillment_method": "BASED_ON_ORDERED_ITEMS", "fulfillment_scope": "GENERIC_PURPOSE", "id": "98523D8F88354CFAA8BF66E51DEA0A40", "name": "Installation Job 2", "description": "Job for installing Smartcard and Set Top Box on Subscriber's house if requested", "alternative_code": "002" } } } Panel
nameblue

Child pages (Children Display)
excerpttrue