Enterprise Proxy Insert Enterprise Proxy Enterprise

Enterprise Proxy Insert Enterprise Proxy Enterprise

Creates a new enterprise owned by an MSP. Whereas the insertEnterprise method creates an enterprise in the global or network context with no MSP association, this method creates one owned by an MSP, as determined by the credentials of the caller.

Privileges required:

CREATE ENTERPRISE

Request
URI
POST
https://{api_host}/portal/rest/enterpriseProxy/insertEnterpriseProxyEnterprise
COPY
Request Body
Required
This request body class requires all of the following: Inlineenterprise_proxy_insert_enterprise_proxy_enterprise1
{
    "id": 0,
    "created": "string",
    "name": "string",
    "contactName": "string",
    "contactPhone": "string",
    "contactMobile": "string",
    "contactEmail": "string",
    "streetAddress": "string",
    "streetAddress2": "string",
    "city": "string",
    "state": "string",
    "postalCode": "string",
    "country": "string",
    "lat": "number",
    "lon": "number",
    "timezone": "string",
    "locale": "string",
    "shippingSameAsLocation": 0,
    "shippingContactName": "string",
    "shippingAddress": "string",
    "shippingAddress2": "string",
    "shippingCity": "string",
    "shippingState": "string",
    "shippingCountry": "string",
    "shippingPostalCode": "string",
    "modified": "string",
    "gatewayPoolId": 0,
    "networkId": 0,
    "returnData": false,
    "user": {
        "email": "string",
        "password": "string",
        "password2": "string",
        "username": "string"
    },
    "enableEnterpriseDelegationToOperator": false,
    "enableEnterpriseDelegationToProxy": false,
    "enableEnterpriseUserManagementDelegationToOperator": false,
    "delegateEdgeImageManagementToEnterprise": false,
    "enableExportRestriction": false,
    "assignedOperatorProfileConfigurationIds": [
        0
    ],
    "configurationId": 0,
    "licenses": {
        "ids": [
            0
        ]
    },
    "enterpriseProxyId": 0
}
Responses
200

Request was successfully processed

"enterprise_proxy_insert_enterprise_proxy_enterprise_result Object"

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/enterpriseProxy/insertEnterpriseProxyEnterprise