POST api/Account/EditBasicInfo

Request Information

URI Parameters

None.

Body Parameters

AccountModel
NameDescriptionTypeAdditional information
SignupStep

integer

None.

FirstName

string

None.

LastName

string

None.

FirstNameArabic

string

None.

LastNameArabic

string

None.

FirstNameEnglish

string

None.

LastNameEnglish

string

None.

PhoneNumber

string

None.

EmailAddress

string

None.

Password

string

None.

CountryId

integer

None.

FacebookId

string

None.

GoogleId

string

None.

FacebookAuthToken

string

None.

GoogleAuthToken

string

None.

CountryPhoneRegexes

Collection of string

None.

CountryCodeId

integer

None.

ImageModel

ImageUploadModel

None.

ProfilePhotoPath

string

None.

SpecialityKey

string

None.

SpecialityGroupId

integer

None.

AccountKey

string

None.

CountryCode

string

None.

CountryIsoCode

string

None.

EntityKey

string

None.

DefaultLanguageId

integer

None.

EntityName

string

None.

EntityNameArabic

string

None.

EntitySignUpTypeId

integer

None.

LoginStatus

AccountLoginStatus

None.

Roles

Collection of RoleEntityModelV2

None.

BranchKeys

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "SignupStep": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "FirstNameArabic": "sample string 4",
  "LastNameArabic": "sample string 5",
  "FirstNameEnglish": "sample string 6",
  "LastNameEnglish": "sample string 7",
  "PhoneNumber": "sample string 8",
  "EmailAddress": "sample string 9",
  "Password": "sample string 10",
  "CountryId": 11,
  "FacebookId": "sample string 12",
  "GoogleId": "sample string 13",
  "FacebookAuthToken": "sample string 14",
  "GoogleAuthToken": "sample string 15",
  "CountryPhoneRegexes": [
    "sample string 1",
    "sample string 2"
  ],
  "CountryCodeId": 16,
  "ImageModel": {
    "ImageExtension": "sample string 1",
    "ImageBase64String": "sample string 2",
    "DescriptionEnglish": "sample string 3",
    "DescriptionArabic": "sample string 4",
    "FilePath": "sample string 5",
    "ThumbnailPath": "sample string 6"
  },
  "ProfilePhotoPath": "sample string 17",
  "SpecialityKey": "sample string 18",
  "SpecialityGroupId": 1,
  "AccountKey": "sample string 19",
  "CountryCode": "sample string 20",
  "CountryIsoCode": "sample string 21",
  "EntityKey": "sample string 22",
  "DefaultLanguageId": 1,
  "EntityName": "sample string 23",
  "EntityNameArabic": "sample string 24",
  "EntitySignUpTypeId": 1,
  "LoginStatus": 1,
  "Roles": [
    {
      "Role": 1,
      "EntityKeys": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Role": 1,
      "EntityKeys": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "BranchKeys": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
  <AccountKey>sample string 19</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>
  <CountryCode>sample string 20</CountryCode>
  <CountryCodeId>16</CountryCodeId>
  <CountryId>11</CountryId>
  <CountryIsoCode>sample string 21</CountryIsoCode>
  <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>
  <DefaultLanguageId>1</DefaultLanguageId>
  <EmailAddress>sample string 9</EmailAddress>
  <EntityKey>sample string 22</EntityKey>
  <EntityName>sample string 23</EntityName>
  <EntityNameArabic>sample string 24</EntityNameArabic>
  <EntitySignUpTypeId>1</EntitySignUpTypeId>
  <FacebookAuthToken>sample string 14</FacebookAuthToken>
  <FacebookId>sample string 12</FacebookId>
  <FirstName>sample string 2</FirstName>
  <FirstNameArabic>sample string 4</FirstNameArabic>
  <FirstNameEnglish>sample string 6</FirstNameEnglish>
  <GoogleAuthToken>sample string 15</GoogleAuthToken>
  <GoogleId>sample string 13</GoogleId>
  <ImageModel>
    <DescriptionArabic>sample string 4</DescriptionArabic>
    <DescriptionEnglish>sample string 3</DescriptionEnglish>
    <FilePath>sample string 5</FilePath>
    <ImageBase64String>sample string 2</ImageBase64String>
    <ImageExtension>sample string 1</ImageExtension>
    <ThumbnailPath>sample string 6</ThumbnailPath>
  </ImageModel>
  <LastName>sample string 3</LastName>
  <LastNameArabic>sample string 5</LastNameArabic>
  <LastNameEnglish>sample string 7</LastNameEnglish>
  <LoginStatus>Pending</LoginStatus>
  <Password>sample string 10</Password>
  <PhoneNumber>sample string 8</PhoneNumber>
  <ProfilePhotoPath>sample string 17</ProfilePhotoPath>
  <Roles xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccountManagement.Models.V2">
    <d2p1:RoleEntityModelV2>
      <d2p1:EntityKeys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:EntityKeys>
      <d2p1:Role>Owner</d2p1:Role>
    </d2p1:RoleEntityModelV2>
    <d2p1:RoleEntityModelV2>
      <d2p1:EntityKeys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:EntityKeys>
      <d2p1:Role>Owner</d2p1:Role>
    </d2p1:RoleEntityModelV2>
  </Roles>
  <SignupStep>1</SignupStep>
  <SpecialityGroupId>1</SpecialityGroupId>
  <SpecialityKey>sample string 18</SpecialityKey>
</AccountModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.