Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added property specs for release 24.2.0.0
  • Loading branch information
ohip_automation_bot committed Oct 17, 2024
commit 03c80d05e4545339ead9c4e61cdaecd34499e5a5
267 changes: 265 additions & 2 deletions rest-api-specs/property/act.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"title": "OPERA Cloud Activity API",
"description": "APIs to cater for Sales Activity functionality in OPERA Cloud. <br /><br /> Activities provide you with an account management tool for managing daily tasks such as appointments, sales calls, contact follow-up, and so on.<br /><br /> Compatible with OPERA Cloud release 24.1.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.1",
"description": "APIs to cater for Sales Activity functionality in OPERA Cloud. <br /><br /> Activities provide you with an account management tool for managing daily tasks such as appointments, sales calls, contact follow-up, and so on.<br /><br /> Compatible with OPERA Cloud release 24.2.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.2",
"termsOfService": "https://www.oracle.com/legal/terms.html",
"contact": {
"email": "[email protected]"
Expand Down Expand Up @@ -551,6 +551,106 @@
"tags": [
"Activity"
]
},
"put": {
"summary": "Operation to update multiple activities",
"description": "You can use this API to bulk update activities <p><strong>OperationId:</strong>putBulkActivities</p>",
"operationId": "putBulkActivities",
"parameters": [
{
"name": "putBulkActivities",
"in": "body",
"required": true,
"description": "Request object that will Change a list of activities.",
"schema": {
"allOf": [
{
"$ref": "#/definitions/activitiesBulkUpdate"
}
]
}
},
{
"$ref": "#/parameters/authKey"
},
{
"$ref": "#/parameters/x-app-key"
},
{
"$ref": "#/parameters/x-hotelid"
},
{
"$ref": "#/parameters/x-externalsystem"
},
{
"$ref": "#/parameters/Accept-Language"
}
],
"responses": {
"200": {
"headers": {
"Content-Language": {
"type": "string",
"description": "Audience language",
"pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",
"x-example": "en-GB"
},
"Location": {
"type": "string",
"description": "Location of newly created resource"
}
},
"description": "Status/Info of the processed activities.",
"schema": {
"$ref": "#/definitions/activitiesBulkUpdateStatus"
}
},
"400": {
"$ref": "#/responses/400"
},
"401": {
"$ref": "#/responses/401"
},
"403": {
"$ref": "#/responses/403"
},
"404": {
"$ref": "#/responses/404"
},
"405": {
"$ref": "#/responses/405"
},
"406": {
"$ref": "#/responses/406"
},
"413": {
"$ref": "#/responses/413"
},
"414": {
"$ref": "#/responses/414"
},
"415": {
"$ref": "#/responses/415"
},
"500": {
"$ref": "#/responses/500"
},
"502": {
"$ref": "#/responses/502"
},
"503": {
"$ref": "#/responses/503"
}
},
"consumes": [
"application/json;charset=UTF-8"
],
"produces": [
"application/json;charset=UTF-8"
],
"tags": [
"Activity"
]
}
},
"/activities/activitiesCompletion": {
Expand Down Expand Up @@ -6130,6 +6230,169 @@
"items": {
"$ref": "#/definitions/activityId"
}
},
"activitiesBulkUpdate": {
"type": "object",
"description": "Request object that will Change a list of activities.",
"properties": {
"activitiesBulkUpdate": {
"description": "Activities information, that is going to be updated in batch.",
"$ref": "#/definitions/activitiesBulkUpdateType"
},
"links": {
"$ref": "#/definitions/links"
},
"warnings": {
"$ref": "#/definitions/warningsType"
}
}
},
"activitiesBulkUpdateType": {
"type": "object",
"description": "Collection of Activity Ids their details to be updated.",
"properties": {
"activityIdList": {
"type": "array",
"description": "Selected activities Unique identifier.",
"maxItems": 200,
"items": {
"$ref": "#/definitions/activityIdRecord"
}
},
"skipProcessing": {
"description": "Boolean flag if True will skip processing activities",
"type": "boolean"
},
"activityRec": {
"description": "Selected activities to be updated with these activity details.",
"$ref": "#/definitions/activityChanges"
}
}
},
"activityChanges": {
"type": "object",
"description": "Activities details to be updated.",
"properties": {
"activityClass": {
"description": "Indicates the Activity Class.",
"$ref": "#/definitions/activityConfigClassType"
},
"activityType": {
"description": "Indicates the Activity Type used for the Activity.",
"type": "string",
"minLength": 0,
"maxLength": 20
},
"activityPurpose": {
"description": "Indicates Purpose of the Activity.",
"type": "string",
"minLength": 0,
"maxLength": 100
},
"activityTraceCode": {
"description": "Activity Trace code used for the Activity.",
"type": "string",
"minLength": 0,
"maxLength": 20
},
"activityOwner": {
"description": "Owner of Activity.",
"type": "string",
"minLength": 0,
"maxLength": 20
},
"startDate": {
"description": "Start Date of Activity.",
"type": "string",
"format": "date"
},
"startTime": {
"description": "Start time of the Activity.",
"type": "string"
},
"endDate": {
"description": "End Date of Activity.",
"type": "string",
"format": "date"
},
"endTime": {
"description": "End time of the Activity.",
"type": "string"
},
"notes": {
"description": "Notes associated with an Activity.",
"type": "string",
"minLength": 0,
"maxLength": 4000
},
"highPriority": {
"description": "Indicates whether Activity has a high priority.",
"type": "boolean"
},
"activityAccount": {
"description": "The list of accounts associated with an activity.",
"$ref": "#/definitions/uniqueID_Type"
},
"activityContact": {
"description": "The list of accounts associated with an activity.",
"$ref": "#/definitions/uniqueID_Type"
}
}
},
"activityIdRecord": {
"type": "object",
"description": "Unique identifier for the Activity Record containing activity ID and activity property.",
"properties": {
"hotelId": {
"description": "Hotel code to which activity belongs",
"type": "string",
"minLength": 0,
"maxLength": 20
},
"id": {
"description": "Unique ID belonging to the activity.",
"type": "string",
"minLength": 0,
"maxLength": 80
}
}
},
"activitiesBulkUpdateStatus": {
"type": "object",
"properties": {
"activitiesBulkUpdateStatusType": {
"description": "Status/Info of the processed activities.",
"type": "array",
"maxItems": 4000,
"items": {
"$ref": "#/definitions/activitiesProcessedInfoType"
}
}
}
},
"activitiesProcessedInfoType": {
"type": "object",
"description": "Status/Info of the processed activities.",
"properties": {
"activityIdRecord": {
"description": "The activity details which were not processed.",
"$ref": "#/definitions/activityIdRecord"
},
"reason": {
"description": "Reason for not processing the activity.",
"type": "string"
},
"processingInfoType": {
"description": "Flag to indicate the warning messages from the API",
"type": "string"
},
"processingInfoCode": {
"description": "Erorr/Warning code for not processing the activity.",
"type": "string",
"minLength": 0,
"maxLength": 200
}
}
}
},
"tags": [
Expand Down
4 changes: 2 additions & 2 deletions rest-api-specs/property/actcfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"title": "OPERA Cloud Activity Management API",
"description": "APIs to cater for Activity Configuration functionality in OPERA Cloud. In this module you can retrieve, create, update Activity configuration codes, for example create a new Activity Type.<br /><br /> Compatible with OPERA Cloud release 24.1.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.1",
"description": "APIs to cater for Activity Configuration functionality in OPERA Cloud. In this module you can retrieve, create, update Activity configuration codes, for example create a new Activity Type.<br /><br /> Compatible with OPERA Cloud release 24.2.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.2",
"termsOfService": "https://www.oracle.com/legal/terms.html",
"contact": {
"email": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions rest-api-specs/property/ars.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"title": "OPERA Cloud Accounts Receivables API",
"description": "APIs to cater for Accounts Receivables functionality in OPERA Cloud. <br /><br The OPERA Cloud Accounts Receivable module enables you to manage debtors' accounts, invoices, and remittance.<br /><br /> Compatible with OPERA Cloud release 24.1.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.1",
"description": "APIs to cater for Accounts Receivables functionality in OPERA Cloud. <br /><br The OPERA Cloud Accounts Receivable module enables you to manage debtors' accounts, invoices, and remittance.<br /><br /> Compatible with OPERA Cloud release 24.2.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>",
"version": "24.2",
"termsOfService": "https://www.oracle.com/legal/terms.html",
"contact": {
"email": "[email protected]"
Expand Down
Loading