Method

s2rxc-onlinebookingclient-set

Description

This method will add/update an existing client's information based on the session of the member logged in.

Parameters

Name Input Value Type Description
logged_in Integer (Optional) If passed .
business_code Integer (Optional) When creating a new client record, it is assigned a membership to the same operation that is assigned to the business identified with the passed business_code.
email String (Optional) Email of the client. If logged in this is required, if new client this cannot be passed.
password String (Optional) Password of the login for the client. If logged in this is required, if new client this cannot be passed.
first_name String First Name of the client.
last_name String Last Name of the client.
address1 String Address 1 of the client address.
address2 String Address 2 of the client address.
city String City of the client address.
prov_state String Province or State of the client address.
postal String Postal or Zip Code of the client address.
country_id Integer Country_ID of the Country for the client address.
phone String Phone number of the client.
mobile_phone String Mobile Phone number of the client.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result