InsertEnterpriseAccount

  • Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData2.asmx

  • MPS Version: From 5.25.0

Description

This method assigns a user (either a new user or a portal 360 user) as the administrator for a company's printers, allowing them access to the Service Portal.

Syntax

public string InsertEnterpriseAccount(string properties)

Setting Properties

The content of string properties must be text in JSON format containing the properties listed below. For example:

{"DealerName":"dealer","DealerUserEmail":"user@example.com","DealerUserPassword":"k1BAv1w=="}

You don't need to worry about whether property names are uppercase or lowercase; the Web Service is Case-Insensitive.

Properties accepted by the method

Property

Type

Required

Allows null

Allows empty

Maximum size

Description

DealerName

Text

Yes

-

-

-

Provider Name

 DealerUserEmail

Text

Yes

-

-

-

Provider User Email

 DealerUserPassword

Text

Yes

-

-

-

Encrypted User Password

EnterpriseID

Number

Yes

-

-

-

Company identification number recognized by the system. Obtained via the GetEnterprises method

Email

Text

Yes

-

-

255

User Access Email

FullName

Text

Yes

-

-

255

User Full Name

LocalAuthentication

Logical

Yes

-

-

-

Indicates whether to use local authentication (false - To use portal 360 authentication; true - To use local authentication)

Password

Text

No

-

-

255

New encrypted user password for access to the Service Portal (required when LocalAuthentication is true)

CellPhone

Text

No

-

-

20

User contact cell phone number

Phone

Text

No

-

-

20

User contact phone number

Language

Text

No

-

-

5

User language. Options: pt-BR, en-US, or es-ES (if not specified, the default is pt-BR)

IsResponsibleForAllPrinters

Logical

No

-

-

-

Indicates whether the user will be responsible for all company printers (if not specified, the default value is false)

Return

If successful, the return value is: [{“EnterpriseAccountID”:number}], where number is the ID number of the newly added user.

Click here to learn more about the response format.

Possible errors returned

Click here to view the possible errors that may be returned and learn their reasons.

Restrictions

  • To execute this method, the specified user must be an Administrator on the provider.