SetStockToSite

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

  • MPS Version: From 5.3.0

Description

This method assigns stock to a provider company site.

Syntax

public string SetStockToSite(string dealerName, string dealerUserEmail, string dealerUserPassword, int enterpriseID, int siteID, int stockID)

Parameters

  • dealerName: Provider name;

  • dealerUserEmail: Provider user email;

  • dealerUserPassword: Encrypted user password;

  • enterpriseID: Identifier of the company in the MPS Portal to which the printer belongs;

  • siteID: ID of the site whose stock will be changed;

  • stockID: Customer stock ID that will be assigned to the site.

Return

Click here to learn more about the return format.

Possible errors returned

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

Restrictions

  • To execute this method, the user must be an Administrator at the provider;

  • The Customer Stock to be assigned cannot be related to sites of other companies of the provider. Only Customer Stocks related to other sites of the same company or without a relationship can be assigned to the site in question.