POST api/Account/ToggleAssistantState
Request Information
URI Parameters
None.
Body Parameters
SimpleAssistantModelName | Description | Type | Additional information |
---|---|---|---|
AccountKey | string |
None. |
|
Name | string |
None. |
|
string |
None. |
||
Password | string |
None. |
|
MobileNumber | string |
None. |
|
BranchKeys | Collection of string |
None. |
|
IsActive | boolean |
None. |
|
Gender | integer |
None. |
|
CountryPhoneRegexes | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountKey": "sample string 1", "Name": "sample string 2", "Email": "sample string 3", "Password": "sample string 4", "MobileNumber": "sample string 5", "BranchKeys": [ "sample string 1", "sample string 2" ], "IsActive": true, "Gender": 1, "CountryPhoneRegexes": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<SimpleAssistantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models"> <AccountKey>sample string 1</AccountKey> <BranchKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </BranchKeys> <CountryPhoneRegexes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CountryPhoneRegexes> <Email>sample string 3</Email> <Gender>1</Gender> <IsActive>true</IsActive> <MobileNumber>sample string 5</MobileNumber> <Name>sample string 2</Name> <Password>sample string 4</Password> </SimpleAssistantModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |