InsertNewDemand

  • Web Service URL: https://[SERVER_ADDRESS]/ServicesDeskWS/ServicesDeskData.asmx

  • MPS Version: From 5.13.0

Description

This method requests a new demand. The default material will be used to place the demand. If it is not configured, the material from the origin or a compatible material will be used. If no material is available, the demand cannot be placed under any circumstances.

Syntax

public string InsertNewDemand(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

EnterpriseName

Text

Yes

-

-

-

Company name

EnterpriseAccountEmail

Text

Yes

-

-

-

Company user email

EnterpriseAccountPassword

Text

Yes

-

-

-

Encrypted user password

EnterprisePrinterDeviceSlotID

Number

Yes

-

-

-

Supply ID recognized by the printer in the system

UTCExpectedDate

Date

Yes

-

-

-

Expected delivery deadline (in UTC 0) (Format yyyy-MM-dd)

Comment

Text

No

-

-

-

Additional information explaining the reason for the request

Response

If successful, the response is: [{“UserSupplyDemandID”:number}].

Click here to learn more about the response format.

Possible errors returned

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

Restrictions

  • Allows you to place a supply demand for printers that have compatible supplies;

  • The user must be responsible for the printer for which they wish to place the request;

  • This method can only be used when the provider is not configured to operate in basic mode.