Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Current »

Description

This web method returns a Boolean value indicating update is success or not . This web method can be accessed by company admin users to edit their company profiles and Special users with 'Franchiser' role to update details of any company. If null or empty values provided for optional fields, those will be saved to database replacing the existing database values. Therefore it is advised to use GetCompanies web method first and get the details of company, and then pass those details along with changed values to UpdateCompanyProfile web method.

If you have updated your company details properly using this web method, your company profile will be displayed to Boligmappa Property owners as follows

Request

Parameter

Type

Mandatory/Optional

Comments

inputUpdateCompanyProfileInputMandatoryUpdateCompanyProfile input model
applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service – (Length of the ApplicationName should be less than or equal to 10)

Note: Other company information like company name, address, etc. which are not available in UpdateCompanyProfileInput, are taken directly from Proff API


Response

Type

Description

UpdateCompanyProfileOutputUpdateCompanyProfile Output Model

 

UpdateCompanyProfileOutput

Parameter

Type

Comments

IsUpdatedSuccessfullyboolIs updated successfully

 

Exceptions

Error Code

Description

113

Input parameters contain null or invalid data

123An exception occurred while processing your request
138 ApplicationName length is exceeded maximum allowed character limit (10)
146The application name is not set
167You are not authorized to use this web method
258Unable to find a company registered for the given organization number
336

Contact person name/ contact Person role has exceeded maximum length (50) 

369Maximum length of Email is exceeded (50)
377You are not authorized to perform this operation
378Maximum length of facebook address/ website address/ help link is exceeded (250)
379One or more of given Base64 strings as image inputs are not valid images
380If HelpLinkButtonText/HelpLink is given it is mandatory to give HelpLink/HelpLinkButtonText
381Maximum length of HelpLinkButtonText is exceeded (25)
382One or more of the given images are more than 2MB in size
383Maximum length of Company Description is exceeded (600)
384Either Company Email or Contact Person Email is not in the correct format
385Either Company telephone number or Contact person telephone number is not valid
386One or more of the given URLs for image inputs are not valid Image file type
387Both URL and Data are provided for one or more of the inputs. Use either one in each input
  • No labels