Versions Compared

Key

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

Available from CRM.COM R11.0.0

 

Table of Contents
maxLevel2

GET jobs/replace_physical_goods/show

This method returns information related with a job of fulfillment scope Replace Physical Goods. 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
 

    {
        "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-08-24T09:39:51",
                "updated_date": "2016-08-24T15:17:13",
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "id": "1",
                    "username": "MPAdministrator"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "id": "1",
                    "username": "MPAdministrator"
                }
            },
            "requested_physical_goods_set":
            [
            ],
            "type":
            {
                "alternative_code": "RPG",
                "name": "Replace Physical Goods",
                "fulfillment_scope": "REPLACE_PHYSICAL_GOODS",
                "description": null,
                "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
                "id": "E859291E838947F58C09BD0799E3613D"
            },
            "number": "J00000418",
            "id": "B26FC357BDFD46349EB4F136235A2204",
            "actual_completed_date": "2016-08-24T15:17:13",
            "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": "COMPLETED",
            "activities_set":
            [
            ],
            "physical_goods_set":
            [
            ],
            "time_overdue":
            {
                "time_period_uot": null,
                "time_period_value": null
            },
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "status":
            {
                "alternative_code": "3",
                "name": "Closed",
                "description": null,
                "id": "B5BE4505EE41A8829AAA7790F9BACE49",
                "life_cycle_state": "COMPLETED"
            },
            "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": "m_michael@crm.com",
            "udf_date_3": null,
            "physical_goods_replacements_set":
            [
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Modem",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "Physical Good",
                                "composition_method": "FLAT",
                                "name": "Physical Good",
                                "description": null,
                                "id": "5B6DAF4AD7C94C4D9C3B49950E10B256",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "M_2",
                            "description": "Modem",
                            "id": "01BEEA0C9B7246E79CAF6E569A8C6ECF"
                        },
                        "alternative_code": "modem_swap_replace_003",
                        "serial_number": "modem_swap_replace_003",
                        "id": "0C14AABA3D8045B1BA03FF36E8596777",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:16:19",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "warranty_coverage_reason":
                    {
                        "name": "Intentional Damage",
                        "description": "Intentional Damage",
                        "id": "FC5EE50BA1194380A349D2C2D9A9D4A2",
                        "altCode": "ID"
                    },
                    "replacement_installed_item":
                    {
                        "product":
                        {
                            "code": "Modem",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "Physical Good",
                                "composition_method": "FLAT",
                                "name": "Physical Good",
                                "description": null,
                                "id": "5B6DAF4AD7C94C4D9C3B49950E10B256",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "M_2",
                            "description": "Modem",
                            "id": "01BEEA0C9B7246E79CAF6E569A8C6ECF"
                        },
                        "alternative_code": "modem_replace_004",
                        "serial_number": "modem_replace_004",
                        "id": "DB7F65B4C43048459D244BB18B5DC48D",
                        "state": "EFFECTIVE"
                    },
                    "id": "162C545C85D1409896EE6DF7A30A96D6"
                },
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_swap_replace_002",
                        "serial_number": "stb_swap_replace_002",
                        "id": "9D2F20C205D847209BD972A9DA0D174D",
                        "state": "EFFECTIVE"
                    },
                    "replacement_installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_replace_001",
                        "serial_number": "stb_replace_001",
                        "id": "D77451FF2DA74C468049BD52332D26BB",
                        "state": "EFFECTIVE"
                    },
                    "id": "B89E1BECDF6F4EB68CD8587D3928E85A"
                }
            ],
            "udf_float_3": null,
            "udf_float_4": null,
            "estimated_completion_time":
            {
                "time_period_uot": "HOURS",
                "time_period_value": 10
            },
            "service_request": null,
            "udf_float_1": null,
            "billing_terms":
            {
                "billing_frequency": null,
                "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": null,
                "agreement_date": "2016-08-24T00:00:00",
                "effective_date": "2016-08-24T00:00:00",
                "price_plan":
                {
                    "code": "MPP",
                    "name": "Main Price Plan",
                    "effective_date": "2016-07-21T00:00:00",
                    "description": "Main Price Plan",
                    "id": "E2858AC591A04CF58912A9636787139C",
                    "type": "BASE",
                    "expiration_date": null
                },
                "id": "7C7AE4F608B0406497F056E4E422DE5A",
                "expiration_date": null,
                "binding_information": null
            },
            "udf_float_2": null,
            "start_date": "2016-08-24T09:39:51",
            "assigned_to":
            {
                "unit":
                {
                    "alternative_code": "adminunit",
                    "group_name": "Main Group",
                    "community_name": "Community",
                    "name": "Admin Unit",
                    "description": "admin unit",
                    "id": "1"
                },
                "user":
                {
                    "person_name": "MPAdministrator",
                    "id": "1",
                    "username": "MPAdministrator"
                }
            },
            "accounts_receivable":
            {
                "number": "ACR0000000266",
                "name": "ACR0000000266 Polen Mayiar",
                "id": "1E3E7AC4D2FA49458E2FFDE6912B7728",
                "life_cycle_state": "ACTIVE",
                "account_owner":
                {
                    "company_profile": null,
                    "company_name": null,
                    "name": "Polen Mayiar",
                    "last_name": "Mayiar",
                    "id": "1E66220195AF49A1BE8B0BDFB92F6D91",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Polen",
                    "demographics":
                    {
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "582649",
                        "gender": "MALE",
                        "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":
            [
            ],
            "requested_physical_goods_replacement_set":
            [
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Modem",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "Physical Good",
                                "composition_method": "FLAT",
                                "name": "Physical Good",
                                "description": null,
                                "id": "5B6DAF4AD7C94C4D9C3B49950E10B256",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "M_2",
                            "description": "Modem",
                            "id": "01BEEA0C9B7246E79CAF6E569A8C6ECF"
                        },
                        "alternative_code": "modem_replace_004",
                        "serial_number": "modem_replace_004",
                        "id": "DB7F65B4C43048459D244BB18B5DC48D",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:16:19",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "id": "DC81E5BB5DBD4A18BBF69A849D12CAD5"
                },
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_replace_001",
                        "serial_number": "stb_replace_001",
                        "id": "D77451FF2DA74C468049BD52332D26BB",
                        "state": "EFFECTIVE"
                    },
                    "id": "BE7FA613BC034B199945C017005CDB70"
                }
            ],
            "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": "HOME",
                "udf_date_2": null,
                "udf_date_1": null,
                "street_name": "Opote",
                "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": "78E2AC42646744BEA7BBBD0CDF6AD19D",
                "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": "55",
                "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-08-24T19:39:51"
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }

