cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
654
Views
0
Helpful
1
Replies

CUPI - copying a COS: No license found for Standard SpeechView Transcription Service

fabien.bonic
Level 5
Level 5

Hello,

I have an existing COS on my Unity Connection server. I want to copy it using the REST API (CUPI).

The first step is the GET request on the existing component. The result is :

  1. {
  2.     "URI": "/vmrest/coses/7d2ff3a8-aaf7-4af3-82e8-796791955389",
  3.     "ObjectId": "7d2ff3a8-aaf7-4af3-82e8-796791955389",
  4.     "AccessFaxMail": "false",
  5.     "AccessTts": "false",
  6.     "CallHoldAvailable": "false",
  7.     "CallScreenAvailable": "false",
  8.     "CanRecordName": "true",
  9.     "FaxRestrictionObjectId": "d4926d5e-00ca-46bc-9e93-a33054492336",
  10.     "ListInDirectoryStatus": "true",
  11.     "LocationObjectId": "2029f8a5-9756-47c2-acde-1f23d6b215e5",
  12.     "LocationURI": "/vmrest/locations/connectionlocations/2029f8a5-9756-47c2-acde-1f23d6b215e5",
  13.     "MaxGreetingLength": "90",
  14.     "MaxMsgLength": "300",
  15.     "MaxNameLength": "30",
  16.     "MaxPrivateDlists": "25",
  17.     "MovetoDeleteFolder": "true",
  18.     "OutcallRestrictionObjectId": "a02176cc-278f-4369-ac86-7e896c92e2d9",
  19.     "PersonalAdministrator": "true",
  20.     "DisplayName": "initialCOS",
  21.     "XferRestrictionObjectId": "4e15efbe-10eb-44a0-a316-89c6e7d106a5",
  22.     "Undeletable": "false",
  23.     "WarnIntervalMsgEnd": "0",
  24.     "CanSendToPublicDl": "true",
  25.     "EnableEnhancedSecurity": "false",
  26.     "AccessVmi": "false",
  27.     "AccessLiveReply": "false",
  28.     "UaAlternateExtensionAccess": "0",
  29.     "AccessCallRoutingRules": "false",
  30.     "WarnMinMsgLength": "0",
  31.     "SendBroadcastMessage": "false",
  32.     "UpdateBroadcastMessage": "false",
  33.     "AccessVui": "false",
  34.     "ImapCanFetchMessageBody": "true",
  35.     "ImapCanFetchPrivateMessageBody": "true",
  36.     "MaxMembersPVL": "99",
  37.     "AccessIMAP": "false",
  38.     "ReadOnly": "false",
  39.     "AccessAdvancedUserFeatures": "false",
  40.     "AccessAdvancedUser": "false",
  41.     "AccessUnifiedClient": "false",
  42.     "RequireSecureMessages": "4",
  43.     "AccessOutsideLiveReply": "false",
  44.     "AccessSTT": "true",
  45.     "EnableSTTSecureMessage": "0",
  46.     "MessagePlaybackRestriction": "0",
  47.     "SttType": "1",
  48.     "PlaybackMessageAndGreetings": "false",
  49.     "OutsideCallers": "false"
  50. }

In a second step, I create a PUT request with content the result of the previous request without the ObjectID, URI and a different DisplayName:

  1. {
  2.     "AccessFaxMail": "false",
  3.     "AccessTts": "false",
  4.     "CallHoldAvailable": "false",
  5.     "CallScreenAvailable": "false",
  6.     "CanRecordName": "true",
  7.     "FaxRestrictionObjectId": "d4926d5e-00ca-46bc-9e93-a33054492336",
  8.     "ListInDirectoryStatus": "true",
  9.     "LocationObjectId": "2029f8a5-9756-47c2-acde-1f23d6b215e5",
  10.     "LocationURI": "/vmrest/locations/connectionlocations/2029f8a5-9756-47c2-acde-1f23d6b215e5",
  11.     "MaxGreetingLength": "90",
  12.     "MaxMsgLength": "300",
  13.     "MaxNameLength": "30",
  14.     "MaxPrivateDlists": "25",
  15.     "MovetoDeleteFolder": "true",
  16.     "OutcallRestrictionObjectId": "a02176cc-278f-4369-ac86-7e896c92e2d9",
  17.     "PersonalAdministrator": "true",
  18.     "DisplayName": "duplicateCOS",
  19.     "XferRestrictionObjectId": "4e15efbe-10eb-44a0-a316-89c6e7d106a5",
  20.     "Undeletable": "false",
  21.     "WarnIntervalMsgEnd": "0",
  22.     "CanSendToPublicDl": "true",
  23.     "EnableEnhancedSecurity": "false",
  24.     "AccessVmi": "false",
  25.     "AccessLiveReply": "false",
  26.     "UaAlternateExtensionAccess": "0",
  27.     "AccessCallRoutingRules": "false",
  28.     "WarnMinMsgLength": "0",
  29.     "SendBroadcastMessage": "false",
  30.     "UpdateBroadcastMessage": "false",
  31.     "AccessVui": "false",
  32.     "ImapCanFetchMessageBody": "true",
  33.     "ImapCanFetchPrivateMessageBody": "true",
  34.     "MaxMembersPVL": "99",
  35.     "AccessIMAP": "false",
  36.     "ReadOnly": "false",
  37.     "AccessAdvancedUserFeatures": "false",
  38.     "AccessAdvancedUser": "false",
  39.     "AccessUnifiedClient": "false",
  40.     "RequireSecureMessages": "4",
  41.     "AccessOutsideLiveReply": "false",
  42.     "AccessSTT": "true",
  43.     "EnableSTTSecureMessage": "0",
  44.     "MessagePlaybackRestriction": "0",
  45.     "SttType": "1",
  46.     "PlaybackMessageAndGreetings": "false",
  47.     "OutsideCallers": "false"
  48. }

The result of this request is:

  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <ErrorDetails>
  3.   <errors>
  4.    <code>NOT_FOUND</code>
  5.    <message>No license found for Standard SpeechView Transcription Service</message>
  6.   </errors>
  7. </ErrorDetails>

Why do I have this error despite it is a copy of an existing COS?

Thanks,

Fabien

1 Reply 1

fabien.bonic
Level 5
Level 5

Does anyone know why I have this error? Is this a bug in Unity Connection or an invalid use of the API?

Thanks,

Fabien