You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
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/is_covered
This method checks whether a physical good is covered by a warranty or not. The method can be used for both traceable and non-traceable physical goods.
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 based on which the stock balance of all products of this type will be returned as a results. 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_family_identifier (semi-optional) | Product Family Identifier | The identifier of the product family based on which the stock balance of all products of this family will be returned as a results. 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 |
|
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 |
---|
quantity | Number | The stock balance of the product across all warehouses |
number_of_products_included_in_bundles | Number | The number of items included in physical good bundles |
product | Product Object | The product whose stock balance across all warehouses is calculated |
stock_balance_per_warehouse | Set of Stock Balance Per Warehouse Objects | The warehouses based on which the product's stock balance was calculated |
Referred Objects Response Data
product object response data
| | |
---|
Id | String | The ID of the product |
code | String | The code of product |
alternative_code | String | The alternative code of product |
description | String | The description of product |
priority_level | Integer | The priority level of the product |
global_rate | Global Rate Object | The global rate of the retrieved product |
product_type | Product type object | The type of the product |
Referred Objects Response Data
product_type object data response
Name | Type | Description |
---|
Id | String | The ID of the retrieved product type |
name | String | The Name of the retrieved product type |
alternative_code | String | The Alternative Code of the retrieved product type |
description | String | The Description of the retrieved product type |
classification | String | The Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS |
service_type | String | The Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE |
physical_good_type | String | The physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE |
composition_method | String | The Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE |
used_for_provisioning | Boolean | The flag shows if the retrieved product type is used for provisioning |
udr_type | Usage Detail Record Type | The 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_type | Meter Reading Type | The Meter Reading type related with the product type. This is applicable only for traceable physical goods |
Referred Objects Response Data
usage_detail_record_type object data response
Name | Type | Description |
---|
Id | String | The ID of the retrieved usage detail record type |
name | String | The Name of the retrieved usage detail record type |
alternative_code | String | The Alternative Code of the retrieved usage detail record type |
description | String | The Description of the retrieved usage detail record type |
unit_of_measurement | String | The Unit of measurement of the retrieved usage detail record type |
Referred Objects Response Data
unit_of_measurement object response data
Name | Type | Description |
id | String | The 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_code | String | The alternative code of the Unit of measurement |
meter_reading_type object data response
Name | Type | Description |
---|
Id | String | The ID of the retrieved meter reading type |
name | String | The Name of the retrieved meter reading type |
alternative_code | String | The Alternative Code of the retrieved meter reading type |
classification | String | The Classification of the retrieved meter reading type |
description | String | The Description of the retrieved meter reading type |
unit_of_measurement | String | The Unit of measurement of the retrieved meter reading type |
Referred Objects Response Data
unit_of_measurement object response data
Name | Type | Description |
id | String | The 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_code | String | The 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
|
global_base_amount | Number | The base price of the product in the Global Price Plan |
base_rate_applied_per | String | The value for 'Base Rate Applied per' Available when the rate model is 'Quantity & Quantity Based' and it is a selection between |
uot | String | The 'UOT' applicable for the rate
- Seconds
- Minute
- Hour
- Day
- Week
- Month
- Year
Available for one-time services |
time_period | Time Period Object | The period and unit of time for which the base amount is applicable for. This is available only on termed services rates. |
uom | String | 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_value | Number | 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 |
warehouse product stock object response data
Name | Type | Description |
---|
id | String | The ID of the retrieved warehouse |
name | String | The name of the retrieved warehouse |
alternative_code | String | The alternative code of the retrieved warehouse |
description | String | A description of the retrieved warehouse |
quantity | Number | The stock balance of a specific product within the warehouse |
number_of_products_included_in_bundles | Number | Th number of items included in bundles within the warehouse and for the specified product |
Examples
Example 1
HTTP Method: GET
Request:
Response: