Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This web method allows a Franchiser franchise company to send a list of member company Organization Numbers OrganizationNumbers and Franchiser the franchiser company logo. This web method can only be accessed by users with Special special Franchiser Rolerole access. It is required to send all the member company's Organization Numbers companies OrganizationNumbers when updating the member company list. Previous member companies would be are removed from membership if their organisation Numbers numbers are not provided. If the company logo is not provided, the existing value in Database the database for the company logo will be replaced with by an empty value.

If an error occurred occurs while updating a member company, the relevant error code will be is given in the output along with the relevant Organization number. Then that member company won't be updated in DatabaseOrganizationNumber and the database is not be updated. If no error occurred while updating a member company then error errors occur during the update, the error code for that organization number OrganizationNumber will be 0. 


Note : 

Make sure to provide full list of members every time an update is done as it will remove the member companies which are not provided. For eg. if you already have 100 member companies and wants to add 5 new member companies you have to provide the list with all 105 members. If you provide only the 5 new members, you will have only 5 member companies ultimately. So, this same web method can be used to add or remove members by providing the current member company list.

Request

ParameterTypeMandatory/OptionalCommentsMaximum character length/limitDescription
inputSetMemberStatusInputMandatoryNot relevantSet member status input model
applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service – (Length of the ApplicationName should Should be less than or equal to 10 )

...

charactersThe name of the integration partner.


Response

TypeDescription
SetMemberStatusOutputSet Member Status Output Model

...

model


Exceptions

Error CodeDescription
113One or more mandatory fields have not been provided 
123An exception occurred while processing your request
138 ApplicationName applicationName length is has exceeded the maximum allowed character limit allowed (10) 
146The application name applicationName is not set
167You are not authorized to use this web method
258Unable to find a company registered for to the given organization numberOrganizationNumber
374The given URL Url is not a valid image file type
375The Given Image given image is more than 2MB in size
376The Given given Base64 String is not a valid Imagestring is invalid
388The Given given image input is not valid