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.

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": "2022-09-30T19:31:08.1630243+00:00",
  "AccountStatus": "Active",
  "AccountName": "sample string 8",
  "WebSite": "sample string 9",
  "LogoPath": "sample string 10",
  "MobileNumber": "sample string 11",
  "FaxNumber": "sample string 12",
  "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 13",
  "IsUseDayLightSaving": true,
  "LinkedAgencyId": "sample string 15",
  "LinkedAffiliateId": "sample string 16",
  "LinkedAccountId": "sample string 17",
  "LinkedAccountPrimarySubAccountId": "sample string 18"
}

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>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">2022-09-30T19:31:08.1630243+00:00</CreatedDate>
  <FaxNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 12</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 13</Language>
  <LinkedAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 17</LinkedAccountId>
  <LinkedAccountPrimarySubAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 18</LinkedAccountPrimarySubAccountId>
  <LinkedAffiliateId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 16</LinkedAffiliateId>
  <LinkedAgencyId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 15</LinkedAgencyId>
  <LogoPath xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 10</LogoPath>
  <MobileNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 11</MobileNumber>
  <WebSite xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">sample string 9</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.