POST api/Account/SaveSubAccountDetail

Request Information

URI Parameters

None.

Body Parameters

SubAccountDetailsViewModel
NameDescriptionTypeAdditional information
Id

string

None.

UserId

string

None.

ParentAccountId

string

Required

IsPrimary

boolean

None.

Name

string

Required

MobileNumber

string

Matching regular expression pattern: ^([0-9]{6,12})$

ProfilePic

string

None.

Fax

string

None.

Website

string

None.

Language

string

None.

SubAccountReferenceId

string

None.

AddressSummary

AddressSummaryViewModel

None.

PlanId

string

None.

IsUseDayLightSaving

boolean

None.

SubAccountId

string

None.

UpdatedByAdminId

string

None.

MaxPlanContactLimit

integer

None.

MaximumContactAllowedLimit

integer

None.

MaximumCreditAllowedLimit

integer

None.

NoMaximumContactLimit

boolean

None.

NoMaximumCreditLimit

boolean

None.

NoMaximumKeywordLimit

boolean

None.

NoMaximumMobilePageLimit

boolean

None.

NoMaximumOfferLimit

boolean

None.

NoMaximumAutomationLimit

boolean

None.

MaxPlanKeywordLimit

integer

None.

MaximumKeywordAllowedLimit

integer

None.

MaxPlanMobilePageLimit

integer

None.

MaximumMobilePageAllowedLimit

integer

None.

MaxPlanOfferLimit

integer

None.

MaximumOfferAllowedLimit

integer

None.

MaxPlanAutomationLimit

integer

None.

MaximumAutomationAllowedLimit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "UserId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "IsPrimary": true,
  "Name": "sample string 5",
  "MobileNumber": "sample string 6",
  "ProfilePic": "sample string 7",
  "Fax": "sample string 8",
  "Website": "sample string 9",
  "Language": "sample string 10",
  "SubAccountReferenceId": "sample string 11",
  "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"
  },
  "PlanId": "sample string 12",
  "IsUseDayLightSaving": true,
  "SubAccountId": "sample string 14",
  "UpdatedByAdminId": "sample string 15",
  "MaxPlanContactLimit": 16,
  "MaximumContactAllowedLimit": 17,
  "MaximumCreditAllowedLimit": 18,
  "NoMaximumContactLimit": true,
  "NoMaximumCreditLimit": true,
  "NoMaximumKeywordLimit": true,
  "NoMaximumMobilePageLimit": true,
  "NoMaximumOfferLimit": true,
  "NoMaximumAutomationLimit": true,
  "MaxPlanKeywordLimit": 25,
  "MaximumKeywordAllowedLimit": 26,
  "MaxPlanMobilePageLimit": 27,
  "MaximumMobilePageAllowedLimit": 28,
  "MaxPlanOfferLimit": 29,
  "MaximumOfferAllowedLimit": 30,
  "MaxPlanAutomationLimit": 31,
  "MaximumAutomationAllowedLimit": 32
}

application/xml, text/xml

Sample:
<SubAccountDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.AccountsAndSubAccountsResponseModels.SubAccounts">
  <AddressSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Common">
    <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>
  <Fax>sample string 8</Fax>
  <Id>sample string 1</Id>
  <IsPrimary>true</IsPrimary>
  <IsUseDayLightSaving>true</IsUseDayLightSaving>
  <Language>sample string 10</Language>
  <MaxPlanAutomationLimit>31</MaxPlanAutomationLimit>
  <MaxPlanContactLimit>16</MaxPlanContactLimit>
  <MaxPlanKeywordLimit>25</MaxPlanKeywordLimit>
  <MaxPlanMobilePageLimit>27</MaxPlanMobilePageLimit>
  <MaxPlanOfferLimit>29</MaxPlanOfferLimit>
  <MaximumAutomationAllowedLimit>32</MaximumAutomationAllowedLimit>
  <MaximumContactAllowedLimit>17</MaximumContactAllowedLimit>
  <MaximumCreditAllowedLimit>18</MaximumCreditAllowedLimit>
  <MaximumKeywordAllowedLimit>26</MaximumKeywordAllowedLimit>
  <MaximumMobilePageAllowedLimit>28</MaximumMobilePageAllowedLimit>
  <MaximumOfferAllowedLimit>30</MaximumOfferAllowedLimit>
  <MobileNumber>sample string 6</MobileNumber>
  <Name>sample string 5</Name>
  <NoMaximumAutomationLimit>true</NoMaximumAutomationLimit>
  <NoMaximumContactLimit>true</NoMaximumContactLimit>
  <NoMaximumCreditLimit>true</NoMaximumCreditLimit>
  <NoMaximumKeywordLimit>true</NoMaximumKeywordLimit>
  <NoMaximumMobilePageLimit>true</NoMaximumMobilePageLimit>
  <NoMaximumOfferLimit>true</NoMaximumOfferLimit>
  <ParentAccountId>sample string 3</ParentAccountId>
  <PlanId>sample string 12</PlanId>
  <ProfilePic>sample string 7</ProfilePic>
  <SubAccountId>sample string 14</SubAccountId>
  <SubAccountReferenceId>sample string 11</SubAccountReferenceId>
  <UpdatedByAdminId>sample string 15</UpdatedByAdminId>
  <UserId>sample string 2</UserId>
  <Website>sample string 9</Website>
</SubAccountDetailsViewModel>

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.