Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / SwitchClientClassification

Function: SwitchClientClassification() ​

SwitchClientClassification(clientId, data): Command<{ clientId: number; data: { classificationId: number; dateFormat: string; expectedApplicableDate: string; locale?: string; }; }, { clientId: number; data: { newClassificationId: number; oldClassificationId: number; }; id: number; resourceId: number; }>

Defined in: src/commands/rest/clientClassification.ts:43

Switches the client classification for the given client id.

Parameters ​

clientId ​

number

the id of the client to switch the classification for

data ​

the switch classification request parameters

classificationId ​

number = ...

dateFormat ​

string = ...

expectedApplicableDate ​

string = ...

locale? ​

string = ...

Returns ​

Command<{ clientId: number; data: { classificationId: number; dateFormat: string; expectedApplicableDate: string; locale?: string; }; }, { clientId: number; data: { newClassificationId: number; oldClassificationId: number; }; id: number; resourceId: number; }>

a promise that resolves to the response from the server

Released under the MIT License.