Skip to end of banner
Go to start of banner

warranties

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Available from CRM/COM R9.0.0

GET warranties/show

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

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

warranty_identifier

(mandatory)

Identifier  

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

Unable to render {include} The included page could not be found.

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

Unable to render {include} The included page could not be found.

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

GET warranties/list

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

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

group_identifier

(semi-optional)

Identifier

The identifier of the group owning the warranties that should be returned as a result. The allowed group identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the group

name

(semi-optional)

String

The code of the group

alternative_code

(semi-optional)

String

The alternative code of  the group

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

Unable to render {include} The included page could not be found.

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

 

GET warranties/get_covered_by_warranties

This method checks whether a physical good, a product type or brand or family can be covered by a warranty or not. The method can be used for both traceable and non-traceable physical goods. The method returns all warranties that cover the physical good.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

product_identifier

(semi-optional)

Product Identifier  

The identifier of the product whose warranty coverage is required. The product might either be traceable or non-traceable. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

product_type_identifier

(semi-optional)

Product Type Identifier

The identifier of the product type whose warranty coverage is required. The allowed product type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product type

name

(semi-optional)

String

The name of the product type

alternative_code

(semi-optional)

String

The alternative code of  a product type

product_brand_identifier

(semi-optional)

Product Brand Identifier

The identifier of the product brand whose warranty coverage is required. The allowed product brand identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product brand

name

(semi-optional)

String

The name of the product brand

alternative_code

(semi-optional)

String

The alternative code of  a product brand

product_family_identifier

(semi-optional)

Product Family Identifier

The identifier of the product family whose warranty coverage is required. The allowed product family identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product family

name

(semi-optional)

String

The name of the product family

code

(semi-optional)

String

The code of  a product family

installed_item_identifierInstalled Item Identifier

The identifier of the installed item whose warranty coverage is required. The allowed installed item identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the installed item

serial_number

(semi-optional)

String

The serial number of the installed item

alternative_code

(semi-optional)

String

The alternative code of  a installed item

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

Unable to render {include} The included page could not be found.

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 
  • No labels