/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Another%20Rating%20Profile"
}, {
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "p@55123W0r))"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "contractType",
"value": "vollVersion"
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "coachingEnabled",
"value": true
}, {
"name": "language",
"value": "de"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Another%20Rating%20Profile"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "contractType",
"value": "vollVersion"
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Another Rating Profile"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": true
}, {
"name": "language",
"value": "de"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "p@55123W0r))"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "language",
"value": "de"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "de"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "p@55123W0r))"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "language",
"value": "de"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "de"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "p@55123W0r))"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "language",
"value": "de"
}, {
"name": "voicemailNotificationMode",
"value": "OFF"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/Europe.Berlin"
}],
"data": [{
"name": "countOfTrunks",
"value": "THREE_DIGIT"
}, {
"name": "speedDialLength",
"value": 2
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "FULL"
}, {
"name": "projectNumberLength",
"value": 4
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON"
}, {
"name": "nmeeting",
"value": "UNITS"
}, {
"name": "vmPasswordLengthMin",
"value": 6
}, {
"name": "vmPasswordLengthMax",
"value": 10
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": false
}, {
"name": "portLock",
"value": false
}, {
"name": "intercomEnabled",
"value": false
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": false
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": false
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": false
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "de"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}, {
"name": "voicemailNotificationMode",
"value": "OFF"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"detail": "Could not create or update resource due to constraint violations",
"title": "Validation error",
"errors": [{
"message": "Cannot update field with current privileges",
"path": "betaTester",
"value": "false"
}, {
"message": "Cannot update field with current privileges",
"path": "betaDeviceTester",
"value": "false"
}],
"described_by": "http://api.nfon.net/probs/validation-error"
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Another%20Rating%20Profile"
}],
"data": [{
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}, {
"name": "contractType",
"value": "vollVersion"
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "blockedOutbound",
"value": false
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Cannot update field with current privileges",
"path": "betaTester"
}, {
"message": "Cannot update field with current privileges",
"path": "betaDeviceTester"
}, {
"message": "Cannot update field with current privileges",
"path": "ratingProfile"
}, {
"message": "Cannot update field with current privileges",
"path": "contractType"
}, {
"message": "Cannot update field with current privileges",
"path": "aastra31NewLayout"
}, {
"message": "Cannot update field with current privileges",
"path": "blockedOutbound"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Another%20Rating%20Profile"
}],
"data": [{
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}, {
"name": "contractType",
"value": "vollVersion"
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ctiBillingMode",
"value": "OFF"
}, {
"name": "voicemailNotificationMode",
"value": "BOOM"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Cannot update field with current privileges",
"path": "betaTester"
}, {
"message": "Cannot update field with current privileges",
"path": "betaDeviceTester"
}, {
"message": "Cannot update field with current privileges",
"path": "ratingProfile"
}, {
"message": "Cannot update field with current privileges",
"path": "contractType"
}, {
"message": "Cannot update field with current privileges",
"path": "aastra31NewLayout"
}, {
"message": "Cannot update field with current privileges",
"path": "blockedOutbound"
}, {
"message": "Cannot update field with current privileges",
"path": "sipCustomPort"
}, {
"message": "Cannot update field with current privileges",
"path": "ctiBillingMode"
}, {
"message": "Value is invalid. must be one of: OFF,FULL",
"path": "voicemailNotificationMode",
"value": "BOOM"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Another%20Rating%20Profile"
}],
"data": [{
"name": "betaTester",
"value": false
}, {
"name": "betaDeviceTester",
"value": false
}, {
"name": "contractType",
"value": "vollVersion"
}, {
"name": "aastra31NewLayout",
"value": false
}, {
"name": "blockedOutbound",
"value": false
}, {
"name": "sipCustomPort",
"value": false
}, {
"name": "ctiBillingMode",
"value": "OFF"
}]
}
Then I should receive HTTP/1.1 403 Forbidden {
"detail": "Customer 'K0002' is blocked. This operation is not allowed",
"title": "Customer is blocked",
"described_by": "http://api.nfon.net/probs/customer-is-blocked"
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "countOfTrunks",
"value": "INVALID"
}, {
"name": "evnMode",
"value": "INVALID"
}, {
"name": "contractType",
"value": "INVALID"
}, {
"name": "ctiBillingMode",
"value": "INVALID"
}, {
"name": "clickToDialState",
"value": "INVALID"
}, {
"name": "nmeeting",
"value": "INVALID"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"detail": "Could not create or update resource due to constraint violations",
"title": "Validation error",
"errors": [{
"message": "Unknown enum value. Allowed values: [ONE_DIGIT, TWO_DIGIT, THREE_DIGIT, FOUR_DIGIT]",
"path": "countOfTrunks",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "countOfTrunks",
"value": null
}, {
"message": "Unknown enum value. Allowed values: [NEVER, SHORTEN, FULL]",
"path": "evnMode",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "evnMode",
"value": null
}, {
"message": "Unknown enum value. Allowed values: [nvoice, nbasic, ncomplete, nlight, nconnect, globalapp, vollVersion, nhospitalityBasic, nhospitalityStandard, nhospitalityPro, nfonBusiness, business_standard, business_premium, siptrunk, nconnect_voice, centrexx30, centrexx30_premium, CloudPBX2025]",
"path": "contractType",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "contractType",
"value": null
}, {
"message": "Unknown enum value. Allowed values: [ON, OFF, TRIAL]",
"path": "ctiBillingMode",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "ctiBillingMode",
"value": null
}, {
"message": "Unknown enum value. Allowed values: [OFF, ON_FIXED_NUMBER, ON, DEFAULT, UNKNOWN]",
"path": "clickToDialState",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "clickToDialState",
"value": null
}, {
"message": "Unknown enum value. Allowed values: [DEACTIVATED, UNITS, FLATRATE, FLATRATE_UNITS]",
"path": "nmeeting",
"value": "INVALID"
}, {
"message": "Value cannot be null",
"path": "nmeeting",
"value": null
}],
"described_by": "http://api.nfon.net/probs/validation-error"
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": null
}],
"data": [{
"name": "countOfTrunks",
"value": null
}, {
"name": "speedDialLength",
"value": null
}, {
"name": "deviceCreationPassword",
"value": null
}, {
"name": "evnMode",
"value": null
}, {
"name": "projectNumberLength",
"value": null
}, {
"name": "contractType",
"value": null
}, {
"name": "ctiBillingMode",
"value": null
}, {
"name": "clickToDialState",
"value": null
}, {
"name": "nmeeting",
"value": null
}, {
"name": "lockDeviceWebserver",
"value": null
}, {
"name": "portLock",
"value": null
}, {
"name": "intercomEnabled",
"value": null
}, {
"name": "betaTester",
"value": null
}, {
"name": "betaDeviceTester",
"value": null
}, {
"name": "aastra31NewLayout",
"value": null
}, {
"name": "sipCustomPort",
"value": null
}, {
"name": "ccbs",
"value": null
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": null
}, {
"name": "vlanProvisioning",
"value": null
}, {
"name": "blockedOutbound",
"value": null
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Value cannot be null",
"path": "countOfTrunks",
"value": null
}, {
"message": "Value cannot be null",
"path": "speedDialLength",
"value": null
}, {
"message": "Value cannot be null",
"path": "deviceCreationPassword",
"value": null
}, {
"message": "Value cannot be null",
"path": "evnMode",
"value": null
}, {
"message": "Value cannot be null",
"path": "projectNumberLength",
"value": null
}, {
"message": "Value cannot be null",
"path": "contractType",
"value": null
}, {
"message": "Value cannot be null",
"path": "ctiBillingMode",
"value": null
}, {
"message": "Value cannot be null",
"path": "clickToDialState",
"value": null
}, {
"message": "Value cannot be null",
"path": "nmeeting",
"value": null
}, {
"message": "Value cannot be null",
"path": "lockDeviceWebserver",
"value": null
}, {
"message": "Value cannot be null",
"path": "portLock",
"value": null
}, {
"message": "Value cannot be null",
"path": "intercomEnabled",
"value": null
}, {
"message": "Value cannot be null",
"path": "betaTester",
"value": null
}, {
"message": "Value cannot be null",
"path": "betaDeviceTester",
"value": null
}, {
"message": "Value cannot be null",
"path": "aastra31NewLayout",
"value": null
}, {
"message": "Value cannot be null",
"path": "sipCustomPort",
"value": null
}, {
"message": "Value cannot be null",
"path": "ccbs",
"value": null
}, {
"message": "Value cannot be null",
"path": "mediaGatewayEmergencyDialplanEnabled",
"value": null
}, {
"message": "Value cannot be null",
"path": "vlanProvisioning",
"value": null
}, {
"message": "Value cannot be null",
"path": "blockedOutbound",
"value": null
}, {
"message": "Value cannot be null",
"path": "ratingProfile",
"value": null
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "speedDialLength",
"value": -1
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Value must be between 0 and 4",
"path": "speedDialLength",
"value": -1
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "projectNumberLength",
"value": 7
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Value must be between 0 and 6",
"path": "projectNumberLength",
"value": 7
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "vmPasswordLengthMax",
"value": 3
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Value must be between 4 and 32",
"path": "vmPasswordLengthMax",
"value": 3
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "vmPasswordLengthMin",
"value": 33
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Value must be between 4 and 32",
"path": "vmPasswordLengthMin",
"value": 33
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "vmPasswordLengthMax",
"value": null
}, {
"name": "vmPasswordLengthMin",
"value": null
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"data": [{
"name": "vmPasswordLengthMin",
"value": null
}, {
"name": "vmPasswordLengthMax",
"value": null
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "vmPasswordLengthMin",
"value": 31
}, {
"name": "vmPasswordLengthMax",
"value": 12
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Password minimum length has to be less than maximum",
"path": "vmPasswordLengthMin",
"value": 31
}, {
"message": "Password minimum length has to be less than maximum",
"path": "vmPasswordLengthMax",
"value": 12
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "deviceCreationPassword",
"value": "wrong"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Password must be at least 8 characters long",
"path": "deviceCreationPassword",
"value": "wrong"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "deviceCreationPassword",
"value": "stillwronggg"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Password must contain lowercase, uppercase, number and special character",
"path": "deviceCreationPassword",
"value": "stillwronggg"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "deviceCreationPassword",
"value": "sT!1wron|{{{"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Only letters (without special characters and umlauts), numbers and the characters \\!#$%()*+,-./;<@'_\" are allowed.",
"path": "deviceCreationPassword",
"value": "sT!1wron|{{{"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0003/rating-profiles/Rating%20Profile%202"
}]
}
Then I should receive HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Rating Profile [Rating Profile 2] does not belong to Operator [C0002]",
"path": "ratingProfile",
"value": "/api/operators/C0003/rating-profiles/Rating%20Profile%202"
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "ctiBillingMode",
"value": "TRIAL"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "nconnect"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": null
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": false
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "voicemailTranscriptionEnabled",
"value": true
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"data": [{
"name": "voicemailTranscriptionEnabled",
"value": true
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "voicemailTranscriptionEnabled",
"value": true
}]
}
Then I should receive HTTP/1.1 403 Forbidden /api/customers/K0002/options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/options",
"links": [{
"rel": "ratingProfile",
"href": "/api/operators/C0002/rating-profiles/Rating%20Profile%201"
}, {
"rel": "availableRatingProfiles",
"href": "/api/operators/C0002/rating-profiles/available"
}, {
"rel": "availableCountOfTrunks",
"href": "/api/customers/K0002/count-of-trunks"
}, {
"rel": "availableEvnModes",
"href": "/api/customers/K0002/evn-modes"
}, {
"rel": "availableContractTypes",
"href": "/api/contract-types"
}, {
"rel": "availableCtiBillingModes",
"href": "/api/customers/K0002/cti-billing-modes"
}, {
"rel": "availableClickToDialStates",
"href": "/api/customers/K0002/click-to-dial-states"
}, {
"rel": "availableNmeetingOptions",
"href": "/api/customers/K0002/nmeeting-options"
}, {
"rel": "timezone",
"href": "/api/time-zones/UTC"
}],
"data": [{
"name": "countOfTrunks",
"value": "TWO_DIGIT"
}, {
"name": "speedDialLength",
"value": 3
}, {
"name": "deviceCreationPassword",
"value": "***"
}, {
"name": "evnMode",
"value": "SHORTEN"
}, {
"name": "projectNumberLength",
"value": 5
}, {
"name": "contractType",
"value": "business_premium"
}, {
"name": "ctiBillingMode",
"value": "TRIAL"
}, {
"name": "clickToDialState",
"value": "ON_FIXED_NUMBER"
}, {
"name": "nmeeting",
"value": "FLATRATE"
}, {
"name": "vmPasswordLengthMin",
"value": 22
}, {
"name": "vmPasswordLengthMax",
"value": 31
}, {
"name": "operatorVmPasswordLengthMin",
"value": 6
}, {
"name": "operatorVmPasswordLengthMax",
"value": 12
}, {
"name": "sipTransport",
"value": "UDP"
}, {
"name": "lockDeviceWebserver",
"value": true
}, {
"name": "portLock",
"value": true
}, {
"name": "intercomEnabled",
"value": true
}, {
"name": "betaTester",
"value": true
}, {
"name": "betaDeviceTester",
"value": true
}, {
"name": "aastra31NewLayout",
"value": true
}, {
"name": "sipCustomPort",
"value": true
}, {
"name": "ccbs",
"value": true
}, {
"name": "mediaGatewayEmergencyDialplanEnabled",
"value": true
}, {
"name": "nmqEnabled",
"value": false
}, {
"name": "vlanProvisioning",
"value": true
}, {
"name": "acureusBilling",
"value": true
}, {
"name": "blockedOutbound",
"value": true
}, {
"name": "trialPeriod",
"value": true
}, {
"name": "trialPermanent",
"value": false
}, {
"name": "newBss",
"value": false
}, {
"name": "blockedAt",
"value": "2014-01-01T12:00:00+0100"
}, {
"name": "ratingProfileName",
"value": "Rating Profile 1"
}, {
"name": "dialWithoutPrefix",
"value": false
}, {
"name": "dialPrefix",
"value": "0"
}, {
"name": "disableT38",
"value": false
}, {
"name": "previewFeatureEnabled",
"value": true
}, {
"name": "coachingEnabled",
"value": false
}, {
"name": "language",
"value": "en"
}, {
"name": "voicemailTranscriptionEnabled",
"value": false
}, {
"name": "operatorTPSAvailable",
"value": false
}, {
"name": "presenceTeamsConnectorEnabled",
"value": false
}, {
"name": "voicemailNotificationMode",
"value": "FULL"
}, {
"name": "operatorLdapVisible",
"value": false
}, {
"name": "operatorNmqEnabled",
"value": false
}]
}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "voicemailTranscriptionEnabled",
"value": true
}]
}
Then I should receive HTTP/1.1 400 Bad Request {}
/api/customers/K0002/options application/json; charset=UTF-8
and following body"
{
"data": [{
"name": "voicemailTranscriptionEnabled",
"value": true
}]
}
Then I should receive HTTP/1.1 403 Forbidden {}