Versions Compared

Key

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

...

Table of allowed parameters.

passwordcommentsstanding potential, interested, active or inactive, otherwise you will get an invalid_request.
firstnamecompanyString 
middlenamestring 
surnamestring 
preferred_namestring 
usernamestring 
unsigned intMust point to a valid company. 
contactunsigned intMust point to a valid contact. If the contact doesn't have a default affiliation, it will automatically set it to the newly created affiliation.
usernamestringMust be unique
country_idunsigned intMust point to a valid country
physical_address_idunsigned intPhysical address. Must point to a valid address
postal_address_idunsigned intPostal address. Must point to a valid address.
phonestring 
titlefaxstring 
salutationemailstring Must be a valid email address
positionstring e.g, CEO or software engineer
statusunsigned intThis must The affiliations status id. Must point to a valid affiliation status id, otherwise you will get an invalid_request
standingstringe.g, active, inactive
communicationstringMust be yes or no.
invoice_methodstringe.g, email, fax or postal

Handling the response

Returns the created milestone. Please see get contactaffiliation for details regarding handling of the response.