Add or/and remove company staff
Namespace:
SynergyClientAPI.Companies
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)
Public Shared Function AddRemoveCompanyStaff( _
ByVal company_id As EntityID, _
ByVal added_staff As IEnumerable(Of ContactInfo), _
ByVal removed_staff As IEnumerable(Of ContactInfo), _
Optional ByVal wait As IASyncWait = null _
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse AddRemoveCompanyStaff(
EntityID company_id,
IEnumerable<ContactInfo> added_staff,
IEnumerable<ContactInfo> removed_staff,
IASyncWait wait = null
)
This language is not supported or no code example is available.
public:
static OperationResponse^ AddRemoveCompanyStaff(
EntityID^ company_id,
IEnumerable<ContactInfo^>^ added_staff,
IEnumerable<ContactInfo^>^ removed_staff,
IASyncWait^ wait
)
This language is not supported or no code example is available.
Parameters
- company_id
-
Type: EntityID
<default>
- added_staff
-
Type: IEnumerable<ContactInfo>
contact info for the staff to be added
- removed_staff
-
Type: IEnumerable<ContactInfo>
contact info for the staff to be removed
- wait
-
Type: IASyncWait
optional waiter to use
Return Value
Type: OperationResponseResponse object