Get all product lines
get
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine
Request
Query Parameters
-
description: string
The description of the resource.
-
eligibleForProject: string
Project Id
-
fields: string
The comma-separated field names that are returned in the response. The field names are the names that you specify when you create or retrieve a resource.
-
id: string
The unique identifier of the resource item.
-
lifecycleStatus: string
The current lifecycle status of the resource.
-
limit: integer
The number of resources to be returned in the response. The minimum value that can be specified is 1, and the maximum value that can be specified is 100,000. If the specified value is greater than 100,000, then it defaults to 100,000.
-
name: string
The name of the resource.
-
offset: string
The record number from which the retrieval starts. The default value is zero. If no value is specified, then it defaults to zero. The value zero indicates that the retrieval will start from the beginning of the collection.
-
version: string
The current version of the resource.
-
whereUsed: string
enrich objects with usedBy information
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : schema
Type:
Show Source
array
-
Array of:
ProductLineOracle
Title:
ProductLineOracle
Represents entities that groups product offerings
Nested Schema : ProductLineOracle
Title:
ProductLineOracle
Represents entities that groups product offerings
Match All
Represents entities that groups product offerings
Represents entities that groups product offerings
Show Source
-
object
ProductLine
Title:
ProductLine
Discriminator:{ "propertyName":"@type", "mapping":{ "ProductLine":"#/components/schemas/ProductLine", "ProductLineOracle":"#/components/schemas/ProductLineOracle" } }
Represents entities that groups product offerings -
object
ProductLineOracle-allOf[1]
Nested Schema : ProductLine
Type:
object
Title:
ProductLine
Discriminator: @type
Discriminator Values
Represents entities that groups product offerings
Show Source
-
@baseType: string
Immediate base (class) type of the product offering
-
@schemaLocation: string
A link to the schema describing this product offering
-
@type: string
Class type of the product offering
-
description: string
Description of the product line
-
href: string
Reference of the Product line
-
id: string
Maximum Length:
30
Unique identifier of the product line -
lastUpdate: string
(date-time)
Date and time of the last update
-
lifecycleStatus: string
Used to indicate the current lifecycle status
-
name(required): string
Name of the product line
-
validFor: object
TimePeriodOracle
Title:
TimePeriodOracle
Validity period of the related party -
version: string
ProductOffering version
Nested Schema : ProductLineOracle-allOf[1]
Type:
Show Source
object
-
applicationName: string
name of the external application
-
compatibilityRules: array
compatibilityRules
-
created: string
(date-time)
Date and time of creation
-
createdBy: string
name of the person who created item
-
externalId: string
id of the external application
-
lastUpdatedBy: string
name of the person who updated item
-
productOffering: array
productOffering
-
project: object
ProjectRef
Title:
ProjectRef
Project Reference -
versionState: number
Version state of the product line
Nested Schema : compatibilityRules
Type:
Show Source
array
-
Array of:
object CompatibilityRulesOracle
Title:
CompatibilityRulesOracle
specifies the compatibilty rule for the offer
Nested Schema : productOffering
Type:
Show Source
array
-
Array of:
object ProductLineOfferingRef
Title:
ProductLineOfferingRef
ProductOffering reference. A product offering represents entities that are orderable from the provider of the catalog, this resource includes pricing information.
Nested Schema : ProjectRef
Type:
object
Title:
ProjectRef
Project Reference
Show Source
-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
Nested Schema : CompatibilityRulesOracle
Type:
object
Title:
CompatibilityRulesOracle
specifies the compatibilty rule for the offer
Show Source
-
active: boolean
A flag indicating if the rule is active or not
-
compatibilityRuleType: string
Allowed Values:
[ "REQUIRES", "EXCLUDES" ]
Specifies the type of compatability rule -
name(required): string
Unique name of the Compatibility Rule
-
objectProduct: string
object offer component of the compatability rule
-
objectProductLine: string
Object Product Line component of the compatability rule
-
subjectProduct: string
Subject offer component of the compatability rule
-
subjectProductLine: string
Subject Product Line component of the compatability rule
-
validFor: object
TimePeriodOracle
Title:
TimePeriodOracle
Validity period of the related party
Nested Schema : TimePeriodOracle
Type:
object
Title:
TimePeriodOracle
Validity period of the related party
Show Source
-
endDateTime: string
(date-time)
An instant of time, ending at the TimePeriod.
-
startDateTime: string
(date-time)
An instant of time, starting at the TimePeriod
Nested Schema : ProductLineOfferingRef
Type:
object
Title:
ProductLineOfferingRef
ProductOffering reference. A product offering represents entities that are orderable from the provider of the catalog, this resource includes pricing information.
Show Source
-
@referredType: string
the class type of the referred product offering
-
href: string
Reference of the product offering
-
id(required): string
Unique identifier of the product offering
-
isBundle: boolean
Indicates if the offer is simple or composite
-
lifecycleStatus: string
lifecycleStatus of the product offering
-
name: string
Name of the product offering
-
version: string
Version of the product offering
400 Response
Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
Your request includes a resource URI that doesn't exist.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to get all product lines by submitting a GET request on the REST resource using cURL.
cURL Command
curl -u username:password -X GET https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine\ -H 'Content-Type: application/json'
Example of Response Body
The following example shows the contents of the response body in JSON format.
[ { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/PRODUCTLINE-3621804581-1594152825043", "id": "PRODUCTLINE-3621804581-1594152825043", "created": "2020-07-07T20:13:45.001Z", "lastUpdate": "2020-07-07T20:13:45.549Z", "version": "1.0", "name": "Automation Product Line Name-8-7-2020-1-41-53", "description": "Automation Product Line Description", "@type": "ProductLineOracle", "@schemaLocation": "https://{FusionAppsHost}/CatalogManagement/schema/oracle/ProductLineOracle.yml", "lifecycleStatus": "In design" }, { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/ServicePlanPL6790", "id": "ServicePlanPL6790", "created": "2020-07-09T10:35:21.459Z", "lastUpdate": "2020-07-23T08:18:11.001Z", "version": "1.0", "project": { "id": "28527", "name": "ImportJob_28527", "version": "1.0" }, "name": "Service Plan PL6790", "description": "Description of Product Lines", "@type": "ProductLineOracle", "@baseType": "ProductLine", "@schemaLocation": "https://{FusionAppsHost}/CatalogManagement/schema/oracle/ProductLineOracle.yml", "lifecycleStatus": "Ready to publish", "productOffering": [ { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/HomeUltimateMonitoringPlan6790", "id": "HomeUltimateMonitoringPlan6790", "version": "1.0", "isBundle": false, "lifecycleStatus": "Ready to publish", "name": "Home Ultimate Monitoring Plan6790", "@referredType": "ProductOfferingOracle" }, { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/HomeProtectionMonitoringPlan6790", "id": "HomeProtectionMonitoringPlan6790", "version": "1.0", "isBundle": false, "lifecycleStatus": "Ready to publish", "name": "Home Protection Monitoring Plan6790", "@referredType": "ProductOfferingOracle" }, { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/HomeInteractiveMonitoringPlan6790", "id": "HomeInteractiveMonitoringPlan6790", "version": "1.0", "isBundle": false, "lifecycleStatus": "Ready to publish", "name": "Home Interactive Monitoring Plan6790", "@referredType": "ProductOfferingOracle" } ] }, { "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productLine/PL-449443605-1595511813939", "id": "PL-449443605-1595511813939", "created": "2020-07-23T13:43:34.001Z", "lastUpdate": "2020-07-23T13:43:34.579Z", "version": "1.0", "name": "Product Line Name_23_7_2020_19_11_43", "description": "Product Line Description", "@type": "ProductLineOracle", "@schemaLocation": "https://{FusionAppsHost}/CatalogManagement/schema/oracle/ProductLineOracle.yml", "lifecycleStatus": "In design" }, .... ]