[Index]
CustomerBuild_CustomerData_REL
Model ref.: relation/CustomerBuild_CustomerData_REL
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "CustomerBuild_Name": { "required": true, "type": "string", "description": "Structured name of Customer (using naming convention)", "title": "CustomerBuild Name *" }, "CustomerBuild_Action": { "description": "AddDataOnly, Validate, Add, Modify, Delete", "title": "CustomerBuild Action", "required": true, "choices": [ { "value": "AddDataOnly", "title": "AddDataOnly" }, { "value": "Validate", "title": "Validate" }, { "value": "Add", "title": "Add" }, { "value": "Modify", "title": "Modify" }, { "value": "DeleteCustomer", "title": "DeleteCustomer" }, { "value": "DeletecustomerData", "title": "DeletecustomerData" }, { "value": "DeleteCustomerAndcustomerData", "title": "DeleteCustomerAndcustomerData" }, { "value": "ReprovisionCustomer", "title": "ReprovisionCustomer" } ], "type": "string" }, "CustomerBuild_Type": { "description": "Select: StandardCustomer, LinkedCustomer-Parent, LinkedCustomer-Child", "title": "CustomerBuild Type", "required": true, "choices": [ { "value": "CiscoCustomer", "title": "CiscoCustomer" }, { "value": "MicrosoftCustomer", "title": "MicrosoftCustomer" }, { "value": "HybridCustomer", "title": "HybridCustomer" }, { "value": "MicrosoftOperatorConnectOnlyCustomer", "title": "MicrosoftOperatorConnectOnlyCustomer" }, { "value": "CallRedirectionOnlyCustomer", "title": "CallRedirectionOnlyCustomer" }, { "value": "Generic", "title": "Generic" } ], "type": "string" }, "CustomerBuild_Status": { "description": "Select: Pending, Partially Loaded, Loaded, Operational", "title": "Customer Activation Status", "required": false, "choices": [ { "value": "Pending", "title": "Pending" }, { "value": "Partially Loaded", "title": "Partially Loaded" }, { "value": "Loaded", "title": "Loaded" }, { "value": "Build Started", "title": "Build Started" }, { "value": "Build Completed", "title": "Build Completed" }, { "value": "Operational", "title": "Operational" } ], "type": "string" }, "CustomerBuild_CFT": { "required": true, "type": "string", "description": "Select: From available CFTs starting with CustomerBuild_CFT", "title": "Customer Build Configuration Template" }, "CustomerBuild_Notes": { "required": false, "type": "string", "description": "Text field for general notes", "title": "Customer Build Notes (Text Box)" }, "CustomerBuild_Custom1": { "required": false, "type": "string", "description": "Optional data field for use by CustomerBuild CFTs", "title": "Other Customer Build Settings 1" }, "CustomerBuild_Custom2": { "required": false, "type": "string", "description": "Optional data field for use by CustomerBuild CFTs", "title": "Other Customer Build Settings 2" }, "CustomerBuild_ValidData": { "required": false, "type": "boolean", "description": "Result of CustomerBuild Validation Check", "title": "Customer Build Valid?" }, "CustomerBuild_ValidationMessages": { "required": false, "type": "string", "description": "Result of CustomerBuild Validation Check", "title": "Customer Build Validation Messages" }, "CustomerBuildSteps": { "description": "Template Steps to execute", "title": "Customer Build Steps", "minItems": 1, "items": { "type": "object", "properties": { "StepName": { "required": true, "type": "string", "description": "Name of Customer Build Step Template", "title": "Customer Build Step Name" }, "StepDescription": { "type": "string", "description": "Function of this step", "title": "Description" }, "loopThrough": { "type": "string", "description": "Loop through input data", "title": "Loop Through" }, "StepStatus": { "type": "string", "description": "Result of Customer Build Step Execution", "title": "Customer Build Step Status" } } }, "type": "array" }, "updateSteps": { "description": "Update Mappings", "title": "Update Steps", "minItems": 0, "items": { "type": "object", "properties": { "StepName": { "required": true, "type": "string", "description": "Name of Customer Build Step Template", "title": "Step Name" }, "StepDescription": { "type": "string", "description": "Function of this step", "title": "Description" }, "attribute": { "required": true, "type": "string", "description": "Changed Attribute", "title": "Changed Attribute" }, "action": { "choices": [ { "value": "Add", "title": "Add" }, { "value": "Update", "title": "Update" }, { "value": "Delete", "title": "Delete" } ], "type": "string", "description": "Action", "title": "Action" } } }, "type": "array" }, "deleteSteps": { "description": "Delete Mappings", "title": "Delete Steps", "minItems": 0, "items": { "type": "object", "properties": { "StepName": { "required": true, "type": "string", "description": "Name of Delete Step Template", "title": "Delete Step Name" }, "StepDescription": { "type": "string", "description": "Function of this step", "title": "Description" }, "loopThrough": { "type": "string", "description": "Loop through input data", "title": "Loop Through" }, "StepStatus": { "type": "string", "description": "Result of Delete Step Execution", "title": "Delete Step Status" } } }, "type": "array" }, "description": { "required": false, "type": "string", "description": "Customer Description", "title": "Description" }, "displayName": { "required": false, "type": "string", "description": "Customer Display Name", "title": "Display Name" }, "shortName": { "required": false, "type": "string", "description": "Customer Short Name", "title": "Short Name" }, "extendedName": { "required": false, "type": "string", "description": "Customer Long Name", "title": "Extended Name" }, "externalID": { "required": false, "type": "string", "description": "Customer External ID", "title": "External ID" }, "internalID": { "required": false, "type": "string", "description": "Customer Internal ID", "title": "Internal ID" }, "accountID": { "required": false, "type": "string", "description": "Customer Account ID", "title": "Account ID" }, "contactName": { "required": false, "type": "string", "description": "Customer Contact Name", "title": "Contact Name" }, "contactEmail": { "required": false, "type": "string", "description": "Customer Contact Email", "title": "Contact Email" }, "streetAddress1": { "required": false, "type": "string", "description": "Customer Address Line 1", "title": "Address 1 *" }, "streetAddress2": { "required": false, "type": "string", "description": "Customer Address Line 2", "title": "Address 2" }, "streetAddress3": { "required": false, "type": "string", "description": "Customer Address Line 3", "title": "Address 3" }, "city": { "required": false, "type": "string", "description": "Customer City", "title": "City" }, "state": { "required": false, "type": "string", "description": "Customer State or County", "title": "State" }, "postalCode": { "required": false, "type": "string", "description": "Customer ZIP Code or Postal Code", "title": "Postal Code" }, "Country": { "required": false, "type": "string", "description": "Select: From data/countries", "title": "Country" }, "CustomerNumber": { "required": false, "type": "string", "description": "Customer Phone Number", "title": "Customer Number" }, "numberRanges": { "items": { "type": "object", "properties": { "numberRange": { "type": "string", "description": "E164 Number or Range using X wildcards", "title": "Number Range" }, "translatedNumber": { "type": "string", "description": "Number to translate to", "title": "Translated Number" }, "ocUsageTemplate": { "type": "string", "description": "Microsoft Operator connect usage template", "title": "Operator Connect Usage Template" } } }, "type": "array", "description": "E164 Number Ranges", "title": "Number Ranges" }, "cucmInstances": { "items": { "type": "object", "properties": { "name": { "required": false, "type": "string", "description": "CUCM Name", "title": "Name" }, "isUCPublisher": { "required": false, "type": "string", "description": "Is UC Publisher", "title": "Is UC Publisher" }, "clusterName": { "required": false, "type": "string", "description": "CUCM Cluster Name", "title": "Cluster Name" }, "version": { "required": false, "type": "string", "description": "CUCM Version", "title": "Version" }, "host": { "required": false, "type": "string", "description": "CUCM Host", "title": "Host" }, "port": { "required": false, "type": "string", "description": "CUCM Port", "title": "Port" }, "username": { "required": false, "type": "string", "description": "CUCM Username", "title": "Username" }, "password": { "is_password": true, "description": "CUCM Password", "title": "Password", "required": false, "type": "string" } } }, "type": "array", "description": "CUCM Instances", "title": "CUCM Instances" }, "cucInstances": { "items": { "type": "object", "properties": { "name": { "required": false, "type": "string", "description": "CUC Name", "title": "Name" }, "clusterName": { "required": false, "type": "string", "description": "CUC Cluster Name", "title": "Cluster Name" }, "version": { "required": false, "type": "string", "description": "CUC Version", "title": "Version" }, "host": { "required": false, "type": "string", "description": "CUC Host", "title": "Host" }, "username": { "required": false, "type": "string", "description": "CUC Username", "title": "Username" }, "password": { "is_password": true, "description": "CUC Password", "title": "Password", "required": false, "type": "string" } } }, "type": "array", "description": "CUC Instances", "title": "CUC Instances" }, "uccxInstances": { "items": { "type": "object", "properties": { "name": { "required": false, "type": "string", "description": "UCCX Name", "title": "Name" }, "version": { "required": false, "type": "string", "description": "UCCX Version", "title": "Version" }, "host": { "required": false, "type": "string", "description": "UCCX Host", "title": "Host" }, "username": { "required": false, "type": "string", "description": "UCCX Username", "title": "Username" }, "password": { "is_password": true, "description": "UCCX Password", "title": "Password", "required": false, "type": "string" } } }, "type": "array", "description": "UCCX Instances", "title": "UCCX Instances" }, "webexAppName": { "required": false, "type": "string", "description": "Webex App Name", "title": "Webex App Name" }, "webexAppAccountNumber": { "required": false, "type": "string", "description": "Webex App Account Number", "title": "Webex App Account Number" }, "cb_dp_cft": { "required": false, "type": "string", "description": "Customer Dialplan CFT", "title": "Customer Dialplan CFT" }, "extPrefixRequired": { "required": false, "type": "boolean", "description": "Control Field for extPrefix requirement", "title": "extPrefix Required" }, "ispRequired": { "required": false, "type": "boolean", "description": "Control Field for ISP requirement", "title": "ISP Required" }, "isp": { "is_password": false, "description": "Inter-site prefix if ISP required for inter-site dialing.", "title": "Dial Plan - Inter-Site Prefix", "pattern": "^$|^[0-9]+$", "required": false, "displayable": false, "readonly": false, "maxLength": 1, "type": "string" }, "extPrefix": { "is_password": false, "description": "Specify an optional extension prefix for this customer. Each site can select whether this extension prefix will be required.", "title": "Dial Plan - Extension prefix", "pattern": "^$|^[0-9#*]+$", "required": false, "displayable": false, "readonly": false, "maxLength": 1, "type": "string" }, "msTenantName": { "required": false, "type": "string", "description": "Microsoft Tenant Name", "title": "Microsoft Tenant Name" }, "tenant_description": { "required": false, "type": "string", "description": "Microsoft Tenant Description", "title": "Microsoft Tenant Description" }, "msPsProxyAddress": { "required": false, "type": "string", "description": "IP Address/FQDN of the Powershell proxy", "title": "Microsoft Powershell Proxy Address" }, "msPsProxyUsername": { "required": false, "type": "string", "description": "Powershell proxy username", "title": "Microsoft Powershell Proxy Username" }, "msPsProxyPassword": { "is_password": true, "description": "Powershell proxy password", "title": "Microsoft Powershell Proxy password", "required": false, "type": "string" }, "azureUsername": { "required": false, "type": "string", "description": "Azure Online (O365) username", "title": "Azure Online username" }, "azurePassword": { "is_password": true, "description": "Azure Online (O365) password", "title": "Azure Online password", "required": false, "type": "string" }, "msTeamsUsername": { "required": false, "type": "string", "description": "MS teams username", "title": "MS Teams Online username" }, "msTeamsPassword": { "is_password": true, "description": "MS teams password", "title": "MS Teams Online password", "required": false, "type": "string" }, "msTeamsAdminDomain": { "required": false, "type": "string", "description": "MS teams Admin Domain", "title": "MS Teams Online Admin Domain" }, "client_id": { "type": "string", "title": "Client ID" }, "tenant_id": { "type": "string", "title": "Tenant ID" }, "client_secret": { "is_password": true, "type": "string", "description": "A Client (application) Secret, either a password or a public/private key pair (certificate).", "title": "Secret" }, "sbcInstances": { "items": { "type": "object", "properties": { "sbcInstance": { "type": "string", "description": "SBC Instance", "title": "SBC Instance" } } }, "type": "array", "description": "SBC Instances", "title": "SBC Instances" }, "ecbInstances": { "items": { "type": "object", "properties": { "ecbInstance": { "type": "string", "description": "ECB Instance", "title": "ECB Instance" } } }, "type": "array", "description": "ECB Instances", "title": "ECB Instances" }, "noInstance": { "title": "No Instance", "type": "object", "properties": { "name": { "is_password": false, "title": "Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } } } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/CustomerBuild_CustomerData_REL/add/ |
|
The GUI Add form of relation/CustomerBuild_CustomerData_REL as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Create | POST | /api/relation/CustomerBuild_CustomerData_REL | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/relation/CustomerBuild_CustomerData_REL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/CustomerBuild_CustomerData_REL/[pkid1]", "/api/relation/CustomerBuild_CustomerData_REL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/CustomerBuild_CustomerData_REL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/CustomerBuild_CustomerData_REL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/CustomerBuild_CustomerData_REL/export/ |
|
{ "hrefs":["/api/relation/CustomerBuild_CustomerData_REL/[pkid1]", "/api/relation/CustomerBuild_CustomerData_REL/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of relation/CustomerBuild_CustomerData_REL and the JSON format can be used to import instances of relation/CustomerBuild_CustomerData_REL.
GET http://[host-proxy]/api/relation/CustomerBuild_CustomerData_REL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/CustomerBuild_CustomerData_REL | POST | /api/relation/CustomerBuild_CustomerData_REL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/relation/CustomerBuild_CustomerData_REL/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/CustomerBuild_CustomerData_REL/ |
|
The relation/CustomerBuild_CustomerData_REL schema and all instances as JSON. |
(The list will return 0 to 3 relation/CustomerBuild_CustomerData_REL instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": "CustomerBuild_Name", "direction": "asc", "current": "/api/relation/CustomerBuild_CustomerData_REL/?skip=0&limit=3&order_by=CustomerBuild_Name&direction=asc&traversal=down" }, "operations": [ "update", "help", "remove", "field_display_policy", "add", "export", "list", "configuration_template", "get", "bulk_update", "clone", "export_bulkload_template" ], "meta": { "model_type": "relation/CustomerBuild_CustomerData_REL", "summary_attrs": [ { "name": "CustomerBuild_Name", "title": "CustomerBuild Name *" }, { "name": "CustomerBuild_Action", "title": "CustomerBuild Action" }, { "name": "CustomerBuild_ValidData", "title": "Customer Build Valid?" }, { "name": "CustomerBuild_Type", "title": "CustomerBuild Type" }, { "name": "CustomerBuild_Status", "title": "Customer Activation Status" }, { "name": "CustomerBuild_CFT", "title": "Customer Build Configuration Template" }, { "name": "city", "title": "City" }, { "name": "Country", "title": "Country" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "self": [ { "href": "/api/relation/CustomerBuild_CustomerData_REL/None/", "pkid": null } ] }, "model_specific_actions": [ "update", "help", "remove", "add", "export", "list", "configuration_template", "get", "clone", "export_bulkload_template" ], "schema_version": null, "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/relation/CustomerBuild_CustomerData_REL/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/CustomerBuild_CustomerData_REL/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/relation/CustomerBuild_CustomerData_REL/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/relation/CustomerBuild_CustomerData_REL/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/relation/CustomerBuild_CustomerData_REL/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/relation/CustomerBuild_CustomerData_REL/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/CustomerBuild_CustomerData_REL/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/CustomerBuild_CustomerData_REL. | GET | /api/relation/CustomerBuild_CustomerData_REL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/CustomerBuild_CustomerData_REL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/CustomerBuild_CustomerData_REL/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/CustomerBuild_CustomerData_REL/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/relation/CustomerBuild_CustomerData_REL/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/relation/CustomerBuild_CustomerData_REL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/CustomerBuild_CustomerData_REL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/CustomerBuild_CustomerData_REL/[pkid]/export |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of relation/CustomerBuild_CustomerData_REL and the JSON format can be used to import instances of relation/CustomerBuild_CustomerData_REL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/CustomerBuild_CustomerData_REL/[pkid] | hierarchy=[hierarchy] | The relation/CustomerBuild_CustomerData_REL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/CustomerBuild_CustomerData_REL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/CustomerBuild_CustomerData_REL. |