Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
TelePresence Exchange (CTX) Developer Center
Overview
Documentation
Community
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to CDR API
ApiCompanyScope versus CompanyScope
Threads [
Previous
|
Next
]
Michael Nelson
Posts:
36
Join Date:
4/19/12
Recent Posts
ApiCompanyScope versus CompanyScope
Answer
6/4/12 11:21 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
We recently installed the pre-FCS of CTX 1.1. With that install we noticed a new file ApiCompanyScope.java. It looks to be the same as CompanyScope. Are there any recommendations or guidence regarding these files?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
John Yontz
Posts:
42
Join Date:
6/9/10
Recent Posts
RE: ApiCompanyScope versus CompanyScope
Answer
6/4/12 11:44 PM as a reply to Michael Nelson.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
For enums that are exposed by the API, we define API-specific definitions that are independent of the back-end representation in the database. We do this primarily to guarantee backward compatibility. In this case, ApiCompanyScope is the enum exposed in the API but CompanyScope is what we use in the back-end. Suppose we add another value to CompanyScope called "XYZ" in an upcoming release. We don't want to unknowingly expose this in the WSDL for any clients that are operating in backward compatibility mode. By having a separate ApiCompanyScope, we have tight control over what we expose, and furthermore, we can define any necessary adaptation logic. This also implies we can have separate ApiCompanyScope definitions for each release.
In short, for now CompanyScope and ApiCompany scope have the same values. But if they diverge at all on the back-end, we won't automatically break any backward compatibility.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Search CDN
Go
By API/SDK:
Select an API
Application eXtension Platform (AXP)
Network Management - Active Network Abstraction (ANA)
Network Management - IP Solution Center (ISC)
Network Management - Network Analysis Module (NAM)
Network Management - Cisco Transport Manager (CTM)
Network Management - Managed Services Management Solution (MSMS)
Cisco Headset/Handset API
Cisco Unified Application Environment (CUAE)
Cisco Unified CM Administration XML (AXL)
Cisco Unified CM Call Detail Records (CDR)
Cisco Unified CM Extension Mobility API
Cisco Unified CM JTAPI (JTAPI)
Cisco Unified CM Log Collection
Cisco Unified CM Performance Monitoring
Cisco Unified CM Real-time Device & CTI Information
Cisco Unified CM Service Control
Cisco Unified CM Servicability XML
Cisco Unified CM SIP (SIP)
Cisco Unified CM SNMP/MIB
Cisco Unified CM TAPI (TAPI)
Cisco Unified CM Web Dialer (WebDialer)
Cisco Unified Communication Express Services Interface
Cisco Unified Presence (CUP)
Cisco Unified TCL IVR/Voice XML API
Cisco Unified Gatekeeper TMP API (GKTMPAPI)
Cisco Unity Connection Provisioning Interface (CUPI)
Cisco Unity Connection Messaging Interface (CUMI)
Computer Telephony Integration (CTI) Server C-API
Computer Telephony Integration (CTI) Server Protocol (GED 188)
Computer Telephony Integration (CTI) Object Server
Contact Center Enterprise/Hosted/ICM IVR PG Protocol (GED-125)
Contact Center Reporting (CCR)
Contact Center TCL IVR/Voice XML API
Customer Voice Portal (CVP)
Enterprise Contact Center Scripting (ECCS)
Enterprise Application Gateway Protocol (AGP)
Hardware eXtension Platform (HXP)
IP Phone Services (IPPS)
Mobility – Cisco Compatible Extensions Program
Mobility – Context-Aware Mobility(Location)
Mobility – Guest Access (GAP)
Mobility – Solution Verification
Meetingplace SOAP API (MPSA)
Smart Business Portal (SBP)
Unified Contact Center Express CTI (UCCXCTI)
WebEx - Connect
WebEx - Meeting Services