POST api/Account/UpdateAccountViaAdmin

Request Information

URI Parameters

None.

Body Parameters

UpdateAccountRequestVM
NameDescriptionTypeAdditional information
ParentAccountId

string

None.

AdminUserId

string

None.

IsCommissionPayable

boolean

None.

DirectCommission

decimal number

None.

InDirectCommission

decimal number

None.

Id

string

None.

CreatedDate

date

None.

AccountStatus

AccountStatus

None.

AccountName

string

None.

BussinessName

string

None.

WebSite

string

None.

LogoPath

string

None.

MobileNumber

string

None.

FaxNumber

string

None.

AddressSummary

AddressSummaryViewModel

None.

Language

string

None.

IsUseDayLightSaving

boolean

None.

LinkedAgencyId

string

Required

LinkedAffiliateId

string

None.

LinkedAccountId

string

None.

LinkedAccountPrimarySubAccountId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentAccountId": "sample string 1",
  "AdminUserId": "sample string 2",
  "IsCommissionPayable": true,
  "DirectCommission": 4.0,
  "InDirectCommission": 5.0,
  "Id": "sample string 6",
  "CreatedDate": "2024-11-20T15:30:06.9595288+00:00",
  "AccountStatus": "Active",
  "AccountName": "sample string 8",
  "BussinessName": "sample string 9",
  "WebSite": "sample string 10",
  "LogoPath": "sample string 11",
  "MobileNumber": "sample string 12",
  "FaxNumber": "sample string 13",
  "AddressSummary": {
    "UserCulture": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "StateId": "sample string 5",
    "CountryId": "sample string 6",
    "ZipCode": "sample string 7",
    "TimeZoneId": "sample string 8",
    "RegionId": "sample string 9",
    "CountryName": "sample string 10",
    "StateName": "sample string 11"
  },
  "Language": "sample string 14",
  "IsUseDayLightSaving": true,
  "LinkedAgencyId": "sample string 16",
  "LinkedAffiliateId": "sample string 17",
  "LinkedAccountId": "sample string 18",
  "LinkedAccountPrimarySubAccountId": "sample string 19"
}

application/xml, text/xml

Sample:
<UpdateAccountRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AdminAccountsAndSettings">
  <AccountName xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 8</AccountName>
  <AccountStatus xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">Active</AccountStatus>
  <AddressSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Common" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">
    <d2p1:Address1>sample string 2</d2p1:Address1>
    <d2p1:Address2>sample string 3</d2p1:Address2>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:CountryId>sample string 6</d2p1:CountryId>
    <d2p1:CountryName>sample string 10</d2p1:CountryName>
    <d2p1:RegionId>sample string 9</d2p1:RegionId>
    <d2p1:StateId>sample string 5</d2p1:StateId>
    <d2p1:StateName>sample string 11</d2p1:StateName>
    <d2p1:TimeZoneId>sample string 8</d2p1:TimeZoneId>
    <d2p1:UserCulture>sample string 1</d2p1:UserCulture>
    <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
  </AddressSummary>
  <BussinessName xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 9</BussinessName>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">2024-11-20T15:30:06.9595288+00:00</CreatedDate>
  <FaxNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 13</FaxNumber>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 6</Id>
  <IsUseDayLightSaving xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">true</IsUseDayLightSaving>
  <Language xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 14</Language>
  <LinkedAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 18</LinkedAccountId>
  <LinkedAccountPrimarySubAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 19</LinkedAccountPrimarySubAccountId>
  <LinkedAffiliateId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 17</LinkedAffiliateId>
  <LinkedAgencyId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 16</LinkedAgencyId>
  <LogoPath xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 11</LogoPath>
  <MobileNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 12</MobileNumber>
  <WebSite xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 10</WebSite>
  <AdminUserId>sample string 2</AdminUserId>
  <DirectCommission>4</DirectCommission>
  <InDirectCommission>5</InDirectCommission>
  <IsCommissionPayable>true</IsCommissionPayable>
  <ParentAccountId>sample string 1</ParentAccountId>
</UpdateAccountRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.