GET warranty_policies/show

Available from CRM.COM R9.0.0

This method returns information related with a Warranty Policy.  A single warranty is returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

warranty_policy_identifier

(mandatory)

Identifier  

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

Name

Type

Description

id

(semi-optional)

String

The ID of the warranty policy

number

(semi-optional)

String

The number of the warranty policy

name

(semi-optional)

String

The name of the warranty policy

alternative_code

(semi-optional)

String

The alternative code of  the warranty policy

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

id

String

The ID of the retrieved warranty policy

number

String

The number of the retrieved warranty policy

nameStringThe name of the retrieved warranty policy
alternative_codeStringThe alternative code of the retrieved warranty policy
life_cycle_stateStringThe life cycle state of the retrieved warranty policy. Supported values are EFFECTIVE and NOT EFFECTIVE
descriptionStringThe description of the retrieved warranty policy
durationNumberThe duration of the warranty policy
unit_of_timeStringThe unit of time that measures the specified duration. The supported values are DAYS, WEEKS, MONTHS or YEARS
replacement_coverage_policyString

Defines how the Warranty Policy of the replaced physical good affects the physical good which replaces it. The available options are CARRY_OVER_WARRANTY, APPLY_NEW_WARRANTY, NO_WARRANTY

effective_dateDateThe date from which the warranty policy can be applied on sold physical goods
expiration_dateDateThe date until which the warranty policy can be applied on sold physical goods
company_responsibilitiesStringThe warranty policy's company responsibilities
customer_responsibilitiesStringThe warranty policy's customer responsibilities

udf_string_1

String

User Defined Field of type String

udf_string_2

String

User Defined Field of type String

udf_string_3

String

User Defined Field of type String

udf_string_4

String

User Defined Field of type String

udf_string_5

String

User Defined Field of type String

udf_string_6

String

User Defined Field of type String

udf_string_7

String

User Defined Field of type String

udf_string_8

String

User Defined Field of type String

udf_float_1

Float

User Defined Field of type Float

udf_float_2

Float

User Defined Field of type Float

udf_float_3

Float

User Defined Field of type Float

udf_float_4

Float

User Defined Field of type Float

udf_date_1

Date

User Defined Field of type Date

udf_date_2

Date

User Defined Field of type Date

udf_date_3

Date

User Defined Field of type Date

udf_date_4

Date

User Defined Field of type Date

physical_goods_covered_set

Set of physical goods covered

The physical goods which can be covered by the warranty policy

coverage_reasons_setSet of Warranty Coverage ReasonsThe Warranty Coverage Reasons which are applicable by the warranty policy.
allowed_organisational_units_setSet of unit Objects

The organisational units that can use the specific warranty policy

Deprecated from CRM.COM R18.0.0

allowed_business_units_setSet of Business Unit Objects

The business units that can use the specific warranty policy

Available from CRM.COM R18.0.0

log_information

Log Information Object

The log information related with the retrieved warranty policy

Referred Objects Response Data

 warranty_physical_goods object response data

Name

Type

Description

productProducts ObjectThe traceable or non-traceable product covered by the warranty
product_typeProduct Types ObjectThe product type covered by the warranty
product_brandProduct Brands ObjectThe product brand covered by the warranty
product_familyProduct Families ObjectTh product family covered by the warranty

Referred Objects Response Data

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 product_brand object data response
NameType Description
IdStringThe ID of the retrieved product brand
nameStringThe Name of the retrieved product brand
alternative_codeStringThe Alternative Code of the retrieved product brand
descriptionStringThe Description of the retrieved product brand

 product_family object data response
NameType Description
IdStringThe ID of the retrieved product family
nameStringThe Name of the retrieved product family
codeStringThe code of the retrieved product family
descriptionStringThe Description of the retrieved product family

 warranty_coverage_reasoning object response data

Name

Type

Description

provides_coverageIntegerIndicates whether the warranty policy's coverage reason will eventually cover the required sold physical good or not. Available values are 0 and 1, 0 is indicating that the physical good cannot be covered
replacement_coverage_policyString

Defines how the warranty policy of the replaced physical good affects the physical good which replaces it. The available options are CARRY_OVER_WARRANTY, APPLY_NEW_WARRANTY, NO_WARRANTY

warranty_coverage_reasonWarranty Coverage Reason ObjectThe warranty policy's coverage reason

