Types
WmUuidInput
name | type | required | nillable | description |
---|---|---|---|---|
uuid |
UUID |
true |
false |
The UUID for an entity. |
WmUuidOutput
name | type | nillable | description |
---|---|---|---|
uuid |
UUID |
false |
The UUID for an entity. |
WmUuidResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmUuidOutput
instead.
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The UUID for an entity. |
WmGroupOutput
name | type | required | nillable | description |
---|---|---|---|---|
id |
int |
true |
false |
Deprecation NoticeAs of SOAP API v7.1 this property is deprecated and will be removed in the future versions.The group’s legacy Id. This field always returns 0 . |
uuid |
WmUuidOutput |
true |
false |
The group’s UUID. |
role |
WmRoleOutput |
true |
false |
The group’s role. |
name |
string |
true |
false |
The group’s name. |
shortname |
string |
true |
false |
Deprecation NoticeAs of SOAP API v7.1 this property is deprecated and will be removed in the future versions. Role abbreviations will be used until this field is removed.The abbreviated group name. This is a legacy field that always returns a blank value. |
countryUuid |
WmUuidOutput |
false |
true |
The UUID for the country the group belongs to. |
WmGroupsResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmGroupOutput[]
instead.
name | type | nillable | description |
---|---|---|---|
groups |
WmGroupOutput[] |
false |
A list of groups. |
WmRoleInput
name | type | required | nillable | description |
---|---|---|---|---|
slug |
string |
true |
false |
The identifying slug of a role. |
WmRoleOutput
name | type | required | nillable | description |
---|---|---|---|---|
slug |
string |
true |
false |
The identifying slug of a role. |
WmAccountInput
name | type | required | nillable | description |
---|---|---|---|---|
groupID |
int |
true |
false |
Deprecation NoticeAs of SOAP API v7.1 this property is deprecated and will be removed in the future versions.getGroups . This is a legacy field that must be set to 0 . |
groupUuids |
WmUuidInput[] |
false |
true |
See getGroups . A list of group UUIDs, which the user account will belong to. Only a single Group is currently supported. |
countryUuids |
WmUuidInput[] |
false * |
true |
A list of country UUIDs, which the user account will belong to.
|
areaUuids |
WmUuidInput[] |
false * |
true |
A list of area UUIDs, which the user account will belong to.
|
storeUuids |
WmUuidInput[] |
false * |
true |
A list of store UUIDs, which the user account will belong to.
|
username |
string |
true |
false |
An account username.
|
password |
string |
false * |
false |
An account password.
|
person |
WmPersonInput |
true |
false |
An account’s user details such as first and last names. |
active |
boolean |
false |
true |
Flag indicating if account is active/inactive.
|
language |
string |
false * |
true |
See getLanguages . A language the account should use.
|
positionName |
string |
false |
true |
A position name for the user.
|
positionType |
string |
false * |
true |
See getPositions . A position the account belongs to.
|
email |
string |
false * |
true |
A user’s email address.
|
phone |
string |
false |
true |
A user’s phone contact number.
|
mobile |
string |
false |
true |
A user’s mobile contact number.
|
receiveEmails |
boolean |
false |
true |
Flag indicating if the account is allowed to receive emails.
|
timezone |
string |
false |
true |
See getTimezones . A timezone the account should use.
|
userDetailsUpdated |
boolean |
false |
true |
Flag that forces the user to update details.
|
userPasswordUpdated |
boolean |
false |
true |
Flag that forces the user to update password.
|
workStartDate |
string |
false * |
true |
Start date for the user.
|
customFields |
WmCustomFieldRecordInput[] |
false |
true |
A list of custom fields to set for the account. |
customFiles |
WmCustomFieldFileInput[] |
false |
true |
A list of custom field files to set for the account. |
WmAccountOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The account’s UUID. |
groupId |
int |
false |
Deprecation NoticeAs of SOAP API v7.1 this property is deprecated and will be removed in the future versions.getGroups . Legacy group field. This field is set to 0 . |
groupUuids |
WmUuidOutput[] |
false |
See getGroups . A list of group UUIDs for the groups the user account belongs to. |
countryUuids |
WmUuidOutput[] |
false |
A list of country UUIDs for the countries the user account belongs to. The first item on the list is the user’s primary country. |
areaUuids |
WmUuidOutput[] |
false |
A list of area UUIDs for the areas the user account belongs to. The first item on the list is the user’s primary area. |
storeUuids |
WmUuidOutput[] |
false |
A list of store UUIDs for the stores the user account belongs to. The first item on the list is the user’s primary store. |
username |
string |
false |
The account username. |
person |
WmPersonOutput |
false |
The account’s user details such as first and last names. |
active |
boolean |
false |
Flag indicating if the account is active/inactive. |
archived |
boolean |
false |
Flag indicating if the account is active/inactive. |
language |
string |
false |
See getLanguages . The language the account uses. |
positionName |
string |
true |
The user’s position name. |
positionType |
string |
false |
See getPositions . The position the account belongs to. |
email |
string |
true |
The user’s email address. |
phone |
string |
true |
The user’s phone contact number. |
mobile |
string |
true |
The user’s mobile contact number. |
receiveEmails |
boolean |
false |
Flag indicating if the account is allowed to receive emails. |
timezone |
WmTimezoneOutput |
false |
See getTimezones . The timezone the account uses. |
userDetailsUpdated |
boolean |
false |
Flag that forces user to update details. |
userPasswordUpdated |
boolean |
false |
Flag that forces user to updated password. |
workStartDate |
string |
true |
Start date for the user in ISO 8601 format. |
createdAt |
string |
false |
Date-time the user was created in the UTC timezone using ISO 8601 formatting. |
updatedAt |
string |
false |
Date-time the user was last updated in the UTC timezone using ISO 8601 formatting. |
WmAccountResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmAccountOutput
instead.
name | type | nillable | description |
---|---|---|---|
account |
WmAccountOutput |
false |
A single account. |
WmAccountsResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmAccountOutput[]
instead.
name | type | nillable | description |
---|---|---|---|
accounts |
WmAccountsOutput[] |
false |
A list of accounts. |
WmPersonInput
name | type | required | nillable | description |
---|---|---|---|---|
title |
WmPersonTitle |
false |
true |
A Person’s title.
|
firstName |
string |
true |
false |
A Person’s first name.
|
middleName |
string |
false |
true |
A Person’s middle names.
|
lastName |
string |
true |
false |
A Person’s last name.
|
nickname |
string |
false |
true |
A Person’s nickname.
|
displayName |
string |
false |
true |
The name displayed on the profile panels.
|
WmPersonOutput
Note
This object has the same structure asWmPersonInput
.
WmPersonTitle
field | description |
---|---|
MR |
Mister, An English language honorific for men |
MRS |
An English language honorific usually used only for married women |
MISS |
An English language honorific traditionally used only for an unmarried woman |
MS |
A default form of address for women regardless of their marital status |
DR |
Doctor |
PROF |
Professor |
REV |
Reverend |
WmCountryOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The country’s UUID. |
name |
string |
false |
The country’s name. |
languages |
string[] |
false |
A list of languages available to the country. |
timezone |
WmTimezoneOutput |
false |
The timezone the country uses. |
WmCountriesResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmCountryOutput[] instead.
name | type | nillable | description |
---|---|---|---|
countries |
WmCountryOutput[] |
false |
A list of countries. |
WmAreaInput
name | type | required | nillable | description |
---|---|---|---|---|
name |
string |
true |
false |
A name for the area.
|
countryUuid |
WmUuidInput |
true |
false |
A UUID of a country the area will belong to. |
timezone |
string |
false |
true |
See getTimezones . A timezone the area should use.
|
WmAreaOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The area’s UUID. |
name |
string |
false |
The area’s name. |
countryUuid |
WmUuidOutput |
false |
The UUID of the country the area belongs to. |
timezone |
WmTimezoneOutput |
false |
The timezone the area uses. |
WmAreaResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmAreaOutput instead.
name | type | nillable | description |
---|---|---|---|
area |
WmAreaOutput |
false |
A single area. |
WmAreasResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmAreaOutput[] instead.
name | type | nillable | description |
---|---|---|---|
areas |
WmAreaOutput[] |
false |
A list of areas. |
WmStoreInput
name | type | required | nillable | description |
---|---|---|---|---|
areaUuid |
WmUuidInput |
true |
false |
The UUID of an area the store will belong to.
|
name |
string |
true |
false |
A name for the store.
|
email |
string |
false |
true |
An email address.
|
phone |
string |
false |
true |
A phone contact number.
|
address |
string |
false * |
true |
An address.
|
suburb |
string |
false * |
true |
A suburb for the address.
|
state |
string |
false * |
true |
A state for the address.
|
postcode |
string |
false * |
true |
A postcode for the address.
|
contactName |
string |
false |
true |
A contact name.
|
contactPosition |
string |
false |
true |
The contact’s position.
|
fax |
string |
false |
true |
A fax number.
|
mobile |
string |
false |
true |
A mobile contact number.
|
showMap |
boolean |
false |
true |
Whether to display the address on a googlemap or not.
|
geocode |
string |
false * |
true |
A string representation of a latitude/longitude coordinate. Use this to override auto geocoding.
|
locationType |
string |
false |
true |
See getLocationInfo('type') A location info of type type .
|
locationPlacement |
string |
false |
true |
See getLocationInfo('location') A location info of type location .
|
locationConcept |
string |
false |
true |
See getLocationInfo('concept') A location info of type concept .
|
ownershipType |
string |
false |
true |
See getLocationInfo('ownership') A location info of type ownership .
|
timezone |
string |
false |
true |
See getTimezones A timezone the store should use.
|
customFields |
WmCustomFieldRecordInput[] |
false |
true |
A list of custom fields to set for the store. |
customFiles |
WmCustomFieldFileInput[] |
false |
true |
A list of custom field files to set for the store. |
WmStoreOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The store’s UUID. |
countryUuid |
WmUuidOutput |
false |
The UUID of the country the store belongs to. |
areaUuid |
WmUuidOutput |
false |
The UUID of the area the store belongs to. |
name |
string |
false |
The store’s name. |
email |
string |
true |
The store’s email address. |
phone |
string |
true |
The store’s phone contact number. |
address |
string |
true |
The store’s address. |
suburb |
string |
true |
The suburb of the store address. |
state |
string |
true |
The state of the store address. |
postcode |
string |
true |
The postcode of the store address. |
contactName |
string |
true |
The contact’s name. |
contactPosition |
string |
true |
The contact’s position. |
fax |
string |
true |
The store’s fax number. |
mobile |
string |
true |
The store’s mobile contact number. |
showMap |
boolean |
false |
Flag indicating whether the address is displayed on a googlemap or not. |
geocode |
string |
true |
A string representation of a geocoded latitude/longitude coordinate. |
locationType |
string |
true |
The location info for type type . |
locationPlacement |
string |
true |
The location info for type location . |
locationConcept |
string |
true |
The location info for type concept . |
ownershipType |
string |
true |
The location info for type ownership . |
timezone |
WmTimezoneOutput |
false |
The UUID of the area the store belongs to. |
WmStoreResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmStoreOutput
instead.
name | type | nillable | description |
---|---|---|---|
store |
WmStoreOutput |
false |
A single store. |
WmStoresResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmStoreOutput[]
instead.
name | type | nillable | description |
---|---|---|---|
stores |
WmStoreOutput[] |
false |
A list of stores. |
WmAccountCriteriaInput
name | type | required | nillable | description |
---|---|---|---|---|
roles |
WmRoleInput[] |
false |
true |
Valid role inputs. |
groupUuids |
WmUuidOutput[] |
false |
true |
Valid account group UUIDs. |
locationUuids |
WmUuidOutput[] |
false |
true |
UUIDs of existing countries, areas, or stores. |
isActive |
boolean |
false |
true |
FALSE — inactive (disabled) TRUE — active By default returns all. |
updatedSince |
string |
false |
true |
A date/time string in ISO 8601 format. |
WmCustomFieldOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The datafield’s UUID. |
name |
string |
false |
The datafield’s name. |
dataType |
int |
false |
The datafield’s type. |
dataTypeName |
string |
false |
The datafield’s data type. Can be text , textbox , checkbox , dropdown , file or date . |
validValues |
string[] |
false |
A list of valid values for a dropdown custom field. |
Data Type | Field Type | Valid Values |
---|---|---|
1 | Text | String (max length of 500) |
2 | Text Box | String (max length of 216-1) |
3 | Checkbox | 1 , 0 , true , false |
4 | Dropdown | Drop down list options for the custom field |
6 | Date |
|
WmCustomFieldDataOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
UUID of an existing user account or store. |
fields |
WmCustomFieldRecordOutput[] |
false |
A list of custom fields. |
files |
WmCustomFieldFileOutput[] |
false |
A list of custom field files. |
WmDataFieldsResult
Deprecation Notice
As of SOAP API v7 this type is deprecated and will be removed in the future versions.
name | type | nillable | description |
---|---|---|---|
customFields |
WmCustomFieldRecordOutput[] |
false |
A list of custom fields. |
customFiles |
WmCustomFieldFileOutput[] |
false |
A list of custom field files. |
WmDataFieldOutput
Deprecation Notice
As of SOAP API v7 this type is deprecated and will be removed in the future versions.
This type has been renamed to WmCustomFieldOutput()
. Both types have identical properties.
WmDataFieldResult
Deprecation Notice
As of SOAP API v7 this type is deprecated and will be removed in the future versions.
name | type | nillable | description |
---|---|---|---|
dataField |
WmDataFieldOutput[] |
false |
A single datafield. |
WmCustomFieldRecordInput
Deprecation Notice
As of SOAP API v7 this type is deprecated and will be removed in the future versions.
name | type | required | nillable | description |
---|---|---|---|---|
uuid |
WmUuidInput |
true |
false |
A UUID of a Custom Field.
|
value |
string |
true |
false |
A valid value to set for the Custom Field. For valid values see WmCustomFieldRecordOutput. |
WmCustomFieldRecordOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The Custom Field’s UUID. |
fieldName |
string |
false |
Deprecation NoticeAs of SOAP API v7 this type is deprecated and will be removed in the future versions.Please, use getCustomFields to retrieve custom field definitions. The Custom Field’s name. |
value |
string |
true |
The value assigned to the Custom Field (if there is one set for the entity). |
dataType |
int |
false |
Deprecation NoticeAs of SOAP API v7 this type is deprecated and will be removed in the future versions.Please, use getCustomFields to retrieve custom field definitions. The Custom Field’s data type. For valid values see the table below. |
WmCustomFieldFileInput
name | type | required | nillable | description |
---|---|---|---|---|
uuid |
WmUuidInput |
true |
false |
A UUID of a Custom Field.
|
fileName |
string |
true |
false |
A filename for the file.
|
content |
string |
true |
false |
Encoded file content. |
contentEncoding |
string |
false |
false |
Currently only support base64 encode. |
WmCustomFieldFileOutput
name | type | nillable | description |
---|---|---|---|
uuid |
WmUuidOutput |
false |
The Custom Field’s UUID. |
fieldName |
string |
false |
Deprecation NoticeAs of SOAP API v7 this type is deprecated and will be removed in the future versions.Please, use getCustomFields to retrieve custom field definitions. The Custom Field’s name. |
fileName |
string |
true |
The file name provided (including extension). |
fileSize |
string |
true |
The size of the file. |
content |
string |
true |
Encoded file content (if there is a file). |
contentEncoding |
string |
false |
The Encoding used. |
- Custom field file is just a particular type of custom field record to store upload file name and file content.
- Content encoding only accepts base64 in version 2; additional encoding might be implemented in future version.
- Supported file extensions include:
gif
,jpg
,png
,swf
,flv
,mp4
,pdf
,doc
,docx
,ppt
,pps
,pptx
,ppsx
,xls
,xlsx
,xlsm
,pub
,mpp
,prj
,mpxj
,pdf
.
WmTimezoneOutput
name | type | nillable | description |
---|---|---|---|
name |
string |
false |
A user-friendly name for a timezone. e.g ⎯ (GMT+10:00) Canberra, Melbourne, Sydney. |
value |
string |
false |
The value of the timezone, which is used in various inputs/outputs (such as WmAccountInput, WmAccountOutput). |
WmTimezonesResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmTimezoneOutput[] instead.
name | type | nillable | description |
---|---|---|---|
timezones |
WmTimezoneOutput[] |
false |
A list of timezones. |
WmTextResult
name | type | nillable | description |
---|---|---|---|
text |
string |
false |
A simple message returned from the server. |
WmLocationInfoResult
name | type | nillable | description |
---|---|---|---|
options |
string[] |
false |
A list of location infos. |
WmLanguagesResult
name | type | nillable | description |
---|---|---|---|
languages |
string[] |
false |
A list of languages. |
WmPositionsResult
name | type | nillable | description |
---|---|---|---|
positions |
string[] |
false |
A list of positions. |
WmError
name | type | nillable | description |
---|---|---|---|
code |
int |
false |
See Error Glossary for a list of codes. |
message |
string |
false |
See Error Glossary for a list of messages. |
WmErrorsResult
Deprecation Notice
This type will be abolished in the future version of the API. Methods which currently return this type will use WmError[] instead.
name | type | nillable | description |
---|---|---|---|
errors |
WmError |
false |
A list of errors. |