POST jobs/replace_physical_goods/create

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

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

type_identifier
(mandatory)

...

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

...

status_identifier
(optional)

...

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

...

category_identifier
(optional)

...

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

...

(mandatory)

...

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

...

contact_email

(optional)

...

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

...

contact_phone

(optional)

...

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

...

description
(optional)

...

notes
(optional)

...

start_date
(optional)

...

owned_by_group_identifier
(optional)

...

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

...

privacy_level_identifier
(optional)

...

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

...

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

...

udf_string_1 

(optional)

...

User Defined Field of type String

...

udf_string_2 

(optional)

...

User Defined Field of type String

...

udf_string_3 

(optional)

...

User Defined Field of type String

...

udf_string_4 

(optional)

...

User Defined Field of type String

...

udf_string_5

(optional)

...

User Defined Field of type String

...

udf_string_6 

(optional)

...

User Defined Field of type String

...

udf_string_7

(optional)

...

User Defined Field of type String

...

udf_string_8

(optional)

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1 

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2 

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

expected_completion_date
(semi-optional)

...

estimated_completion_time
(semi-optional)

...

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

...

requested_replaced_physical_goods_set

(mandatory)

...

The requested physical goods (installed items) that will be replaced as part of fulfilling this job. The traceable physical goods are filtered based on the traceable physical goods which are owned by the account owner and are not used in any subscriptions

...

requested_physical_goods_set

(optional)

...

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

...

requested_expenses_set

(optional)

...

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

...

requested_activity_services_set

(optional)

...

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

...

fields_set

(optional)

...

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

...

Restrictions

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

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: POST 

Request:

Body:

{
    "token":"4A2E69938DFE42DA8BB16C9D9247B00C",
    "type_identifier":{"name":"Replace Physical Goods"},    
    "accounts_receivable_identifier":{"number":"ACR0000000266"},        
    "location_identifier":{"type":"HOME"},    
    "contact_email":"m_michael@crm.com",
    "billing_terms":
   {
       "billing_term_scheme_identifier":{"id":"F3057AAF86104FF591C4C3131E731807"},
       "price_plan_identifier":{"id":"E2858AC591A04CF58912A9636787139C"}   
   },
    "assigned_to":
    {
        "user_identifier":{"username":"MPAdministrator"}
    },
   "requested_replaced_physical_goods_set":
    [
        {
            "installed_item_identifier":{"serial_number":"modem_replace_003"}
        }
    ]
} 

