Create or update a project
put
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/{id}
This operation updates partially a Project entity.
Request
Path Parameters
-
id(required): string
The unique identifier of the resource item.
Supported Media Types
- application/json
Root Schema : ProjectOracle
Title:
ProjectOracle
Is a detailed description of the project
Match All
Is a detailed description of the project
Is a detailed description of the project
Show Source
Nested Schema : Project
Type:
object
Title:
Project
Discriminator: @type
Discriminator Values
Is a detailed description of the project
Show Source
-
@baseType: string
When sub-classing, this defines the super-class
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name
-
description: string
A narrative that describes the project
-
href: string
Reference of the Project
-
id: string
Maximum Length:
30
Unique identifier of the Project -
lastUpdate: string
(date-time)
Date and time of the last update
-
lifecycleStatus: string
Used to indicate the current lifecycle status
-
name(required): string
Name of the project
-
version: string
Version of the object
Nested Schema : type
Type:
Show Source
object
-
action: string
Used to indicate the last action performed on the project
-
applicationName: string
name of the external application
-
approvalEnabled: boolean
approval enabled flag
-
approvalHistory: array
approvalHistory
-
created: string
(date-time)
Date and time of the creation
-
createdBy: string
name of the person who created item
-
currentStatus: string
Used to indicate the current status before state change.
-
externalId: string
id of the external application
-
lastUpdatedBy: string
name of the person who updated item
-
launchedDate: string
(date-time)
Date and time of project launched
-
lifecycleConfiguration: object
LifecycleConfigurationRef
Title:
LifecycleConfigurationRef
LifecycleConfiguration Reference -
projectHistory: array
projectHistory
-
projectItems: array
projectItems
Contains the list of Catalog Objects
-
publishJobRef: object
PublishJobRef
Title:
PublishJobRef
Publish Job reference. A Job describes the details of the publishing state -
subStatus: string
sub status code
-
targetReleaseDate: string
(date)
Date of targeted release of project
-
versionState: number
Version state of the project
Nested Schema : approvalHistory
Type:
Show Source
array
-
Array of:
object ApprovalHistory
Title:
ApprovalHistory
Nested Schema : LifecycleConfigurationRef
Type:
object
Title:
LifecycleConfigurationRef
LifecycleConfiguration Reference
Show Source
-
@referredType: string
Class type of the lifecycle configuration
-
href: string
A string. Reference of the lifecycle configuration.
-
id: string
Maximum Length:
100
A string. Unique identifier of the lifecycle configurations. -
name: string
A string. Name of the lifecycle configuration.
-
version: string
A string. lifecycle configuration version.
Nested Schema : projectHistory
Type:
Show Source
array
-
Array of:
object ProjectHistory
Title:
ProjectHistory
Nested Schema : projectItems
Type:
array
Contains the list of Catalog Objects
Show Source
-
Array of:
object PublishJobRef
Title:
PublishJobRef
Project Item reference. A project Item ref represents entities that can be ProductOffering or ProductOfferingSpecification or ProductOfferingPrice etc..
Nested Schema : PublishJobRef
Type:
object
Title:
PublishJobRef
Publish Job reference. A Job describes the details of the publishing state
Show Source
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
href: string
URL serving as reference for the Job resource
-
id(required): string
Unique-Identifier for this publish Job
Nested Schema : ApprovalHistory
Type:
object
Title:
Show Source
ApprovalHistory
-
approvalAction: string
A string. approval action.
-
approvalDate: string
(date-time)
A date time (DateTime). Date and time of the approval.
-
approvalFor: string
A string. approval for.
-
approver: string
A string. approver.
-
comments: string
A string. A narrative that explains in detail what the approval history is.
-
entityName: string
Maximum Length:
100
A string. Entity name. -
id(required): string
Maximum Length:
100
A string. Unique identifier of the approval history. -
projectId: string
Maximum Length:
100
A string. Unique identifier of the project id. -
projectName: string
Maximum Length:
100
A string. Project Name. -
requestor: string
A string. requestor.
Nested Schema : ProjectHistory
Type:
object
Title:
Show Source
ProjectHistory
-
action: string
A string. action.
-
entityName: string
Maximum Length:
100
A string. Entity Name. -
id(required): string
Maximum Length:
100
A string. Unique identifier of the project history. -
stateFrom: string
A string. State From.
-
stateTo: string
A string. State To.
Nested Schema : PublishJobRef
Type:
object
Title:
PublishJobRef
Project Item reference. A project Item ref represents entities that can be ProductOffering or ProductOfferingSpecification or ProductOfferingPrice etc..
Show Source
-
@refBaseType: string
The TMF base type of the target instance when needed for disambiguation.
-
@referredType(required): string
The actual type of the target instance when needed for disambiguation.
-
context: array
context
-
entitlementType: string
Allowed Values:
[ "ENTITLEMENT_PRICING", "ENTITLEMENT_SERVICE" ]
entitlememt type -
href: string
Reference of the related entity.
-
id(required): string
Unique identifier of a related entity.
-
lifecycleStatus: string
The lifecycleStatus of the related entity.
-
name: string
Name of the related entity.
-
priceType: string
Allowed Values:
[ "RECURRING", "ONE_TIME", "USAGE", "ALTERATION", "ALLOWANCE", "OVERAGE", "PENALTY", "ONE_TIME_PRICE_PLAN", "RECURRING_PRICE_PLAN", "USAGE_PRICE_PLAN", "ALTERATION_PRICE_PLAN", "OVERAGE_PRICE_PLAN", "COUNTER" ]
Describes the price, such as recurring, discount, allowance, penalty, and so forth -
productType: string
Allowed Values:
[ "PACKAGE", "COMMERCIAL_BUNDLE", "SERVICE_BUNDLE", "SERVICE", "DEVICE", "ACCESSORY", "CHOICE", "AGGREGATION", "SYSTEM_OFFER" ]
Used to indicate the type of product. -
profileType: string
Allowed Values:
[ "DEVICE_SPEC", "BUSINESS_CONFIG", "TRADE_IN", "CHARGING_TERM", "SUSPENSION_TERM", "RETURN_CHECKLIST", "ENTITY_PROFILE", "RENEWAL_TERM", "FINANCE_PLAN", "ZONE_VALUE_MAP" ]
type of the profile -
promotionType: string
Allowed Values:
[ "AWARD", "DISCOUNT", "TRADE_IN", "CROSS_PRODUCT_DISCOUNT" ]
Comma seperated promotion tags/type -
ruleType: string
Allowed Values:
[ "COMPATIBILITY", "ELIGIBILITY", "MIGRATION", "RECOMMENDATION", "CONSTRAINT" ]
-
version: string
Version of the object
Nested Schema : context
Type:
Show Source
array
-
Array of:
object ProjectItemContextsOracle
Title:
ProjectItemContextsOracle
Project item context objects which holds the KPI parameters
Nested Schema : ProjectItemContextsOracle
Type:
object
Title:
ProjectItemContextsOracle
Project item context objects which holds the KPI parameters
Show Source
-
params(required): array
params
-
type(required): string
Allowed Values:
[ "ACQUISITION", "RETENTION" ]
Used to indicate the context type
Nested Schema : params
Type:
Show Source
array
-
Array of:
object ProjectItemContextParamsOracle
Title:
ProjectItemContextParamsOracle
Project item context KPI parameters
Nested Schema : ProjectItemContextParamsOracle
Type:
object
Title:
ProjectItemContextParamsOracle
Project item context KPI parameters
Show Source
-
key(required): string
Key of the context parameter.
-
name(required): string
Name of the context parameter.
-
value(required): string
Value of the context parameter.
Response
Supported Media Types
- application/json
200 Response
Ok
Root Schema : ProjectOracle
Title:
ProjectOracle
Is a detailed description of the project
Match All
Is a detailed description of the project
Is a detailed description of the project
Show Source
Nested Schema : Project
Type:
object
Title:
Project
Discriminator: @type
Discriminator Values
Is a detailed description of the project
Show Source
-
@baseType: string
When sub-classing, this defines the super-class
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name
-
description: string
A narrative that describes the project
-
href: string
Reference of the Project
-
id: string
Maximum Length:
30
Unique identifier of the Project -
lastUpdate: string
(date-time)
Date and time of the last update
-
lifecycleStatus: string
Used to indicate the current lifecycle status
-
name(required): string
Name of the project
-
version: string
Version of the object
Nested Schema : type
Type:
Show Source
object
-
action: string
Used to indicate the last action performed on the project
-
applicationName: string
name of the external application
-
approvalEnabled: boolean
approval enabled flag
-
approvalHistory: array
approvalHistory
-
created: string
(date-time)
Date and time of the creation
-
createdBy: string
name of the person who created item
-
currentStatus: string
Used to indicate the current status before state change.
-
externalId: string
id of the external application
-
lastUpdatedBy: string
name of the person who updated item
-
launchedDate: string
(date-time)
Date and time of project launched
-
lifecycleConfiguration: object
LifecycleConfigurationRef
Title:
LifecycleConfigurationRef
LifecycleConfiguration Reference -
projectHistory: array
projectHistory
-
projectItems: array
projectItems
Contains the list of Catalog Objects
-
publishJobRef: object
PublishJobRef
Title:
PublishJobRef
Publish Job reference. A Job describes the details of the publishing state -
subStatus: string
sub status code
-
targetReleaseDate: string
(date)
Date of targeted release of project
-
versionState: number
Version state of the project
Nested Schema : approvalHistory
Type:
Show Source
array
-
Array of:
object ApprovalHistory
Title:
ApprovalHistory
Nested Schema : LifecycleConfigurationRef
Type:
object
Title:
LifecycleConfigurationRef
LifecycleConfiguration Reference
Show Source
-
@referredType: string
Class type of the lifecycle configuration
-
href: string
A string. Reference of the lifecycle configuration.
-
id: string
Maximum Length:
100
A string. Unique identifier of the lifecycle configurations. -
name: string
A string. Name of the lifecycle configuration.
-
version: string
A string. lifecycle configuration version.
Nested Schema : projectHistory
Type:
Show Source
array
-
Array of:
object ProjectHistory
Title:
ProjectHistory
Nested Schema : projectItems
Type:
array
Contains the list of Catalog Objects
Show Source
-
Array of:
object PublishJobRef
Title:
PublishJobRef
Project Item reference. A project Item ref represents entities that can be ProductOffering or ProductOfferingSpecification or ProductOfferingPrice etc..
Nested Schema : PublishJobRef
Type:
object
Title:
PublishJobRef
Publish Job reference. A Job describes the details of the publishing state
Show Source
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
href: string
URL serving as reference for the Job resource
-
id(required): string
Unique-Identifier for this publish Job
Nested Schema : ApprovalHistory
Type:
object
Title:
Show Source
ApprovalHistory
-
approvalAction: string
A string. approval action.
-
approvalDate: string
(date-time)
A date time (DateTime). Date and time of the approval.
-
approvalFor: string
A string. approval for.
-
approver: string
A string. approver.
-
comments: string
A string. A narrative that explains in detail what the approval history is.
-
entityName: string
Maximum Length:
100
A string. Entity name. -
id(required): string
Maximum Length:
100
A string. Unique identifier of the approval history. -
projectId: string
Maximum Length:
100
A string. Unique identifier of the project id. -
projectName: string
Maximum Length:
100
A string. Project Name. -
requestor: string
A string. requestor.
Nested Schema : ProjectHistory
Type:
object
Title:
Show Source
ProjectHistory
-
action: string
A string. action.
-
entityName: string
Maximum Length:
100
A string. Entity Name. -
id(required): string
Maximum Length:
100
A string. Unique identifier of the project history. -
stateFrom: string
A string. State From.
-
stateTo: string
A string. State To.
Nested Schema : PublishJobRef
Type:
object
Title:
PublishJobRef
Project Item reference. A project Item ref represents entities that can be ProductOffering or ProductOfferingSpecification or ProductOfferingPrice etc..
Show Source
-
@refBaseType: string
The TMF base type of the target instance when needed for disambiguation.
-
@referredType(required): string
The actual type of the target instance when needed for disambiguation.
-
context: array
context
-
entitlementType: string
Allowed Values:
[ "ENTITLEMENT_PRICING", "ENTITLEMENT_SERVICE" ]
entitlememt type -
href: string
Reference of the related entity.
-
id(required): string
Unique identifier of a related entity.
-
lifecycleStatus: string
The lifecycleStatus of the related entity.
-
name: string
Name of the related entity.
-
priceType: string
Allowed Values:
[ "RECURRING", "ONE_TIME", "USAGE", "ALTERATION", "ALLOWANCE", "OVERAGE", "PENALTY", "ONE_TIME_PRICE_PLAN", "RECURRING_PRICE_PLAN", "USAGE_PRICE_PLAN", "ALTERATION_PRICE_PLAN", "OVERAGE_PRICE_PLAN", "COUNTER" ]
Describes the price, such as recurring, discount, allowance, penalty, and so forth -
productType: string
Allowed Values:
[ "PACKAGE", "COMMERCIAL_BUNDLE", "SERVICE_BUNDLE", "SERVICE", "DEVICE", "ACCESSORY", "CHOICE", "AGGREGATION", "SYSTEM_OFFER" ]
Used to indicate the type of product. -
profileType: string
Allowed Values:
[ "DEVICE_SPEC", "BUSINESS_CONFIG", "TRADE_IN", "CHARGING_TERM", "SUSPENSION_TERM", "RETURN_CHECKLIST", "ENTITY_PROFILE", "RENEWAL_TERM", "FINANCE_PLAN", "ZONE_VALUE_MAP" ]
type of the profile -
promotionType: string
Allowed Values:
[ "AWARD", "DISCOUNT", "TRADE_IN", "CROSS_PRODUCT_DISCOUNT" ]
Comma seperated promotion tags/type -
ruleType: string
Allowed Values:
[ "COMPATIBILITY", "ELIGIBILITY", "MIGRATION", "RECOMMENDATION", "CONSTRAINT" ]
-
version: string
Version of the object
Nested Schema : context
Type:
Show Source
array
-
Array of:
object ProjectItemContextsOracle
Title:
ProjectItemContextsOracle
Project item context objects which holds the KPI parameters
Nested Schema : ProjectItemContextsOracle
Type:
object
Title:
ProjectItemContextsOracle
Project item context objects which holds the KPI parameters
Show Source
-
params(required): array
params
-
type(required): string
Allowed Values:
[ "ACQUISITION", "RETENTION" ]
Used to indicate the context type
Nested Schema : params
Type:
Show Source
array
-
Array of:
object ProjectItemContextParamsOracle
Title:
ProjectItemContextParamsOracle
Project item context KPI parameters
Nested Schema : ProjectItemContextParamsOracle
Type:
object
Title:
ProjectItemContextParamsOracle
Project item context KPI parameters
Show Source
-
key(required): string
Key of the context parameter.
-
name(required): string
Name of the context parameter.
-
value(required): string
Value of the context parameter.
400 Response
Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
403 Response
You don't have authorization to perform this request.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
Your request includes a resource URI that doesn't exist.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
409 Response
The request can't be completed due to a conflict with the current state of the resource.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to create or update a project by submitting a PUT request on the REST resource using cURL.
cURL Command
curl -u username:password -X PUT \
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/DocProject12' -H 'Content-Type: application/json' -D @put_project.json | json_pp
Example of Request Body
The following example shows the contents of the request body in JSON format.
{ "id": "DocProject12", "version": "1.0", "@type": "ProjectOracle", "lifecycleStatus": "Ready to publish", "name": "Doc Project12", "description": "This project includes all our offerings, specifications and catalogs for Doc Project FY2020" }
Example of Response Body
The
following example shows the contents of the response body in JSON
format.
{ "id": "DocProject12", "version": "1.0", "@type": "ProjectOracle", "lifecycleStatus": "Ready to publish", "name": "Doc Project12", "description": "This project includes all our offerings, specifications and catalogs for Doc Project FY2020", "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/DocProject12", "createdBy": "anonymous", "created": "2020-08-20T09:45:09.000Z", "lastUpdatedBy": "anonymous", "lastUpdate": "2020-08-20T09:45:09.000Z" }