Referred Objects Response Data

 warranty_coverage_reason object data response
NameType Description
idStringThe ID of the retrieved warranty coverage reason
nameStringThe Name of the retrieved warranty coverage reason
alternative_codeStringThe Alternative Code of the retrieved warranty coverage reason
descriptionStringThe Description of the retrieved warranty coverage reason

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "physical_goods_covered": [
      {
        "product_family": null,
        "product_brand": {
          "altCode": "Phillips",
          "id": "0CCF5FFE863F3753E49AD78C36FA23B3",
          "name": "Phillips",
          "description": "Band Philips"
        },
        "product_type": null,
        "product": null
      },
      {
        "product_family": null,
        "product_brand": null,
        "product_type": {
          "service_type": null,
          "physical_good_type": "TRACEABLE",
          "used_for_provisioning": 0,
          "classification": "PHYSICALGOODS",
          "composition_method": "FIXEDBUNDLE",
          "id": "3919A362F4EB4828A70773B0574CD0E3",
          "name": "Bundle-Traceble-Sakkas",
          "description": null,
          "alternative_code": "B_1"
        },
        "product": null
      },
      {
        "product_family": {
          "id": "C23C3894D55F015EE2E02DF956314B1B",
          "name": "Digital",
          "description": null,
          "code": null
        },
        "product_brand": null,
        "product_type": null,
        "product": null
      },
      {
        "product_family": null,
        "product_brand": null,
        "product_type": null,
        "product": {
          "product_type": {
            "service_type": null,
            "physical_good_type": "TRACEABLE",
            "used_for_provisioning": 0,
            "classification": "PHYSICALGOODS",
            "composition_method": "FLAT",
            "id": "3ADBA4F945204F8B80CFCB0917383F8E",
            "name": "Decoders-Sakkas",
            "description": null,
            "alternative_code": "D_2"
          },
          "id": "279A04187C1841209A2079F925C625BB",
          "name": null,
          "description": null,
          "code": "Decoder-Sakkas",
          "alternative_code": "D"
        }
      }
    ],
    "udf_float_1": null,
    "effective_date": "2016-03-15 00:00:00.0",
    "udf_float_2": null,
    "coverage_reasoning": [
      {
        "provides_coverage": 1,
        "warranty_coverage_reason": {
          "altCode": "WCR2",
          "id": "D98AEF9E5B404616BEC1F8656E05619E",
          "name": "Warranty Coverage Reasons 2",
          "description": "Warranty Coverage Reasons 2"
        }
      },
      {
        "provides_coverage": null,
        "warranty_coverage_reason": {
          "altCode": "CR1",
          "id": "0ACA0BCFAD594297AFF1E666248C4E1D",
          "name": "Coverage Reason 1",
          "description": "Coverage Reason 1"
        }
      }
    ],
    "udf_float_3": null,
    "udf_float_4": null,
    "number": "3.2",
    "name": "Warranty Policy 3.2",
    "udf_string_1": null,
    "udf_string_2": null,
    "udf_string_3": null,
    "udf_string_4": null,
    "allowed_organisational_units_set": [
      {
        "community_name": null,
        "id": "F95BE5E978B34A1694F010CC0A13F677",
        "name": null,
        "group_name": "Main Group",
        "description": null,
        "alternative_code": null
      }
    ],
    "udf_string_5": null,
    "udf_string_6": null,
    "udf_string_7": null,
    "udf_string_8": null,
    "duration": 20,
    "id": "C208D849F5BF4741A81D5D8A977B0302",
    "udf_date_1": null,
    "udf_date_2": null,
    "udf_date_3": null,
    "udf_date_4": null,
    "customer_responsibilities": "Bring Back",
    "company_responsibilities": "Nothing",
    "log_information": {
      "updated_date": "2016-03-03T14:39:42",
      "created_date": "2016-03-03T14:13:11",
      "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",
        "email": "sakkascy1986@hotmail.com"
      },
      "updated_by_user": {
        "person_name": "MPAdministrator",
        "username": "MPAdministrator",
        "id": "1",
        "email": "sakkascy1986@hotmail.com"
      }
    },
    "life_cycle_state": "EFFECTIVE",
    "unit_of_time": "DAYS",
    "replacement_coverage_policy": "CARRY_OVER_REMAINING_DURATION",
    "description": null,
    "expiration_date": null,
    "alternative_code": "WP3"
  }
}