Response:

{
        "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-08-24T09:39:51",
                "updated_date": "2016-08-24T09:40:12",
                "updated_by_user":
                {
                    "person_name": "CRM COM",
                    "id": "1",
                    "username": "MPAdministrator"
                },
                "created_by_user":
                {
                    "person_name": "CRM COM",
                    "id": "1",
                    "username": "MPAdministrator"
                }
            },
            "requested_physical_goods_set":
            [
            ],
            "type":
            {
                "alternative_code": "RPG",
                "name": "Replace Physical Goods",
                "fulfillment_scope": "REPLACE_PHYSICAL_GOODS",
                "description": null,
                "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
                "id": "E859291E838947F58C09BD0799E3613D"
            },
            "number": "J00000418",
            "id": "B26FC357BDFD46349EB4F136235A2204",
            "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": "DRAFT",
            "activities_set":
            [
            ],
            "physical_goods_set":
            [
            ],
            "time_overdue":
            {
                "time_period_uot": null,
                "time_period_value": null
            },
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "status":
            {
                "alternative_code": "IP",
                "name": "Draft",
                "description": null,
                "id": "C9AFA1C35F628CB2B279C98D4CA45C5E",
                "life_cycle_state": "DRAFT"
            },
            "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": "m_michael@crm.com",
            "udf_date_3": null,
            "physical_goods_replacements_set":
            [
            ],
            "udf_float_3": null,
            "udf_float_4": null,
            "estimated_completion_time":
            {
                "time_period_uot": "HOURS",
                "time_period_value": 10
            },
            "service_request": null,
            "udf_float_1": null,
            "billing_terms":
            {
                "billing_frequency": null,
                "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": null,
                "agreement_date": "2016-08-24T00:00:00",
                "effective_date": "2016-08-24T00:00:00",
                "price_plan":
                {
                    "code": "MPP",
                    "name": "Main Price Plan",
                    "effective_date": "2016-07-21T00:00:00",
                    "description": "Main Price Plan",
                    "id": "E2858AC591A04CF58912A9636787139C",
                    "type": "BASE",
                    "expiration_date": null
                },
                "id": "7C7AE4F608B0406497F056E4E422DE5A",
                "expiration_date": null,
                "binding_information": null
            },
            "udf_float_2": null,
            "start_date": "2016-08-24T09:39:51",
            "assigned_to":
            {
                "unit":
                {
                    "alternative_code": "adminunit",
                    "group_name": "Main Group",
                    "community_name": "Community",
                    "name": "Admin Unit",
                    "description": "admin unit",
                    "id": "1"
                },
                "user":
                {
                    "person_name": "CRM COM",
                    "id": "1",
                    "email": "dev@crm.com",
                    "username": "MPAdministrator"
                }
            },
            "accounts_receivable":
            {
                "number": "ACR0000000266",
                "name": "ACR0000000266 Polen Mayiar",
                "id": "1E3E7AC4D2FA49458E2FFDE6912B7728",
                "life_cycle_state": "ACTIVE",
                "account_owner":
                {
                    "company_profile": null,
                    "company_name": null,
                    "name": "Polen Mayiar",
                    "last_name": "Mayiar",
                    "id": "1E66220195AF49A1BE8B0BDFB92F6D91",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Polen",
                    "demographics":
                    {
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "582649",
                        "gender": "MALE",
                        "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": "HOURS",
                "time_period_value": 9.994166666666667
            },
            "requested_activity_services_set":
            [
            ],
            "requested_physical_goods_replacement_set":
            [
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Modem",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "Physical Good",
                                "composition_method": "FLAT",
                                "name": "Physical Good",
                                "description": null,
                                "id": "5B6DAF4AD7C94C4D9C3B49950E10B256",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "M_2",
                            "description": "Modem",
                            "id": "01BEEA0C9B7246E79CAF6E569A8C6ECF"
                        },
                        "alternative_code": "modem_replace_003",
                        "serial_number": "modem_replace_003",
                        "id": "454268B57DEF430F8ED20848FA63EA9C",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:11:02",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "id": "A15A8A86BFCD46FCA95945EB91C73155"
                }
            ],
            "location": null,
            "category": null,
            "expected_completion_date": "2016-08-24T19:39:51"
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }

