curl -X GET\
\
\
-H "Accept: application/json;charset=utf-8,application/xml,application/json,application/json;charset=utf-8"\
"http://localhost:9001/b2ctelcotmfwebservices/v2/productOffering?@baseType=&@schemaLocation=&@type=&agreement.@referredType=&agreement.name=&attachment.@baseType=&attachment.@schemaLocation=&attachment.@type=&attachment.mimeType=&attachment.type=&attachment.url=&baseSiteId=&bundledProductOffering.lifecycleStatus=&bundledProductOffering.name=&category.@referredType=&category.name=&category.version=&channel.@referredType=&channel.name=&facetSearchOption.id=&fields=&isBundle=&lastUpdate=&lifecycleStatus=&limit=&marketSegment.@referredType=&marketSegment.name=&name=&offeringGroup.id=&offset=&parentBundledProductOffering.id=&place.@referredType=&place.address=&place.name=&place.role=&prodSpecCharValueUse.maxCardinality=&prodSpecCharValueUse.minCardinality=&prodSpecCharValueUse.name=&prodSpecCharValueUse.valueType=&productOfferingPrice.@baseType=&productOfferingPrice.@schemaLocation=&productOfferingPrice.@type=&productOfferingPrice.isBundle=&productOfferingPrice.name=&productOfferingPrice.place.id=&productOfferingPrice.priceType=&productOfferingPrice.recurringChargePeriod=&productOfferingPrice.relatedParty.id=&productOfferingPrice.unitOfMeasure=&productOfferingPrice.version=&productOfferingTerm.@schemaLocation=&productOfferingTerm.@type=&productOfferingTerm.name=&productSpecification.@referredType=&productSpecification.name=&productSpecification.version=&resourceCandidate.@referredType=&resourceCandidate.name=&resourceCandidate.version=&serviceCandidate.@referredType=&serviceCandidate.name=&serviceCandidate.version=&serviceLevelAgreement.@referredType=&serviceLevelAgreement.name=&sort=&validFor.endDateTime=&validFor.startDateTime=&version="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductCatalogManagementApi;
import java.io.File;
import java.util.*;
public class ProductCatalogManagementApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2_Password
OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");
// Configure OAuth2 access token for authorization: oauth2_client_credentials
OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");
ProductCatalogManagementApi apiInstance = new ProductCatalogManagementApi();
String @baseType = @baseType_example; // String | For filtering: Immediate base (class) type of the product offering
String @schemaLocation = @schemaLocation_example; // String | For filtering: A link to the schema describing this product offering
String @type = @type_example; // String | For filtering: Class type of the product offering
String agreement.@referredType = agreement.@referredType_example; // String | For filtering: class type of the referred Agreement
String agreement.name = agreement.name_example; // String | For filtering: Name of the agreement
String attachment.@baseType = attachment.@baseType_example; // String | For filtering: The immediate base class type of the attachment
String attachment.@schemaLocation = attachment.@schemaLocation_example; // String | For filtering: A link to the schema describing this attachment entity
String attachment.@type = attachment.@type_example; // String | For filtering: the class type of the Attachment
String attachment.mimeType = attachment.mimeType_example; // String | For filtering: Attachment mime type such as extension file for video, picture and document
String attachment.type = attachment.type_example; // String | For filtering: Attachment type such as video, picture
String attachment.url = attachment.url_example; // String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
String baseSiteId = baseSiteId_example; // String | Identifier of the BaseSite
String bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
String bundledProductOffering.name = bundledProductOffering.name_example; // String | For filtering: Name of the BundledProductOffering
String category.@referredType = category.@referredType_example; // String | For filtering: the class type of the referred Category
String category.name = category.name_example; // String | For filtering: Name of the category
String category.version = category.version_example; // String | For filtering: Category version
String channel.@referredType = channel.@referredType_example; // String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
String channel.name = channel.name_example; // String | For filtering: Name of the channel
array[String] facetSearchOption.id = ; // array[String] | For filtering by facet options. The identifier of the facet search option.
String fields = fields_example; // String | Comma separated properties to display in response
Boolean isBundle = true; // Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
Date lastUpdate = 2013-10-20T19:20:30+01:00; // Date | For filtering: Date and time of the last update
String lifecycleStatus = lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
Integer limit = 56; // Integer | Requested number of resources to be provided in response requested by client.
String marketSegment.@referredType = marketSegment.@referredType_example; // String | For filtering: (Class) type of the referred market segment
String marketSegment.name = marketSegment.name_example; // String | For filtering: Name of the market segment
String name = name_example; // String | For filtering: Name of the productOffering
String offeringGroup.id = offeringGroup.id_example; // String | For filtering: Id of the productOfferingGroup
Integer offset = 56; // Integer | Requested index for start of resources to be provided in response requested by client.
String parentBundledProductOffering.id = parentBundledProductOffering.id_example; // String | For filtering: Id of the parentBundledProductOffering
String place.@referredType = place.@referredType_example; // String | For filtering: class type of the referred Place object
String place.address = place.address_example; // String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
String place.name = place.name_example; // String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
String place.role = place.role_example; // String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
Integer prodSpecCharValueUse.maxCardinality = 56; // Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
Integer prodSpecCharValueUse.minCardinality = 56; // Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
String prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; // String | For filtering: Name of the associated productSpecCharacteristic
String prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; // String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
String productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; // String | For filtering: the immediate base class of product offering price
String productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; // String | For filtering: hyperlink reference to the product offering price schema
String productOfferingPrice.@type = productOfferingPrice.@type_example; // String | For filtering: The class type of the product offering price
Boolean productOfferingPrice.isBundle = true; // Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not
String productOfferingPrice.name = productOfferingPrice.name_example; // String | For filtering: Name of the productOfferingPrice
String productOfferingPrice.place.id = productOfferingPrice.place.id_example; // String | For filtering: Identifier of the place for which product offering has prices available
String productOfferingPrice.priceType = productOfferingPrice.priceType_example; // String | For filtering: Indicates the price type: recurring, one time, usage
String productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; // String | For filtering: Could be month, week...
String productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; // String | For filtering: Identifier of the related party for which the price applies.
String productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; // String | For filtering: Could be minutes, GB...
String productOfferingPrice.version = productOfferingPrice.version_example; // String | For filtering: ProductOffering version
String productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; // String | For filtering: A link to the schema describing this product offering term
String productOfferingTerm.@type = productOfferingTerm.@type_example; // String | For filtering: The class type of ProductOfferingTerm
String productOfferingTerm.name = productOfferingTerm.name_example; // String | For filtering: Name of the productOfferingTerm
String productSpecification.@referredType = productSpecification.@referredType_example; // String | For filtering: class type of referred Product Specification
String productSpecification.name = productSpecification.name_example; // String | For filtering: Name of the product specification
String productSpecification.version = productSpecification.version_example; // String | For filtering: Version of the product specification
String resourceCandidate.@referredType = resourceCandidate.@referredType_example; // String | For filtering: The Class type of referred Resource Candidate
String resourceCandidate.name = resourceCandidate.name_example; // String | For filtering: Name of the resource candidate
String resourceCandidate.version = resourceCandidate.version_example; // String | For filtering: Version of the resource candidate
String serviceCandidate.@referredType = serviceCandidate.@referredType_example; // String | For filtering: The Class type of referred Service Candidate
String serviceCandidate.name = serviceCandidate.name_example; // String | For filtering: Name of the service candidate
String serviceCandidate.version = serviceCandidate.version_example; // String | For filtering: Version of the service candidate
String serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; // String | For filtering: class type of referred Service Level Agreement
String serviceLevelAgreement.name = serviceLevelAgreement.name_example; // String | For filtering: Name of the service level agreement
array[String] sort = ; // array[String] | For sorting: The options the product offerings can be sorted by.
Date validFor.endDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, ending at the TimePeriod.
Date validFor.startDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, starting at the TimePeriod
String version = version_example; // String | For filtering: ProductOffering version
try {
array[ProductOffering] result = apiInstance.listProductOffering(@baseType, @schemaLocation, @type, agreement.@referredType, agreement.name, attachment.@baseType, attachment.@schemaLocation, attachment.@type, attachment.mimeType, attachment.type, attachment.url, baseSiteId, bundledProductOffering.lifecycleStatus, bundledProductOffering.name, category.@referredType, category.name, category.version, channel.@referredType, channel.name, facetSearchOption.id, fields, isBundle, lastUpdate, lifecycleStatus, limit, marketSegment.@referredType, marketSegment.name, name, offeringGroup.id, offset, parentBundledProductOffering.id, place.@referredType, place.address, place.name, place.role, prodSpecCharValueUse.maxCardinality, prodSpecCharValueUse.minCardinality, prodSpecCharValueUse.name, prodSpecCharValueUse.valueType, productOfferingPrice.@baseType, productOfferingPrice.@schemaLocation, productOfferingPrice.@type, productOfferingPrice.isBundle, productOfferingPrice.name, productOfferingPrice.place.id, productOfferingPrice.priceType, productOfferingPrice.recurringChargePeriod, productOfferingPrice.relatedParty.id, productOfferingPrice.unitOfMeasure, productOfferingPrice.version, productOfferingTerm.@schemaLocation, productOfferingTerm.@type, productOfferingTerm.name, productSpecification.@referredType, productSpecification.name, productSpecification.version, resourceCandidate.@referredType, resourceCandidate.name, resourceCandidate.version, serviceCandidate.@referredType, serviceCandidate.name, serviceCandidate.version, serviceLevelAgreement.@referredType, serviceLevelAgreement.name, sort, validFor.endDateTime, validFor.startDateTime, version);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductCatalogManagementApi#listProductOffering");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ProductCatalogManagementApi;
public class ProductCatalogManagementApiExample {
public static void main(String[] args) {
ProductCatalogManagementApi apiInstance = new ProductCatalogManagementApi();
String @baseType = @baseType_example; // String | For filtering: Immediate base (class) type of the product offering
String @schemaLocation = @schemaLocation_example; // String | For filtering: A link to the schema describing this product offering
String @type = @type_example; // String | For filtering: Class type of the product offering
String agreement.@referredType = agreement.@referredType_example; // String | For filtering: class type of the referred Agreement
String agreement.name = agreement.name_example; // String | For filtering: Name of the agreement
String attachment.@baseType = attachment.@baseType_example; // String | For filtering: The immediate base class type of the attachment
String attachment.@schemaLocation = attachment.@schemaLocation_example; // String | For filtering: A link to the schema describing this attachment entity
String attachment.@type = attachment.@type_example; // String | For filtering: the class type of the Attachment
String attachment.mimeType = attachment.mimeType_example; // String | For filtering: Attachment mime type such as extension file for video, picture and document
String attachment.type = attachment.type_example; // String | For filtering: Attachment type such as video, picture
String attachment.url = attachment.url_example; // String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
String baseSiteId = baseSiteId_example; // String | Identifier of the BaseSite
String bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
String bundledProductOffering.name = bundledProductOffering.name_example; // String | For filtering: Name of the BundledProductOffering
String category.@referredType = category.@referredType_example; // String | For filtering: the class type of the referred Category
String category.name = category.name_example; // String | For filtering: Name of the category
String category.version = category.version_example; // String | For filtering: Category version
String channel.@referredType = channel.@referredType_example; // String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
String channel.name = channel.name_example; // String | For filtering: Name of the channel
array[String] facetSearchOption.id = ; // array[String] | For filtering by facet options. The identifier of the facet search option.
String fields = fields_example; // String | Comma separated properties to display in response
Boolean isBundle = true; // Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
Date lastUpdate = 2013-10-20T19:20:30+01:00; // Date | For filtering: Date and time of the last update
String lifecycleStatus = lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
Integer limit = 56; // Integer | Requested number of resources to be provided in response requested by client.
String marketSegment.@referredType = marketSegment.@referredType_example; // String | For filtering: (Class) type of the referred market segment
String marketSegment.name = marketSegment.name_example; // String | For filtering: Name of the market segment
String name = name_example; // String | For filtering: Name of the productOffering
String offeringGroup.id = offeringGroup.id_example; // String | For filtering: Id of the productOfferingGroup
Integer offset = 56; // Integer | Requested index for start of resources to be provided in response requested by client.
String parentBundledProductOffering.id = parentBundledProductOffering.id_example; // String | For filtering: Id of the parentBundledProductOffering
String place.@referredType = place.@referredType_example; // String | For filtering: class type of the referred Place object
String place.address = place.address_example; // String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
String place.name = place.name_example; // String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
String place.role = place.role_example; // String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
Integer prodSpecCharValueUse.maxCardinality = 56; // Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
Integer prodSpecCharValueUse.minCardinality = 56; // Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
String prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; // String | For filtering: Name of the associated productSpecCharacteristic
String prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; // String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
String productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; // String | For filtering: the immediate base class of product offering price
String productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; // String | For filtering: hyperlink reference to the product offering price schema
String productOfferingPrice.@type = productOfferingPrice.@type_example; // String | For filtering: The class type of the product offering price
Boolean productOfferingPrice.isBundle = true; // Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not
String productOfferingPrice.name = productOfferingPrice.name_example; // String | For filtering: Name of the productOfferingPrice
String productOfferingPrice.place.id = productOfferingPrice.place.id_example; // String | For filtering: Identifier of the place for which product offering has prices available
String productOfferingPrice.priceType = productOfferingPrice.priceType_example; // String | For filtering: Indicates the price type: recurring, one time, usage
String productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; // String | For filtering: Could be month, week...
String productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; // String | For filtering: Identifier of the related party for which the price applies.
String productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; // String | For filtering: Could be minutes, GB...
String productOfferingPrice.version = productOfferingPrice.version_example; // String | For filtering: ProductOffering version
String productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; // String | For filtering: A link to the schema describing this product offering term
String productOfferingTerm.@type = productOfferingTerm.@type_example; // String | For filtering: The class type of ProductOfferingTerm
String productOfferingTerm.name = productOfferingTerm.name_example; // String | For filtering: Name of the productOfferingTerm
String productSpecification.@referredType = productSpecification.@referredType_example; // String | For filtering: class type of referred Product Specification
String productSpecification.name = productSpecification.name_example; // String | For filtering: Name of the product specification
String productSpecification.version = productSpecification.version_example; // String | For filtering: Version of the product specification
String resourceCandidate.@referredType = resourceCandidate.@referredType_example; // String | For filtering: The Class type of referred Resource Candidate
String resourceCandidate.name = resourceCandidate.name_example; // String | For filtering: Name of the resource candidate
String resourceCandidate.version = resourceCandidate.version_example; // String | For filtering: Version of the resource candidate
String serviceCandidate.@referredType = serviceCandidate.@referredType_example; // String | For filtering: The Class type of referred Service Candidate
String serviceCandidate.name = serviceCandidate.name_example; // String | For filtering: Name of the service candidate
String serviceCandidate.version = serviceCandidate.version_example; // String | For filtering: Version of the service candidate
String serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; // String | For filtering: class type of referred Service Level Agreement
String serviceLevelAgreement.name = serviceLevelAgreement.name_example; // String | For filtering: Name of the service level agreement
array[String] sort = ; // array[String] | For sorting: The options the product offerings can be sorted by.
Date validFor.endDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, ending at the TimePeriod.
Date validFor.startDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, starting at the TimePeriod
String version = version_example; // String | For filtering: ProductOffering version
try {
array[ProductOffering] result = apiInstance.listProductOffering(@baseType, @schemaLocation, @type, agreement.@referredType, agreement.name, attachment.@baseType, attachment.@schemaLocation, attachment.@type, attachment.mimeType, attachment.type, attachment.url, baseSiteId, bundledProductOffering.lifecycleStatus, bundledProductOffering.name, category.@referredType, category.name, category.version, channel.@referredType, channel.name, facetSearchOption.id, fields, isBundle, lastUpdate, lifecycleStatus, limit, marketSegment.@referredType, marketSegment.name, name, offeringGroup.id, offset, parentBundledProductOffering.id, place.@referredType, place.address, place.name, place.role, prodSpecCharValueUse.maxCardinality, prodSpecCharValueUse.minCardinality, prodSpecCharValueUse.name, prodSpecCharValueUse.valueType, productOfferingPrice.@baseType, productOfferingPrice.@schemaLocation, productOfferingPrice.@type, productOfferingPrice.isBundle, productOfferingPrice.name, productOfferingPrice.place.id, productOfferingPrice.priceType, productOfferingPrice.recurringChargePeriod, productOfferingPrice.relatedParty.id, productOfferingPrice.unitOfMeasure, productOfferingPrice.version, productOfferingTerm.@schemaLocation, productOfferingTerm.@type, productOfferingTerm.name, productSpecification.@referredType, productSpecification.name, productSpecification.version, resourceCandidate.@referredType, resourceCandidate.name, resourceCandidate.version, serviceCandidate.@referredType, serviceCandidate.name, serviceCandidate.version, serviceLevelAgreement.@referredType, serviceLevelAgreement.name, sort, validFor.endDateTime, validFor.startDateTime, version);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductCatalogManagementApi#listProductOffering");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *@baseType = @baseType_example; // For filtering: Immediate base (class) type of the product offering (optional)
String *@schemaLocation = @schemaLocation_example; // For filtering: A link to the schema describing this product offering (optional)
String *@type = @type_example; // For filtering: Class type of the product offering (optional)
String *agreement.@referredType = agreement.@referredType_example; // For filtering: class type of the referred Agreement (optional)
String *agreement.name = agreement.name_example; // For filtering: Name of the agreement (optional)
String *attachment.@baseType = attachment.@baseType_example; // For filtering: The immediate base class type of the attachment (optional)
String *attachment.@schemaLocation = attachment.@schemaLocation_example; // For filtering: A link to the schema describing this attachment entity (optional)
String *attachment.@type = attachment.@type_example; // For filtering: the class type of the Attachment (optional)
String *attachment.mimeType = attachment.mimeType_example; // For filtering: Attachment mime type such as extension file for video, picture and document (optional)
String *attachment.type = attachment.type_example; // For filtering: Attachment type such as video, picture (optional)
String *attachment.url = attachment.url_example; // For filtering: Uniform Resource Locator, is a web page address (a subset of URI) (optional)
String *baseSiteId = baseSiteId_example; // Identifier of the BaseSite (optional)
String *bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; // For filtering: Used to indicate the current lifecycle status (optional)
String *bundledProductOffering.name = bundledProductOffering.name_example; // For filtering: Name of the BundledProductOffering (optional)
String *category.@referredType = category.@referredType_example; // For filtering: the class type of the referred Category (optional)
String *category.name = category.name_example; // For filtering: Name of the category (optional)
String *category.version = category.version_example; // For filtering: Category version (optional)
String *channel.@referredType = channel.@referredType_example; // For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on (optional)
String *channel.name = channel.name_example; // For filtering: Name of the channel (optional)
array[String] *facetSearchOption.id = ; // For filtering by facet options. The identifier of the facet search option. (optional)
String *fields = fields_example; // Comma separated properties to display in response (optional)
Boolean *isBundle = true; // For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true). (optional)
Date *lastUpdate = 2013-10-20T19:20:30+01:00; // For filtering: Date and time of the last update (optional)
String *lifecycleStatus = lifecycleStatus_example; // For filtering: Used to indicate the current lifecycle status (optional)
Integer *limit = 56; // Requested number of resources to be provided in response requested by client. (optional)
String *marketSegment.@referredType = marketSegment.@referredType_example; // For filtering: (Class) type of the referred market segment (optional)
String *marketSegment.name = marketSegment.name_example; // For filtering: Name of the market segment (optional)
String *name = name_example; // For filtering: Name of the productOffering (optional)
String *offeringGroup.id = offeringGroup.id_example; // For filtering: Id of the productOfferingGroup (optional)
Integer *offset = 56; // Requested index for start of resources to be provided in response requested by client. (optional)
String *parentBundledProductOffering.id = parentBundledProductOffering.id_example; // For filtering: Id of the parentBundledProductOffering (optional)
String *place.@referredType = place.@referredType_example; // For filtering: class type of the referred Place object (optional)
String *place.address = place.address_example; // For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API). (optional)
String *place.name = place.name_example; // For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home" (optional)
String *place.role = place.role_example; // For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval') (optional)
Integer *prodSpecCharValueUse.maxCardinality = 56; // For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality. (optional)
Integer *prodSpecCharValueUse.minCardinality = 56; // For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality. (optional)
String *prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; // For filtering: Name of the associated productSpecCharacteristic (optional)
String *prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; // For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth (optional)
String *productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; // For filtering: the immediate base class of product offering price (optional)
String *productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; // For filtering: hyperlink reference to the product offering price schema (optional)
String *productOfferingPrice.@type = productOfferingPrice.@type_example; // For filtering: The class type of the product offering price (optional)
Boolean *productOfferingPrice.isBundle = true; // For filtering: a flag indicating if this product offering price is bundle (composite) or not (optional)
String *productOfferingPrice.name = productOfferingPrice.name_example; // For filtering: Name of the productOfferingPrice (optional)
String *productOfferingPrice.place.id = productOfferingPrice.place.id_example; // For filtering: Identifier of the place for which product offering has prices available (optional)
String *productOfferingPrice.priceType = productOfferingPrice.priceType_example; // For filtering: Indicates the price type: recurring, one time, usage (optional)
String *productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; // For filtering: Could be month, week... (optional)
String *productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; // For filtering: Identifier of the related party for which the price applies. (optional)
String *productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; // For filtering: Could be minutes, GB... (optional)
String *productOfferingPrice.version = productOfferingPrice.version_example; // For filtering: ProductOffering version (optional)
String *productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; // For filtering: A link to the schema describing this product offering term (optional)
String *productOfferingTerm.@type = productOfferingTerm.@type_example; // For filtering: The class type of ProductOfferingTerm (optional)
String *productOfferingTerm.name = productOfferingTerm.name_example; // For filtering: Name of the productOfferingTerm (optional)
String *productSpecification.@referredType = productSpecification.@referredType_example; // For filtering: class type of referred Product Specification (optional)
String *productSpecification.name = productSpecification.name_example; // For filtering: Name of the product specification (optional)
String *productSpecification.version = productSpecification.version_example; // For filtering: Version of the product specification (optional)
String *resourceCandidate.@referredType = resourceCandidate.@referredType_example; // For filtering: The Class type of referred Resource Candidate (optional)
String *resourceCandidate.name = resourceCandidate.name_example; // For filtering: Name of the resource candidate (optional)
String *resourceCandidate.version = resourceCandidate.version_example; // For filtering: Version of the resource candidate (optional)
String *serviceCandidate.@referredType = serviceCandidate.@referredType_example; // For filtering: The Class type of referred Service Candidate (optional)
String *serviceCandidate.name = serviceCandidate.name_example; // For filtering: Name of the service candidate (optional)
String *serviceCandidate.version = serviceCandidate.version_example; // For filtering: Version of the service candidate (optional)
String *serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; // For filtering: class type of referred Service Level Agreement (optional)
String *serviceLevelAgreement.name = serviceLevelAgreement.name_example; // For filtering: Name of the service level agreement (optional)
array[String] *sort = ; // For sorting: The options the product offerings can be sorted by. (optional)
Date *validFor.endDateTime = 2013-10-20T19:20:30+01:00; // For filtering: An instant of time, ending at the TimePeriod. (optional)
Date *validFor.startDateTime = 2013-10-20T19:20:30+01:00; // For filtering: An instant of time, starting at the TimePeriod (optional)
String *version = version_example; // For filtering: ProductOffering version (optional)
ProductCatalogManagementApi *apiInstance = [[ProductCatalogManagementApi alloc] init];
// Retrieves a list of 'ProductOffering'
[apiInstance listProductOfferingWith:@baseType
@schemaLocation:@schemaLocation
@type:@type
agreement.@referredType:agreement.@referredType
agreement.name:agreement.name
attachment.@baseType:attachment.@baseType
attachment.@schemaLocation:attachment.@schemaLocation
attachment.@type:attachment.@type
attachment.mimeType:attachment.mimeType
attachment.type:attachment.type
attachment.url:attachment.url
baseSiteId:baseSiteId
bundledProductOffering.lifecycleStatus:bundledProductOffering.lifecycleStatus
bundledProductOffering.name:bundledProductOffering.name
category.@referredType:category.@referredType
category.name:category.name
category.version:category.version
channel.@referredType:channel.@referredType
channel.name:channel.name
facetSearchOption.id:facetSearchOption.id
fields:fields
isBundle:isBundle
lastUpdate:lastUpdate
lifecycleStatus:lifecycleStatus
limit:limit
marketSegment.@referredType:marketSegment.@referredType
marketSegment.name:marketSegment.name
name:name
offeringGroup.id:offeringGroup.id
offset:offset
parentBundledProductOffering.id:parentBundledProductOffering.id
place.@referredType:place.@referredType
place.address:place.address
place.name:place.name
place.role:place.role
prodSpecCharValueUse.maxCardinality:prodSpecCharValueUse.maxCardinality
prodSpecCharValueUse.minCardinality:prodSpecCharValueUse.minCardinality
prodSpecCharValueUse.name:prodSpecCharValueUse.name
prodSpecCharValueUse.valueType:prodSpecCharValueUse.valueType
productOfferingPrice.@baseType:productOfferingPrice.@baseType
productOfferingPrice.@schemaLocation:productOfferingPrice.@schemaLocation
productOfferingPrice.@type:productOfferingPrice.@type
productOfferingPrice.isBundle:productOfferingPrice.isBundle
productOfferingPrice.name:productOfferingPrice.name
productOfferingPrice.place.id:productOfferingPrice.place.id
productOfferingPrice.priceType:productOfferingPrice.priceType
productOfferingPrice.recurringChargePeriod:productOfferingPrice.recurringChargePeriod
productOfferingPrice.relatedParty.id:productOfferingPrice.relatedParty.id
productOfferingPrice.unitOfMeasure:productOfferingPrice.unitOfMeasure
productOfferingPrice.version:productOfferingPrice.version
productOfferingTerm.@schemaLocation:productOfferingTerm.@schemaLocation
productOfferingTerm.@type:productOfferingTerm.@type
productOfferingTerm.name:productOfferingTerm.name
productSpecification.@referredType:productSpecification.@referredType
productSpecification.name:productSpecification.name
productSpecification.version:productSpecification.version
resourceCandidate.@referredType:resourceCandidate.@referredType
resourceCandidate.name:resourceCandidate.name
resourceCandidate.version:resourceCandidate.version
serviceCandidate.@referredType:serviceCandidate.@referredType
serviceCandidate.name:serviceCandidate.name
serviceCandidate.version:serviceCandidate.version
serviceLevelAgreement.@referredType:serviceLevelAgreement.@referredType
serviceLevelAgreement.name:serviceLevelAgreement.name
sort:sort
validFor.endDateTime:validFor.endDateTime
validFor.startDateTime:validFor.startDateTime
version:version
completionHandler: ^(array[ProductOffering] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var B2ctelcoTmfWebservices = require('b2ctelco_tmf_webservices');
var defaultClient = B2ctelcoTmfWebservices.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"
// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"
var api = new B2ctelcoTmfWebservices.ProductCatalogManagementApi()
var opts = {
'@baseType': @baseType_example, // {{String}} For filtering: Immediate base (class) type of the product offering
'@schemaLocation': @schemaLocation_example, // {{String}} For filtering: A link to the schema describing this product offering
'@type': @type_example, // {{String}} For filtering: Class type of the product offering
'agreement.@referredType': agreement.@referredType_example, // {{String}} For filtering: class type of the referred Agreement
'agreement.name': agreement.name_example, // {{String}} For filtering: Name of the agreement
'attachment.@baseType': attachment.@baseType_example, // {{String}} For filtering: The immediate base class type of the attachment
'attachment.@schemaLocation': attachment.@schemaLocation_example, // {{String}} For filtering: A link to the schema describing this attachment entity
'attachment.@type': attachment.@type_example, // {{String}} For filtering: the class type of the Attachment
'attachment.mimeType': attachment.mimeType_example, // {{String}} For filtering: Attachment mime type such as extension file for video, picture and document
'attachment.type': attachment.type_example, // {{String}} For filtering: Attachment type such as video, picture
'attachment.url': attachment.url_example, // {{String}} For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
'baseSiteId': baseSiteId_example, // {{String}} Identifier of the BaseSite
'bundledProductOffering.lifecycleStatus': bundledProductOffering.lifecycleStatus_example, // {{String}} For filtering: Used to indicate the current lifecycle status
'bundledProductOffering.name': bundledProductOffering.name_example, // {{String}} For filtering: Name of the BundledProductOffering
'category.@referredType': category.@referredType_example, // {{String}} For filtering: the class type of the referred Category
'category.name': category.name_example, // {{String}} For filtering: Name of the category
'category.version': category.version_example, // {{String}} For filtering: Category version
'channel.@referredType': channel.@referredType_example, // {{String}} For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
'channel.name': channel.name_example, // {{String}} For filtering: Name of the channel
'facetSearchOption.id': , // {{array[String]}} For filtering by facet options. The identifier of the facet search option.
'fields': fields_example, // {{String}} Comma separated properties to display in response
'isBundle': true, // {{Boolean}} For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
'lastUpdate': 2013-10-20T19:20:30+01:00, // {{Date}} For filtering: Date and time of the last update
'lifecycleStatus': lifecycleStatus_example, // {{String}} For filtering: Used to indicate the current lifecycle status
'limit': 56, // {{Integer}} Requested number of resources to be provided in response requested by client.
'marketSegment.@referredType': marketSegment.@referredType_example, // {{String}} For filtering: (Class) type of the referred market segment
'marketSegment.name': marketSegment.name_example, // {{String}} For filtering: Name of the market segment
'name': name_example, // {{String}} For filtering: Name of the productOffering
'offeringGroup.id': offeringGroup.id_example, // {{String}} For filtering: Id of the productOfferingGroup
'offset': 56, // {{Integer}} Requested index for start of resources to be provided in response requested by client.
'parentBundledProductOffering.id': parentBundledProductOffering.id_example, // {{String}} For filtering: Id of the parentBundledProductOffering
'place.@referredType': place.@referredType_example, // {{String}} For filtering: class type of the referred Place object
'place.address': place.address_example, // {{String}} For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
'place.name': place.name_example, // {{String}} For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
'place.role': place.role_example, // {{String}} For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
'prodSpecCharValueUse.maxCardinality': 56, // {{Integer}} For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
'prodSpecCharValueUse.minCardinality': 56, // {{Integer}} For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
'prodSpecCharValueUse.name': prodSpecCharValueUse.name_example, // {{String}} For filtering: Name of the associated productSpecCharacteristic
'prodSpecCharValueUse.valueType': prodSpecCharValueUse.valueType_example, // {{String}} For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
'productOfferingPrice.@baseType': productOfferingPrice.@baseType_example, // {{String}} For filtering: the immediate base class of product offering price
'productOfferingPrice.@schemaLocation': productOfferingPrice.@schemaLocation_example, // {{String}} For filtering: hyperlink reference to the product offering price schema
'productOfferingPrice.@type': productOfferingPrice.@type_example, // {{String}} For filtering: The class type of the product offering price
'productOfferingPrice.isBundle': true, // {{Boolean}} For filtering: a flag indicating if this product offering price is bundle (composite) or not
'productOfferingPrice.name': productOfferingPrice.name_example, // {{String}} For filtering: Name of the productOfferingPrice
'productOfferingPrice.place.id': productOfferingPrice.place.id_example, // {{String}} For filtering: Identifier of the place for which product offering has prices available
'productOfferingPrice.priceType': productOfferingPrice.priceType_example, // {{String}} For filtering: Indicates the price type: recurring, one time, usage
'productOfferingPrice.recurringChargePeriod': productOfferingPrice.recurringChargePeriod_example, // {{String}} For filtering: Could be month, week...
'productOfferingPrice.relatedParty.id': productOfferingPrice.relatedParty.id_example, // {{String}} For filtering: Identifier of the related party for which the price applies.
'productOfferingPrice.unitOfMeasure': productOfferingPrice.unitOfMeasure_example, // {{String}} For filtering: Could be minutes, GB...
'productOfferingPrice.version': productOfferingPrice.version_example, // {{String}} For filtering: ProductOffering version
'productOfferingTerm.@schemaLocation': productOfferingTerm.@schemaLocation_example, // {{String}} For filtering: A link to the schema describing this product offering term
'productOfferingTerm.@type': productOfferingTerm.@type_example, // {{String}} For filtering: The class type of ProductOfferingTerm
'productOfferingTerm.name': productOfferingTerm.name_example, // {{String}} For filtering: Name of the productOfferingTerm
'productSpecification.@referredType': productSpecification.@referredType_example, // {{String}} For filtering: class type of referred Product Specification
'productSpecification.name': productSpecification.name_example, // {{String}} For filtering: Name of the product specification
'productSpecification.version': productSpecification.version_example, // {{String}} For filtering: Version of the product specification
'resourceCandidate.@referredType': resourceCandidate.@referredType_example, // {{String}} For filtering: The Class type of referred Resource Candidate
'resourceCandidate.name': resourceCandidate.name_example, // {{String}} For filtering: Name of the resource candidate
'resourceCandidate.version': resourceCandidate.version_example, // {{String}} For filtering: Version of the resource candidate
'serviceCandidate.@referredType': serviceCandidate.@referredType_example, // {{String}} For filtering: The Class type of referred Service Candidate
'serviceCandidate.name': serviceCandidate.name_example, // {{String}} For filtering: Name of the service candidate
'serviceCandidate.version': serviceCandidate.version_example, // {{String}} For filtering: Version of the service candidate
'serviceLevelAgreement.@referredType': serviceLevelAgreement.@referredType_example, // {{String}} For filtering: class type of referred Service Level Agreement
'serviceLevelAgreement.name': serviceLevelAgreement.name_example, // {{String}} For filtering: Name of the service level agreement
'sort': , // {{array[String]}} For sorting: The options the product offerings can be sorted by.
'validFor.endDateTime': 2013-10-20T19:20:30+01:00, // {{Date}} For filtering: An instant of time, ending at the TimePeriod.
'validFor.startDateTime': 2013-10-20T19:20:30+01:00, // {{Date}} For filtering: An instant of time, starting at the TimePeriod
'version': version_example // {{String}} For filtering: ProductOffering version
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.listProductOffering(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class listProductOfferingExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2_Password
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ProductCatalogManagementApi();
var @baseType = @baseType_example; // String | For filtering: Immediate base (class) type of the product offering (optional)
var @schemaLocation = @schemaLocation_example; // String | For filtering: A link to the schema describing this product offering (optional)
var @type = @type_example; // String | For filtering: Class type of the product offering (optional)
var agreement.@referredType = agreement.@referredType_example; // String | For filtering: class type of the referred Agreement (optional)
var agreement.name = agreement.name_example; // String | For filtering: Name of the agreement (optional)
var attachment.@baseType = attachment.@baseType_example; // String | For filtering: The immediate base class type of the attachment (optional)
var attachment.@schemaLocation = attachment.@schemaLocation_example; // String | For filtering: A link to the schema describing this attachment entity (optional)
var attachment.@type = attachment.@type_example; // String | For filtering: the class type of the Attachment (optional)
var attachment.mimeType = attachment.mimeType_example; // String | For filtering: Attachment mime type such as extension file for video, picture and document (optional)
var attachment.type = attachment.type_example; // String | For filtering: Attachment type such as video, picture (optional)
var attachment.url = attachment.url_example; // String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI) (optional)
var baseSiteId = baseSiteId_example; // String | Identifier of the BaseSite (optional)
var bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status (optional)
var bundledProductOffering.name = bundledProductOffering.name_example; // String | For filtering: Name of the BundledProductOffering (optional)
var category.@referredType = category.@referredType_example; // String | For filtering: the class type of the referred Category (optional)
var category.name = category.name_example; // String | For filtering: Name of the category (optional)
var category.version = category.version_example; // String | For filtering: Category version (optional)
var channel.@referredType = channel.@referredType_example; // String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on (optional)
var channel.name = channel.name_example; // String | For filtering: Name of the channel (optional)
var facetSearchOption.id = new array[String](); // array[String] | For filtering by facet options. The identifier of the facet search option. (optional)
var fields = fields_example; // String | Comma separated properties to display in response (optional)
var isBundle = true; // Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true). (optional)
var lastUpdate = 2013-10-20T19:20:30+01:00; // Date | For filtering: Date and time of the last update (optional)
var lifecycleStatus = lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status (optional)
var limit = 56; // Integer | Requested number of resources to be provided in response requested by client. (optional)
var marketSegment.@referredType = marketSegment.@referredType_example; // String | For filtering: (Class) type of the referred market segment (optional)
var marketSegment.name = marketSegment.name_example; // String | For filtering: Name of the market segment (optional)
var name = name_example; // String | For filtering: Name of the productOffering (optional)
var offeringGroup.id = offeringGroup.id_example; // String | For filtering: Id of the productOfferingGroup (optional)
var offset = 56; // Integer | Requested index for start of resources to be provided in response requested by client. (optional)
var parentBundledProductOffering.id = parentBundledProductOffering.id_example; // String | For filtering: Id of the parentBundledProductOffering (optional)
var place.@referredType = place.@referredType_example; // String | For filtering: class type of the referred Place object (optional)
var place.address = place.address_example; // String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API). (optional)
var place.name = place.name_example; // String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home" (optional)
var place.role = place.role_example; // String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval') (optional)
var prodSpecCharValueUse.maxCardinality = 56; // Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality. (optional)
var prodSpecCharValueUse.minCardinality = 56; // Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality. (optional)
var prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; // String | For filtering: Name of the associated productSpecCharacteristic (optional)
var prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; // String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth (optional)
var productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; // String | For filtering: the immediate base class of product offering price (optional)
var productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; // String | For filtering: hyperlink reference to the product offering price schema (optional)
var productOfferingPrice.@type = productOfferingPrice.@type_example; // String | For filtering: The class type of the product offering price (optional)
var productOfferingPrice.isBundle = true; // Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not (optional)
var productOfferingPrice.name = productOfferingPrice.name_example; // String | For filtering: Name of the productOfferingPrice (optional)
var productOfferingPrice.place.id = productOfferingPrice.place.id_example; // String | For filtering: Identifier of the place for which product offering has prices available (optional)
var productOfferingPrice.priceType = productOfferingPrice.priceType_example; // String | For filtering: Indicates the price type: recurring, one time, usage (optional)
var productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; // String | For filtering: Could be month, week... (optional)
var productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; // String | For filtering: Identifier of the related party for which the price applies. (optional)
var productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; // String | For filtering: Could be minutes, GB... (optional)
var productOfferingPrice.version = productOfferingPrice.version_example; // String | For filtering: ProductOffering version (optional)
var productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; // String | For filtering: A link to the schema describing this product offering term (optional)
var productOfferingTerm.@type = productOfferingTerm.@type_example; // String | For filtering: The class type of ProductOfferingTerm (optional)
var productOfferingTerm.name = productOfferingTerm.name_example; // String | For filtering: Name of the productOfferingTerm (optional)
var productSpecification.@referredType = productSpecification.@referredType_example; // String | For filtering: class type of referred Product Specification (optional)
var productSpecification.name = productSpecification.name_example; // String | For filtering: Name of the product specification (optional)
var productSpecification.version = productSpecification.version_example; // String | For filtering: Version of the product specification (optional)
var resourceCandidate.@referredType = resourceCandidate.@referredType_example; // String | For filtering: The Class type of referred Resource Candidate (optional)
var resourceCandidate.name = resourceCandidate.name_example; // String | For filtering: Name of the resource candidate (optional)
var resourceCandidate.version = resourceCandidate.version_example; // String | For filtering: Version of the resource candidate (optional)
var serviceCandidate.@referredType = serviceCandidate.@referredType_example; // String | For filtering: The Class type of referred Service Candidate (optional)
var serviceCandidate.name = serviceCandidate.name_example; // String | For filtering: Name of the service candidate (optional)
var serviceCandidate.version = serviceCandidate.version_example; // String | For filtering: Version of the service candidate (optional)
var serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; // String | For filtering: class type of referred Service Level Agreement (optional)
var serviceLevelAgreement.name = serviceLevelAgreement.name_example; // String | For filtering: Name of the service level agreement (optional)
var sort = new array[String](); // array[String] | For sorting: The options the product offerings can be sorted by. (optional)
var validFor.endDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, ending at the TimePeriod. (optional)
var validFor.startDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, starting at the TimePeriod (optional)
var version = version_example; // String | For filtering: ProductOffering version (optional)
try
{
// Retrieves a list of 'ProductOffering'
array[ProductOffering] result = apiInstance.listProductOffering(@baseType, @schemaLocation, @type, agreement.@referredType, agreement.name, attachment.@baseType, attachment.@schemaLocation, attachment.@type, attachment.mimeType, attachment.type, attachment.url, baseSiteId, bundledProductOffering.lifecycleStatus, bundledProductOffering.name, category.@referredType, category.name, category.version, channel.@referredType, channel.name, facetSearchOption.id, fields, isBundle, lastUpdate, lifecycleStatus, limit, marketSegment.@referredType, marketSegment.name, name, offeringGroup.id, offset, parentBundledProductOffering.id, place.@referredType, place.address, place.name, place.role, prodSpecCharValueUse.maxCardinality, prodSpecCharValueUse.minCardinality, prodSpecCharValueUse.name, prodSpecCharValueUse.valueType, productOfferingPrice.@baseType, productOfferingPrice.@schemaLocation, productOfferingPrice.@type, productOfferingPrice.isBundle, productOfferingPrice.name, productOfferingPrice.place.id, productOfferingPrice.priceType, productOfferingPrice.recurringChargePeriod, productOfferingPrice.relatedParty.id, productOfferingPrice.unitOfMeasure, productOfferingPrice.version, productOfferingTerm.@schemaLocation, productOfferingTerm.@type, productOfferingTerm.name, productSpecification.@referredType, productSpecification.name, productSpecification.version, resourceCandidate.@referredType, resourceCandidate.name, resourceCandidate.version, serviceCandidate.@referredType, serviceCandidate.name, serviceCandidate.version, serviceLevelAgreement.@referredType, serviceLevelAgreement.name, sort, validFor.endDateTime, validFor.startDateTime, version);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProductCatalogManagementApi.listProductOffering: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\ApiProductCatalogManagementApi();
$@baseType = @baseType_example; // String | For filtering: Immediate base (class) type of the product offering
$@schemaLocation = @schemaLocation_example; // String | For filtering: A link to the schema describing this product offering
$@type = @type_example; // String | For filtering: Class type of the product offering
$agreement.@referredType = agreement.@referredType_example; // String | For filtering: class type of the referred Agreement
$agreement.name = agreement.name_example; // String | For filtering: Name of the agreement
$attachment.@baseType = attachment.@baseType_example; // String | For filtering: The immediate base class type of the attachment
$attachment.@schemaLocation = attachment.@schemaLocation_example; // String | For filtering: A link to the schema describing this attachment entity
$attachment.@type = attachment.@type_example; // String | For filtering: the class type of the Attachment
$attachment.mimeType = attachment.mimeType_example; // String | For filtering: Attachment mime type such as extension file for video, picture and document
$attachment.type = attachment.type_example; // String | For filtering: Attachment type such as video, picture
$attachment.url = attachment.url_example; // String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
$baseSiteId = baseSiteId_example; // String | Identifier of the BaseSite
$bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
$bundledProductOffering.name = bundledProductOffering.name_example; // String | For filtering: Name of the BundledProductOffering
$category.@referredType = category.@referredType_example; // String | For filtering: the class type of the referred Category
$category.name = category.name_example; // String | For filtering: Name of the category
$category.version = category.version_example; // String | For filtering: Category version
$channel.@referredType = channel.@referredType_example; // String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
$channel.name = channel.name_example; // String | For filtering: Name of the channel
$facetSearchOption.id = ; // array[String] | For filtering by facet options. The identifier of the facet search option.
$fields = fields_example; // String | Comma separated properties to display in response
$isBundle = true; // Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
$lastUpdate = 2013-10-20T19:20:30+01:00; // Date | For filtering: Date and time of the last update
$lifecycleStatus = lifecycleStatus_example; // String | For filtering: Used to indicate the current lifecycle status
$limit = 56; // Integer | Requested number of resources to be provided in response requested by client.
$marketSegment.@referredType = marketSegment.@referredType_example; // String | For filtering: (Class) type of the referred market segment
$marketSegment.name = marketSegment.name_example; // String | For filtering: Name of the market segment
$name = name_example; // String | For filtering: Name of the productOffering
$offeringGroup.id = offeringGroup.id_example; // String | For filtering: Id of the productOfferingGroup
$offset = 56; // Integer | Requested index for start of resources to be provided in response requested by client.
$parentBundledProductOffering.id = parentBundledProductOffering.id_example; // String | For filtering: Id of the parentBundledProductOffering
$place.@referredType = place.@referredType_example; // String | For filtering: class type of the referred Place object
$place.address = place.address_example; // String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
$place.name = place.name_example; // String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
$place.role = place.role_example; // String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
$prodSpecCharValueUse.maxCardinality = 56; // Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
$prodSpecCharValueUse.minCardinality = 56; // Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
$prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; // String | For filtering: Name of the associated productSpecCharacteristic
$prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; // String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
$productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; // String | For filtering: the immediate base class of product offering price
$productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; // String | For filtering: hyperlink reference to the product offering price schema
$productOfferingPrice.@type = productOfferingPrice.@type_example; // String | For filtering: The class type of the product offering price
$productOfferingPrice.isBundle = true; // Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not
$productOfferingPrice.name = productOfferingPrice.name_example; // String | For filtering: Name of the productOfferingPrice
$productOfferingPrice.place.id = productOfferingPrice.place.id_example; // String | For filtering: Identifier of the place for which product offering has prices available
$productOfferingPrice.priceType = productOfferingPrice.priceType_example; // String | For filtering: Indicates the price type: recurring, one time, usage
$productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; // String | For filtering: Could be month, week...
$productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; // String | For filtering: Identifier of the related party for which the price applies.
$productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; // String | For filtering: Could be minutes, GB...
$productOfferingPrice.version = productOfferingPrice.version_example; // String | For filtering: ProductOffering version
$productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; // String | For filtering: A link to the schema describing this product offering term
$productOfferingTerm.@type = productOfferingTerm.@type_example; // String | For filtering: The class type of ProductOfferingTerm
$productOfferingTerm.name = productOfferingTerm.name_example; // String | For filtering: Name of the productOfferingTerm
$productSpecification.@referredType = productSpecification.@referredType_example; // String | For filtering: class type of referred Product Specification
$productSpecification.name = productSpecification.name_example; // String | For filtering: Name of the product specification
$productSpecification.version = productSpecification.version_example; // String | For filtering: Version of the product specification
$resourceCandidate.@referredType = resourceCandidate.@referredType_example; // String | For filtering: The Class type of referred Resource Candidate
$resourceCandidate.name = resourceCandidate.name_example; // String | For filtering: Name of the resource candidate
$resourceCandidate.version = resourceCandidate.version_example; // String | For filtering: Version of the resource candidate
$serviceCandidate.@referredType = serviceCandidate.@referredType_example; // String | For filtering: The Class type of referred Service Candidate
$serviceCandidate.name = serviceCandidate.name_example; // String | For filtering: Name of the service candidate
$serviceCandidate.version = serviceCandidate.version_example; // String | For filtering: Version of the service candidate
$serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; // String | For filtering: class type of referred Service Level Agreement
$serviceLevelAgreement.name = serviceLevelAgreement.name_example; // String | For filtering: Name of the service level agreement
$sort = ; // array[String] | For sorting: The options the product offerings can be sorted by.
$validFor.endDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, ending at the TimePeriod.
$validFor.startDateTime = 2013-10-20T19:20:30+01:00; // Date | For filtering: An instant of time, starting at the TimePeriod
$version = version_example; // String | For filtering: ProductOffering version
try {
$result = $api_instance->listProductOffering($@baseType, $@schemaLocation, $@type, $agreement.@referredType, $agreement.name, $attachment.@baseType, $attachment.@schemaLocation, $attachment.@type, $attachment.mimeType, $attachment.type, $attachment.url, $baseSiteId, $bundledProductOffering.lifecycleStatus, $bundledProductOffering.name, $category.@referredType, $category.name, $category.version, $channel.@referredType, $channel.name, $facetSearchOption.id, $fields, $isBundle, $lastUpdate, $lifecycleStatus, $limit, $marketSegment.@referredType, $marketSegment.name, $name, $offeringGroup.id, $offset, $parentBundledProductOffering.id, $place.@referredType, $place.address, $place.name, $place.role, $prodSpecCharValueUse.maxCardinality, $prodSpecCharValueUse.minCardinality, $prodSpecCharValueUse.name, $prodSpecCharValueUse.valueType, $productOfferingPrice.@baseType, $productOfferingPrice.@schemaLocation, $productOfferingPrice.@type, $productOfferingPrice.isBundle, $productOfferingPrice.name, $productOfferingPrice.place.id, $productOfferingPrice.priceType, $productOfferingPrice.recurringChargePeriod, $productOfferingPrice.relatedParty.id, $productOfferingPrice.unitOfMeasure, $productOfferingPrice.version, $productOfferingTerm.@schemaLocation, $productOfferingTerm.@type, $productOfferingTerm.name, $productSpecification.@referredType, $productSpecification.name, $productSpecification.version, $resourceCandidate.@referredType, $resourceCandidate.name, $resourceCandidate.version, $serviceCandidate.@referredType, $serviceCandidate.name, $serviceCandidate.version, $serviceLevelAgreement.@referredType, $serviceLevelAgreement.name, $sort, $validFor.endDateTime, $validFor.startDateTime, $version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductCatalogManagementApi->listProductOffering: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductCatalogManagementApi;
# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
my $api_instance = WWW::SwaggerClient::ProductCatalogManagementApi->new();
my $@baseType = @baseType_example; # String | For filtering: Immediate base (class) type of the product offering
my $@schemaLocation = @schemaLocation_example; # String | For filtering: A link to the schema describing this product offering
my $@type = @type_example; # String | For filtering: Class type of the product offering
my $agreement.@referredType = agreement.@referredType_example; # String | For filtering: class type of the referred Agreement
my $agreement.name = agreement.name_example; # String | For filtering: Name of the agreement
my $attachment.@baseType = attachment.@baseType_example; # String | For filtering: The immediate base class type of the attachment
my $attachment.@schemaLocation = attachment.@schemaLocation_example; # String | For filtering: A link to the schema describing this attachment entity
my $attachment.@type = attachment.@type_example; # String | For filtering: the class type of the Attachment
my $attachment.mimeType = attachment.mimeType_example; # String | For filtering: Attachment mime type such as extension file for video, picture and document
my $attachment.type = attachment.type_example; # String | For filtering: Attachment type such as video, picture
my $attachment.url = attachment.url_example; # String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
my $baseSiteId = baseSiteId_example; # String | Identifier of the BaseSite
my $bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example; # String | For filtering: Used to indicate the current lifecycle status
my $bundledProductOffering.name = bundledProductOffering.name_example; # String | For filtering: Name of the BundledProductOffering
my $category.@referredType = category.@referredType_example; # String | For filtering: the class type of the referred Category
my $category.name = category.name_example; # String | For filtering: Name of the category
my $category.version = category.version_example; # String | For filtering: Category version
my $channel.@referredType = channel.@referredType_example; # String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
my $channel.name = channel.name_example; # String | For filtering: Name of the channel
my $facetSearchOption.id = []; # array[String] | For filtering by facet options. The identifier of the facet search option.
my $fields = fields_example; # String | Comma separated properties to display in response
my $isBundle = true; # Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
my $lastUpdate = 2013-10-20T19:20:30+01:00; # Date | For filtering: Date and time of the last update
my $lifecycleStatus = lifecycleStatus_example; # String | For filtering: Used to indicate the current lifecycle status
my $limit = 56; # Integer | Requested number of resources to be provided in response requested by client.
my $marketSegment.@referredType = marketSegment.@referredType_example; # String | For filtering: (Class) type of the referred market segment
my $marketSegment.name = marketSegment.name_example; # String | For filtering: Name of the market segment
my $name = name_example; # String | For filtering: Name of the productOffering
my $offeringGroup.id = offeringGroup.id_example; # String | For filtering: Id of the productOfferingGroup
my $offset = 56; # Integer | Requested index for start of resources to be provided in response requested by client.
my $parentBundledProductOffering.id = parentBundledProductOffering.id_example; # String | For filtering: Id of the parentBundledProductOffering
my $place.@referredType = place.@referredType_example; # String | For filtering: class type of the referred Place object
my $place.address = place.address_example; # String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
my $place.name = place.name_example; # String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
my $place.role = place.role_example; # String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
my $prodSpecCharValueUse.maxCardinality = 56; # Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
my $prodSpecCharValueUse.minCardinality = 56; # Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
my $prodSpecCharValueUse.name = prodSpecCharValueUse.name_example; # String | For filtering: Name of the associated productSpecCharacteristic
my $prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example; # String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
my $productOfferingPrice.@baseType = productOfferingPrice.@baseType_example; # String | For filtering: the immediate base class of product offering price
my $productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example; # String | For filtering: hyperlink reference to the product offering price schema
my $productOfferingPrice.@type = productOfferingPrice.@type_example; # String | For filtering: The class type of the product offering price
my $productOfferingPrice.isBundle = true; # Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not
my $productOfferingPrice.name = productOfferingPrice.name_example; # String | For filtering: Name of the productOfferingPrice
my $productOfferingPrice.place.id = productOfferingPrice.place.id_example; # String | For filtering: Identifier of the place for which product offering has prices available
my $productOfferingPrice.priceType = productOfferingPrice.priceType_example; # String | For filtering: Indicates the price type: recurring, one time, usage
my $productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example; # String | For filtering: Could be month, week...
my $productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example; # String | For filtering: Identifier of the related party for which the price applies.
my $productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example; # String | For filtering: Could be minutes, GB...
my $productOfferingPrice.version = productOfferingPrice.version_example; # String | For filtering: ProductOffering version
my $productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example; # String | For filtering: A link to the schema describing this product offering term
my $productOfferingTerm.@type = productOfferingTerm.@type_example; # String | For filtering: The class type of ProductOfferingTerm
my $productOfferingTerm.name = productOfferingTerm.name_example; # String | For filtering: Name of the productOfferingTerm
my $productSpecification.@referredType = productSpecification.@referredType_example; # String | For filtering: class type of referred Product Specification
my $productSpecification.name = productSpecification.name_example; # String | For filtering: Name of the product specification
my $productSpecification.version = productSpecification.version_example; # String | For filtering: Version of the product specification
my $resourceCandidate.@referredType = resourceCandidate.@referredType_example; # String | For filtering: The Class type of referred Resource Candidate
my $resourceCandidate.name = resourceCandidate.name_example; # String | For filtering: Name of the resource candidate
my $resourceCandidate.version = resourceCandidate.version_example; # String | For filtering: Version of the resource candidate
my $serviceCandidate.@referredType = serviceCandidate.@referredType_example; # String | For filtering: The Class type of referred Service Candidate
my $serviceCandidate.name = serviceCandidate.name_example; # String | For filtering: Name of the service candidate
my $serviceCandidate.version = serviceCandidate.version_example; # String | For filtering: Version of the service candidate
my $serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example; # String | For filtering: class type of referred Service Level Agreement
my $serviceLevelAgreement.name = serviceLevelAgreement.name_example; # String | For filtering: Name of the service level agreement
my $sort = []; # array[String] | For sorting: The options the product offerings can be sorted by.
my $validFor.endDateTime = 2013-10-20T19:20:30+01:00; # Date | For filtering: An instant of time, ending at the TimePeriod.
my $validFor.startDateTime = 2013-10-20T19:20:30+01:00; # Date | For filtering: An instant of time, starting at the TimePeriod
my $version = version_example; # String | For filtering: ProductOffering version
eval {
my $result = $api_instance->listProductOffering(@baseType => $@baseType, @schemaLocation => $@schemaLocation, @type => $@type, agreement.@referredType => $agreement.@referredType, agreement.name => $agreement.name, attachment.@baseType => $attachment.@baseType, attachment.@schemaLocation => $attachment.@schemaLocation, attachment.@type => $attachment.@type, attachment.mimeType => $attachment.mimeType, attachment.type => $attachment.type, attachment.url => $attachment.url, baseSiteId => $baseSiteId, bundledProductOffering.lifecycleStatus => $bundledProductOffering.lifecycleStatus, bundledProductOffering.name => $bundledProductOffering.name, category.@referredType => $category.@referredType, category.name => $category.name, category.version => $category.version, channel.@referredType => $channel.@referredType, channel.name => $channel.name, facetSearchOption.id => $facetSearchOption.id, fields => $fields, isBundle => $isBundle, lastUpdate => $lastUpdate, lifecycleStatus => $lifecycleStatus, limit => $limit, marketSegment.@referredType => $marketSegment.@referredType, marketSegment.name => $marketSegment.name, name => $name, offeringGroup.id => $offeringGroup.id, offset => $offset, parentBundledProductOffering.id => $parentBundledProductOffering.id, place.@referredType => $place.@referredType, place.address => $place.address, place.name => $place.name, place.role => $place.role, prodSpecCharValueUse.maxCardinality => $prodSpecCharValueUse.maxCardinality, prodSpecCharValueUse.minCardinality => $prodSpecCharValueUse.minCardinality, prodSpecCharValueUse.name => $prodSpecCharValueUse.name, prodSpecCharValueUse.valueType => $prodSpecCharValueUse.valueType, productOfferingPrice.@baseType => $productOfferingPrice.@baseType, productOfferingPrice.@schemaLocation => $productOfferingPrice.@schemaLocation, productOfferingPrice.@type => $productOfferingPrice.@type, productOfferingPrice.isBundle => $productOfferingPrice.isBundle, productOfferingPrice.name => $productOfferingPrice.name, productOfferingPrice.place.id => $productOfferingPrice.place.id, productOfferingPrice.priceType => $productOfferingPrice.priceType, productOfferingPrice.recurringChargePeriod => $productOfferingPrice.recurringChargePeriod, productOfferingPrice.relatedParty.id => $productOfferingPrice.relatedParty.id, productOfferingPrice.unitOfMeasure => $productOfferingPrice.unitOfMeasure, productOfferingPrice.version => $productOfferingPrice.version, productOfferingTerm.@schemaLocation => $productOfferingTerm.@schemaLocation, productOfferingTerm.@type => $productOfferingTerm.@type, productOfferingTerm.name => $productOfferingTerm.name, productSpecification.@referredType => $productSpecification.@referredType, productSpecification.name => $productSpecification.name, productSpecification.version => $productSpecification.version, resourceCandidate.@referredType => $resourceCandidate.@referredType, resourceCandidate.name => $resourceCandidate.name, resourceCandidate.version => $resourceCandidate.version, serviceCandidate.@referredType => $serviceCandidate.@referredType, serviceCandidate.name => $serviceCandidate.name, serviceCandidate.version => $serviceCandidate.version, serviceLevelAgreement.@referredType => $serviceLevelAgreement.@referredType, serviceLevelAgreement.name => $serviceLevelAgreement.name, sort => $sort, validFor.endDateTime => $validFor.endDateTime, validFor.startDateTime => $validFor.startDateTime, version => $version);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ProductCatalogManagementApi->listProductOffering: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.ProductCatalogManagementApi()
@baseType = @baseType_example # String | For filtering: Immediate base (class) type of the product offering (optional)
@schemaLocation = @schemaLocation_example # String | For filtering: A link to the schema describing this product offering (optional)
@type = @type_example # String | For filtering: Class type of the product offering (optional)
agreement.@referredType = agreement.@referredType_example # String | For filtering: class type of the referred Agreement (optional)
agreement.name = agreement.name_example # String | For filtering: Name of the agreement (optional)
attachment.@baseType = attachment.@baseType_example # String | For filtering: The immediate base class type of the attachment (optional)
attachment.@schemaLocation = attachment.@schemaLocation_example # String | For filtering: A link to the schema describing this attachment entity (optional)
attachment.@type = attachment.@type_example # String | For filtering: the class type of the Attachment (optional)
attachment.mimeType = attachment.mimeType_example # String | For filtering: Attachment mime type such as extension file for video, picture and document (optional)
attachment.type = attachment.type_example # String | For filtering: Attachment type such as video, picture (optional)
attachment.url = attachment.url_example # String | For filtering: Uniform Resource Locator, is a web page address (a subset of URI) (optional)
baseSiteId = baseSiteId_example # String | Identifier of the BaseSite (optional)
bundledProductOffering.lifecycleStatus = bundledProductOffering.lifecycleStatus_example # String | For filtering: Used to indicate the current lifecycle status (optional)
bundledProductOffering.name = bundledProductOffering.name_example # String | For filtering: Name of the BundledProductOffering (optional)
category.@referredType = category.@referredType_example # String | For filtering: the class type of the referred Category (optional)
category.name = category.name_example # String | For filtering: Name of the category (optional)
category.version = category.version_example # String | For filtering: Category version (optional)
channel.@referredType = channel.@referredType_example # String | For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on (optional)
channel.name = channel.name_example # String | For filtering: Name of the channel (optional)
facetSearchOption.id = # array[String] | For filtering by facet options. The identifier of the facet search option. (optional)
fields = fields_example # String | Comma separated properties to display in response (optional)
isBundle = true # Boolean | For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true). (optional)
lastUpdate = 2013-10-20T19:20:30+01:00 # Date | For filtering: Date and time of the last update (optional)
lifecycleStatus = lifecycleStatus_example # String | For filtering: Used to indicate the current lifecycle status (optional)
limit = 56 # Integer | Requested number of resources to be provided in response requested by client. (optional)
marketSegment.@referredType = marketSegment.@referredType_example # String | For filtering: (Class) type of the referred market segment (optional)
marketSegment.name = marketSegment.name_example # String | For filtering: Name of the market segment (optional)
name = name_example # String | For filtering: Name of the productOffering (optional)
offeringGroup.id = offeringGroup.id_example # String | For filtering: Id of the productOfferingGroup (optional)
offset = 56 # Integer | Requested index for start of resources to be provided in response requested by client. (optional)
parentBundledProductOffering.id = parentBundledProductOffering.id_example # String | For filtering: Id of the parentBundledProductOffering (optional)
place.@referredType = place.@referredType_example # String | For filtering: class type of the referred Place object (optional)
place.address = place.address_example # String | For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API). (optional)
place.name = place.name_example # String | For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home" (optional)
place.role = place.role_example # String | For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval') (optional)
prodSpecCharValueUse.maxCardinality = 56 # Integer | For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality. (optional)
prodSpecCharValueUse.minCardinality = 56 # Integer | For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality. (optional)
prodSpecCharValueUse.name = prodSpecCharValueUse.name_example # String | For filtering: Name of the associated productSpecCharacteristic (optional)
prodSpecCharValueUse.valueType = prodSpecCharValueUse.valueType_example # String | For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth (optional)
productOfferingPrice.@baseType = productOfferingPrice.@baseType_example # String | For filtering: the immediate base class of product offering price (optional)
productOfferingPrice.@schemaLocation = productOfferingPrice.@schemaLocation_example # String | For filtering: hyperlink reference to the product offering price schema (optional)
productOfferingPrice.@type = productOfferingPrice.@type_example # String | For filtering: The class type of the product offering price (optional)
productOfferingPrice.isBundle = true # Boolean | For filtering: a flag indicating if this product offering price is bundle (composite) or not (optional)
productOfferingPrice.name = productOfferingPrice.name_example # String | For filtering: Name of the productOfferingPrice (optional)
productOfferingPrice.place.id = productOfferingPrice.place.id_example # String | For filtering: Identifier of the place for which product offering has prices available (optional)
productOfferingPrice.priceType = productOfferingPrice.priceType_example # String | For filtering: Indicates the price type: recurring, one time, usage (optional)
productOfferingPrice.recurringChargePeriod = productOfferingPrice.recurringChargePeriod_example # String | For filtering: Could be month, week... (optional)
productOfferingPrice.relatedParty.id = productOfferingPrice.relatedParty.id_example # String | For filtering: Identifier of the related party for which the price applies. (optional)
productOfferingPrice.unitOfMeasure = productOfferingPrice.unitOfMeasure_example # String | For filtering: Could be minutes, GB... (optional)
productOfferingPrice.version = productOfferingPrice.version_example # String | For filtering: ProductOffering version (optional)
productOfferingTerm.@schemaLocation = productOfferingTerm.@schemaLocation_example # String | For filtering: A link to the schema describing this product offering term (optional)
productOfferingTerm.@type = productOfferingTerm.@type_example # String | For filtering: The class type of ProductOfferingTerm (optional)
productOfferingTerm.name = productOfferingTerm.name_example # String | For filtering: Name of the productOfferingTerm (optional)
productSpecification.@referredType = productSpecification.@referredType_example # String | For filtering: class type of referred Product Specification (optional)
productSpecification.name = productSpecification.name_example # String | For filtering: Name of the product specification (optional)
productSpecification.version = productSpecification.version_example # String | For filtering: Version of the product specification (optional)
resourceCandidate.@referredType = resourceCandidate.@referredType_example # String | For filtering: The Class type of referred Resource Candidate (optional)
resourceCandidate.name = resourceCandidate.name_example # String | For filtering: Name of the resource candidate (optional)
resourceCandidate.version = resourceCandidate.version_example # String | For filtering: Version of the resource candidate (optional)
serviceCandidate.@referredType = serviceCandidate.@referredType_example # String | For filtering: The Class type of referred Service Candidate (optional)
serviceCandidate.name = serviceCandidate.name_example # String | For filtering: Name of the service candidate (optional)
serviceCandidate.version = serviceCandidate.version_example # String | For filtering: Version of the service candidate (optional)
serviceLevelAgreement.@referredType = serviceLevelAgreement.@referredType_example # String | For filtering: class type of referred Service Level Agreement (optional)
serviceLevelAgreement.name = serviceLevelAgreement.name_example # String | For filtering: Name of the service level agreement (optional)
sort = # array[String] | For sorting: The options the product offerings can be sorted by. (optional)
validFor.endDateTime = 2013-10-20T19:20:30+01:00 # Date | For filtering: An instant of time, ending at the TimePeriod. (optional)
validFor.startDateTime = 2013-10-20T19:20:30+01:00 # Date | For filtering: An instant of time, starting at the TimePeriod (optional)
version = version_example # String | For filtering: ProductOffering version (optional)
try:
# Retrieves a list of 'ProductOffering'
api_response = api_instance.list_product_offering(@baseType=@baseType, @schemaLocation=@schemaLocation, @type=@type, agreement.@referredType=agreement.@referredType, agreement.name=agreement.name, attachment.@baseType=attachment.@baseType, attachment.@schemaLocation=attachment.@schemaLocation, attachment.@type=attachment.@type, attachment.mimeType=attachment.mimeType, attachment.type=attachment.type, attachment.url=attachment.url, baseSiteId=baseSiteId, bundledProductOffering.lifecycleStatus=bundledProductOffering.lifecycleStatus, bundledProductOffering.name=bundledProductOffering.name, category.@referredType=category.@referredType, category.name=category.name, category.version=category.version, channel.@referredType=channel.@referredType, channel.name=channel.name, facetSearchOption.id=facetSearchOption.id, fields=fields, isBundle=isBundle, lastUpdate=lastUpdate, lifecycleStatus=lifecycleStatus, limit=limit, marketSegment.@referredType=marketSegment.@referredType, marketSegment.name=marketSegment.name, name=name, offeringGroup.id=offeringGroup.id, offset=offset, parentBundledProductOffering.id=parentBundledProductOffering.id, place.@referredType=place.@referredType, place.address=place.address, place.name=place.name, place.role=place.role, prodSpecCharValueUse.maxCardinality=prodSpecCharValueUse.maxCardinality, prodSpecCharValueUse.minCardinality=prodSpecCharValueUse.minCardinality, prodSpecCharValueUse.name=prodSpecCharValueUse.name, prodSpecCharValueUse.valueType=prodSpecCharValueUse.valueType, productOfferingPrice.@baseType=productOfferingPrice.@baseType, productOfferingPrice.@schemaLocation=productOfferingPrice.@schemaLocation, productOfferingPrice.@type=productOfferingPrice.@type, productOfferingPrice.isBundle=productOfferingPrice.isBundle, productOfferingPrice.name=productOfferingPrice.name, productOfferingPrice.place.id=productOfferingPrice.place.id, productOfferingPrice.priceType=productOfferingPrice.priceType, productOfferingPrice.recurringChargePeriod=productOfferingPrice.recurringChargePeriod, productOfferingPrice.relatedParty.id=productOfferingPrice.relatedParty.id, productOfferingPrice.unitOfMeasure=productOfferingPrice.unitOfMeasure, productOfferingPrice.version=productOfferingPrice.version, productOfferingTerm.@schemaLocation=productOfferingTerm.@schemaLocation, productOfferingTerm.@type=productOfferingTerm.@type, productOfferingTerm.name=productOfferingTerm.name, productSpecification.@referredType=productSpecification.@referredType, productSpecification.name=productSpecification.name, productSpecification.version=productSpecification.version, resourceCandidate.@referredType=resourceCandidate.@referredType, resourceCandidate.name=resourceCandidate.name, resourceCandidate.version=resourceCandidate.version, serviceCandidate.@referredType=serviceCandidate.@referredType, serviceCandidate.name=serviceCandidate.name, serviceCandidate.version=serviceCandidate.version, serviceLevelAgreement.@referredType=serviceLevelAgreement.@referredType, serviceLevelAgreement.name=serviceLevelAgreement.name, sort=sort, validFor.endDateTime=validFor.endDateTime, validFor.startDateTime=validFor.startDateTime, version=version)
pprint(api_response)
except ApiException as e:
print("Exception when calling ProductCatalogManagementApi->listProductOffering: %s\n" % e)
Name |
Description |
@baseType |
String
For filtering: Immediate base (class) type of the product offering
|
@schemaLocation |
String
For filtering: A link to the schema describing this product offering
|
@type |
String
For filtering: Class type of the product offering
|
agreement.@referredType |
String
For filtering: class type of the referred Agreement
|
agreement.name |
String
For filtering: Name of the agreement
|
attachment.@baseType |
String
For filtering: The immediate base class type of the attachment
|
attachment.@schemaLocation |
String
For filtering: A link to the schema describing this attachment entity
|
attachment.@type |
String
For filtering: the class type of the Attachment
|
attachment.mimeType |
String
For filtering: Attachment mime type such as extension file for video, picture and document
|
attachment.type |
String
For filtering: Attachment type such as video, picture
|
attachment.url |
String
For filtering: Uniform Resource Locator, is a web page address (a subset of URI)
|
baseSiteId |
String
Identifier of the BaseSite
|
bundledProductOffering.lifecycleStatus |
String
For filtering: Used to indicate the current lifecycle status
|
bundledProductOffering.name |
String
For filtering: Name of the BundledProductOffering
|
category.@referredType |
String
For filtering: the class type of the referred Category
|
category.name |
String
For filtering: Name of the category
|
category.version |
String
For filtering: Category version
|
channel.@referredType |
String
For filtering: (Class) type of the referred channel like DistributionChannel, SalesChannel and so on
|
channel.name |
String
For filtering: Name of the channel
|
facetSearchOption.id |
array[String]
For filtering by facet options. The identifier of the facet search option.
|
fields |
String
Comma separated properties to display in response
|
isBundle |
Boolean
For filtering: isBundle determines whether a productOffering represents a single productOffering (false), or a bundle of productOfferings (true).
|
lastUpdate |
Date
(date-time)
For filtering: Date and time of the last update
|
lifecycleStatus |
String
For filtering: Used to indicate the current lifecycle status
|
limit |
Integer
(int32)
Requested number of resources to be provided in response requested by client.
|
marketSegment.@referredType |
String
For filtering: (Class) type of the referred market segment
|
marketSegment.name |
String
For filtering: Name of the market segment
|
name |
String
For filtering: Name of the productOffering
|
offeringGroup.id |
String
For filtering: Id of the productOfferingGroup
|
offset |
Integer
(int32)
Requested index for start of resources to be provided in response requested by client.
|
parentBundledProductOffering.id |
String
For filtering: Id of the parentBundledProductOffering
|
place.@referredType |
String
For filtering: class type of the referred Place object
|
place.address |
String
For filtering: A string characterizing an address (for instance a formatted address or an identifier taken from an address database or an address API).
|
place.name |
String
For filtering: A user-friendly name for the place, such as "Paris Store", "London Store", "Main Home"
|
place.role |
String
For filtering: Role of the place (for instance: 'home delivery', 'shop retrieval')
|
prodSpecCharValueUse.maxCardinality |
Integer
(int32)
For filtering: The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
|
prodSpecCharValueUse.minCardinality |
Integer
(int32)
For filtering: The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
|
prodSpecCharValueUse.name |
String
For filtering: Name of the associated productSpecCharacteristic
|
prodSpecCharValueUse.valueType |
String
For filtering: A kind of value that the characteristic can take on, such as numeric, text and so forth
|
productOfferingPrice.@baseType |
String
For filtering: the immediate base class of product offering price
|
productOfferingPrice.@schemaLocation |
String
For filtering: hyperlink reference to the product offering price schema
|
productOfferingPrice.@type |
String
For filtering: The class type of the product offering price
|
productOfferingPrice.isBundle |
Boolean
For filtering: a flag indicating if this product offering price is bundle (composite) or not
|
productOfferingPrice.name |
String
For filtering: Name of the productOfferingPrice
|
productOfferingPrice.place.id |
String
For filtering: Identifier of the place for which product offering has prices available
|
productOfferingPrice.priceType |
String
For filtering: Indicates the price type: recurring, one time, usage
|
productOfferingPrice.recurringChargePeriod |
String
For filtering: Could be month, week...
|
productOfferingPrice.relatedParty.id |
|
productOfferingPrice.unitOfMeasure |
String
For filtering: Could be minutes, GB...
|
productOfferingPrice.version |
String
For filtering: ProductOffering version
|
productOfferingTerm.@schemaLocation |
String
For filtering: A link to the schema describing this product offering term
|
productOfferingTerm.@type |
String
For filtering: The class type of ProductOfferingTerm
|
productOfferingTerm.name |
String
For filtering: Name of the productOfferingTerm
|
productSpecification.@referredType |
String
For filtering: class type of referred Product Specification
|
productSpecification.name |
String
For filtering: Name of the product specification
|
productSpecification.version |
String
For filtering: Version of the product specification
|
resourceCandidate.@referredType |
String
For filtering: The Class type of referred Resource Candidate
|
resourceCandidate.name |
String
For filtering: Name of the resource candidate
|
resourceCandidate.version |
String
For filtering: Version of the resource candidate
|
serviceCandidate.@referredType |
String
For filtering: The Class type of referred Service Candidate
|
serviceCandidate.name |
String
For filtering: Name of the service candidate
|
serviceCandidate.version |
String
For filtering: Version of the service candidate
|
serviceLevelAgreement.@referredType |
String
For filtering: class type of referred Service Level Agreement
|
serviceLevelAgreement.name |
String
For filtering: Name of the service level agreement
|
sort |
array[String]
For sorting: The options the product offerings can be sorted by.
|
validFor.endDateTime |
Date
(date-time)
For filtering: An instant of time, ending at the TimePeriod.
|
validFor.startDateTime |
Date
(date-time)
For filtering: An instant of time, starting at the TimePeriod
|
version |
String
For filtering: ProductOffering version
|