POST api/Account/CreateAssistant
Request Information
URI Parameters
None.
Body Parameters
CreateSimpleAssistantModelName | Description | Type | Additional information |
---|---|---|---|
EntityKey | string |
None. |
|
Assistant | SimpleAssistantModel |
None. |
|
IsSmsSent | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "EntityKey": "sample string 1", "Assistant": { "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" ] }, "IsSmsSent": true }
application/xml, text/xml
Sample:
<CreateSimpleAssistantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models"> <Assistant> <AccountKey>sample string 1</AccountKey> <BranchKeys xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </BranchKeys> <CountryPhoneRegexes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1: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> </Assistant> <EntityKey>sample string 1</EntityKey> <IsSmsSent>true</IsSmsSent> </CreateSimpleAssistantModel>
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. |