Create a DSS Trunk from a Preset
POST
Provision a DSS trunk using a visible preset and the supplied field values. Requires the trunksip_add authority.
The response includes an actionObject. Use its module, organization, object type, object identifier, and context to discover and execute the runtime actions available for the new trunk.
application/json- body
presetId*integerFormat
int64Range
1 <= valueidCustomer*integerRange
1 <= valueorganizationId?integerOrganization identifier. Use 0 to resolve it from the authenticated user.
Format
int64Range
0 <= valueDefault
0parameters?Values for the configurable preset fields.
DSS trunk provisioned successfully.
application/json- response
presetId*integerFormat
int64presetCode*stringlabel*stringstatus*stringdata*Public provisioning outputs. Sensitive or one-time values may be included.
actionObject*curl -X POST 'https://api.eis.it/v1/voip/dss/trunks' \ -H 'Content-Type: application/json' \ -d '{ "presetId": 1, "idCustomer": 1}'Example Response
{ "presetId": 0, "presetCode": "string", "label": "string", "status": "string", "data": {}, "actionObject": { "moduleId": 1, "organizationId": 1, "objectType": "string", "objectId": "string", "context": { "property1": "string", "property2": "string" } }}