POST jobs/replace_physical_goods/update

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

Resource URL

Parameters

 

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

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

...

status_identifier
(optional)

...

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

...

category_identifier
(optional)

...

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

...

notes
(optional)

...

contact_email

(optional)

...

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

...

contact_phone

(optional)

...

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

...

start_date
(optional)

...

owned_by_group_identifier
(optional)

...

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

...

privacy_level_identifier
(optional)

...

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

...

udf_string_1
(optional)

...

User Defined Field of type String

...

udf_string_2
(optional)

...

User Defined Field of type String

...

udf_string_3
(optional)

...

User Defined Field of type String

...

udf_string_4
(optional)

...

User Defined Field of type String

...

udf_string_5
(optional)

...

User Defined Field of type String

...

udf_string_6
(optional)

...

User Defined Field of type String

...

udf_string_7
(optional)

...

User Defined Field of type String

...

udf_string_8
(optional)

...

User Defined Field of type String

...

udf_float_1
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3
(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4
(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3
(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4
(optional)

...

Date

...

User Defined Field of type Date

...

expected_completion_date
(optional)

...

estimated_completion_time
(optional)

...

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

...

requested_physical_goods_set

(optional)

...

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

...

requested_physical_goods_replacements_set

(optional)

...

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

...

requested_expenses_set

(optional)

...

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

...

requested_activity_services_set

(optional)

...

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

...

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

...

job_physical_goods_replacement_set 

(optional)

...

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

...

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

...

fields_set

(optional)

...

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

...

Restrictions

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

Response Data

...

Examples

HTTP Method: POST 

Request:

Body:

{

    "token":"9CDAEDEE02F4444E85284BB9A794DD64",

    "job_identifier":{"number":"J00000418"},

        

   "physical_goods_replacements_set":

    [

        {

            "action":"remove",

            "job_physical_good_replacement_identifier":{"replaced_by_installed_item_identifier":{"serial_number":"stb_replace_001"}}

        },

{

            "action":"add",

            "replaced_by_installed_item_identifier":{"serial_number":"stb_replace_001"},

            "installed_item_identifier":{"serial_number":"stb_swap_replace_001"},

            "warranty_coverage_reason_identifier":{"name":"Faulty"}

        }

    ]  

    

}

Response:

    {
        "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-08-24T09:39:51",
                "updated_date": "2016-08-24T12:55:46",
                "updated_by_user":
                {
                    "person_name": "CRM COM",
                    "id": "1",
                    "username": "MPAdministrator"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "id": "1",
                    "username": "MPAdministrator"
                }
            },
            "requested_physical_goods_set":
            [
            ],
            "type":
            {
                "alternative_code": "RPG",
                "name": "Replace Physical Goods",
                "fulfillment_scope": "REPLACE_PHYSICAL_GOODS",
                "description": null,
                "fulfillment_method": "BASED_ON_ORDERED_ITEMS",
                "id": "E859291E838947F58C09BD0799E3613D"
            },
            "number": "J00000418",
            "id": "B26FC357BDFD46349EB4F136235A2204",
            "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": "IN_PROGRESS",
            "activities_set":
            [
            ],
            "physical_goods_set":
            [
            ],
            "time_overdue":
            {
                "time_period_uot": null,
                "time_period_value": null
            },
            "udf_string_6": null,
            "udf_string_7": null,
            "udf_string_8": null,
            "status":
            {
                "alternative_code": "2",
                "name": "Approved",
                "description": null,
                "id": "7A98FA9566534F1C82227985EA48F617",
                "life_cycle_state": "IN_PROGRESS"
            },
            "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": "m_michael@crm.com",
            "udf_date_3": null,
            "physical_goods_replacements_set":
            [
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_swap_replace_001",
                        "serial_number": "stb_swap_replace_001",
                        "id": "2BA7FB596DA241B094B4A816EDC6375E",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:07:13",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "warranty_coverage_reason":
                    {
                        "name": "Faulty",
                        "description": "Faulty",
                        "id": "06B58CB81498454C8E2B3D1C46790AF4",
                        "altCode": "FLT"
                    },
                    "replacement_installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_replace_001",
                        "serial_number": "stb_replace_001",
                        "id": "D77451FF2DA74C468049BD52332D26BB",
                        "state": "EFFECTIVE"
                    },
                    "id": "0579CED0044E458699A56D0593A3D058"
                }
            ],
            "udf_float_3": null,
            "udf_float_4": null,
            "estimated_completion_time":
            {
                "time_period_uot": "HOURS",
                "time_period_value": 10
            },
            "service_request": null,
            "udf_float_1": null,
            "billing_terms":
            {
                "billing_frequency": null,
                "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": null,
                "agreement_date": "2016-08-24T00:00:00",
                "effective_date": "2016-08-24T00:00:00",
                "price_plan":
                {
                    "code": "MPP",
                    "name": "Main Price Plan",
                    "effective_date": "2016-07-21T00:00:00",
                    "description": "Main Price Plan",
                    "id": "E2858AC591A04CF58912A9636787139C",
                    "type": "BASE",
                    "expiration_date": null
                },
                "id": "7C7AE4F608B0406497F056E4E422DE5A",
                "expiration_date": null,
                "binding_information": null
            },
            "udf_float_2": null,
            "start_date": "2016-08-24T09:39:51",
            "assigned_to":
            {
                "unit":
                {
                    "alternative_code": "adminunit",
                    "group_name": "Main Group",
                    "community_name": "Community",
                    "name": "Admin Unit",
                    "description": "admin unit",
                    "id": "1"
                },
                "user":
                {
                    "person_name": "MPAdministrator",
                    "id": "1",
                    "username": "MPAdministrator"
                }
            },
            "accounts_receivable":
            {
                "number": "ACR0000000266",
                "name": "ACR0000000266 Polen Mayiar",
                "id": "1E3E7AC4D2FA49458E2FFDE6912B7728",
                "life_cycle_state": "ACTIVE",
                "account_owner":
                {
                    "company_profile": null,
                    "company_name": null,
                    "name": "Polen Mayiar",
                    "last_name": "Mayiar",
                    "id": "1E66220195AF49A1BE8B0BDFB92F6D91",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Polen",
                    "demographics":
                    {
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "582649",
                        "gender": "MALE",
                        "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": "HOURS",
                "time_period_value": 6.727777777777778
            },
            "requested_activity_services_set":
            [
            ],
            "requested_physical_goods_replacement_set":
            [
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Modem",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "Physical Good",
                                "composition_method": "FLAT",
                                "name": "Physical Good",
                                "description": null,
                                "id": "5B6DAF4AD7C94C4D9C3B49950E10B256",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "M_2",
                            "description": "Modem",
                            "id": "01BEEA0C9B7246E79CAF6E569A8C6ECF"
                        },
                        "alternative_code": "modem_replace_004",
                        "serial_number": "modem_replace_004",
                        "id": "DB7F65B4C43048459D244BB18B5DC48D",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:16:19",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "id": "DC81E5BB5DBD4A18BBF69A849D12CAD5"
                },
                {
                    "installed_item":
                    {
                        "product":
                        {
                            "code": "Set-top-box",
                            "product_type":
                            {
                                "service_type": null,
                                "used_for_provisioning": true,
                                "alternative_code": "STB",
                                "composition_method": "FLAT",
                                "name": "SET TOP BOX",
                                "description": "SET TOP BOX",
                                "id": "E8BA9A6F34A24019A89892D5B3ACD9DF",
                                "classification": "PHYSICALGOODS",
                                "physical_good_type": "TRACEABLE"
                            },
                            "alternative_code": "STB",
                            "description": "Set-top-box",
                            "id": "D613415339C14975B28BB4FC11598E93"
                        },
                        "alternative_code": "stb_replace_001",
                        "serial_number": "stb_replace_001",
                        "id": "D77451FF2DA74C468049BD52332D26BB",
                        "state": "EFFECTIVE"
                    },
                    "warranty_expiration_date": "2017-08-24T09:07:13",
                    "warranty_policy":
                    {
                        "number": "1",
                        "alternative_code": "NSS",
                        "name": "New Subscription Sales",
                        "id": "3C6F0E199A1F420BB74EA8EBF0DC0BF4",
                        "life_cycle_state": "EFFECTIVE"
                    },
                    "id": "BE7FA613BC034B199945C017005CDB70"
                }
            ],
            "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": "HOME",
                "udf_date_2": null,
                "udf_date_1": null,
                "street_name": "Opote",
                "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": "78E2AC42646744BEA7BBBD0CDF6AD19D",
                "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": "55",
                "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-08-24T19:39:51"
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }
Expand
titleExample 1
Panel
nameblue

Child pages (Children Display)
excerpttrue