Distributor - Methods for distributors.
WSDL: https://api.cloudmonit.pl/2.0.0/wsdl/Distributor.wsdl
JSON: https://api.cloudmonit.pl/2.0.0/json/Distributor.json
Creates a new distributor account. The new account has the free "demo" package enabled by default.
The distributor's address.
The name of the person to contact with about distributor-related issues.
The contact person's phone number.
The distributor's e-mail address.
This value must be a valid e-mail address.
The distributor's login.
This value cannot be an empty string.
The distributor's password. To update the password, you have to authenticate by providing the current login and password (not using session).
The distributor's tax identification number.
The distributor's identifier.
This method allows you to fetch information about selected Distributor objects.
Filters to apply to the results.
An array of objects, each containg the fields:
The filter argument (the text to be contained in the field, or value to be compared). The argument must be of the same type as the field you filter by.
The field to filter the results by.
Allowed values are: address
,
contact_person
,
contact_phone
,
email
,
id
,
login
,
tax_id
.
The type of filter. Filters (not_)greater_than and (not_)lower_than compare numbers numerically and string lexicographically. Defaults to "equals".
Allowed values are: contains
,
equals
,
greater_than
,
lower_than
,
not_greater_than
,
not_lower_than
.
Maximum array length: 10.
Items per page. If not specified, NULL or 0, all elements will be fetched. You should probably specify results ordering as well, if you want the results to be consistent.
The index of the first element to show on page.
Items are numbered starting from 0.
Default is 0.
Only meaningful if limit
is specified as well.
Fields to order the results by, starting from the most significant.
An array of objects, each containg the fields:
The ordering direction, "ascending" or "descending".
Allowed values are: ascending
,
descending
.
Defaults to "ascending"
if not specified.
The field to order by. If not specified, the results can be returned in any order.
Allowed values are: address
,
contact_person
,
contact_phone
,
email
,
id
,
login
,
tax_id
.
Maximum array length: 10.
The groups of fields to be returned with each object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
An array of objects, each containg the fields:
The distributor's address.
The name of the person to contact with about distributor-related issues.
The contact person's phone number.
The distributor's e-mail address.
This value must be a valid e-mail address.
The distributor's identifier.
The distributor's login.
This value cannot be an empty string.
The distributor's tax identification number.
The total number of results (not including pagination).
This method can be called by read-only users.
Returns the JSON or WSDL specification of the Distributor
API module.
This method is meant for internal usage in API clients. Unless you are writing one, you probably do not need it.
The specification format you want to use.
If omitted,
defaults to json
if you call this method using JSON request ot wsdl
if you call this method with SOAP.
Allowed values are: json
,
wsdl
.
The specification of the module.
The specification format used.
Allowed values are: json
,
wsdl
.
This method can be called by read-only users.
This method allows you to get information about a single Distributor object.
The distributor's identifier.
The groups of fields to be returned with the object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
The distributor's address.
The name of the person to contact with about distributor-related issues.
The contact person's phone number.
The distributor's e-mail address.
This value must be a valid e-mail address.
The distributor's identifier.
The distributor's login.
This value cannot be an empty string.
The distributor's tax identification number.
This method can be called by read-only users.
This method updates an existing Distributor object.
The distributor's address.
The name of the person to contact with about distributor-related issues.
The contact person's phone number.
The distributor's e-mail address.
This value must be a valid e-mail address.
The distributor's identifier.
The distributor's password. To update the password, you have to authenticate by providing the current login and password (not using session).
The distributor's tax identification number.
Nothing.