POST api/Account/SaveSubAccountDetail
Request Information
URI Parameters
None.
Body Parameters
SubAccountDetailsViewModelName | Description | Type | Additional 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. |
|
NoMaximumStaticQrCodeLimit | boolean |
None. |
|
NoMaximumDynamicQrCodeLimit | boolean |
None. |
|
NoMaximumMultiQrCodeLimit | boolean |
None. |
|
NoMaximumBatchQrCodeLimit | 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. |
|
MaxPlanStaticQrCodeLimit | integer |
None. |
|
MaximumStaticQrCodeAllowedLimit | integer |
None. |
|
MaxPlanDynamicQrCodeLimit | integer |
None. |
|
MaximumDynamicQrCodeAllowedLimit | integer |
None. |
|
MaxPlaMultiQrCodeLimit | integer |
None. |
|
MaximumMultiQrCodeAllowedLimit | integer |
None. |
|
MaxPlanBatchQrCodeLimit | integer |
None. |
|
MaximumBatchQrCodeAllowedLimit | 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, "NoMaximumStaticQrCodeLimit": true, "NoMaximumDynamicQrCodeLimit": true, "NoMaximumMultiQrCodeLimit": true, "NoMaximumBatchQrCodeLimit": true, "MaxPlanKeywordLimit": 29, "MaximumKeywordAllowedLimit": 30, "MaxPlanMobilePageLimit": 31, "MaximumMobilePageAllowedLimit": 32, "MaxPlanOfferLimit": 33, "MaximumOfferAllowedLimit": 34, "MaxPlanAutomationLimit": 35, "MaximumAutomationAllowedLimit": 36, "MaxPlanStaticQrCodeLimit": 37, "MaximumStaticQrCodeAllowedLimit": 38, "MaxPlanDynamicQrCodeLimit": 39, "MaximumDynamicQrCodeAllowedLimit": 40, "MaxPlaMultiQrCodeLimit": 41, "MaximumMultiQrCodeAllowedLimit": 42, "MaxPlanBatchQrCodeLimit": 43, "MaximumBatchQrCodeAllowedLimit": 44 }
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> <MaxPlaMultiQrCodeLimit>41</MaxPlaMultiQrCodeLimit> <MaxPlanAutomationLimit>35</MaxPlanAutomationLimit> <MaxPlanBatchQrCodeLimit>43</MaxPlanBatchQrCodeLimit> <MaxPlanContactLimit>16</MaxPlanContactLimit> <MaxPlanDynamicQrCodeLimit>39</MaxPlanDynamicQrCodeLimit> <MaxPlanKeywordLimit>29</MaxPlanKeywordLimit> <MaxPlanMobilePageLimit>31</MaxPlanMobilePageLimit> <MaxPlanOfferLimit>33</MaxPlanOfferLimit> <MaxPlanStaticQrCodeLimit>37</MaxPlanStaticQrCodeLimit> <MaximumAutomationAllowedLimit>36</MaximumAutomationAllowedLimit> <MaximumBatchQrCodeAllowedLimit>44</MaximumBatchQrCodeAllowedLimit> <MaximumContactAllowedLimit>17</MaximumContactAllowedLimit> <MaximumCreditAllowedLimit>18</MaximumCreditAllowedLimit> <MaximumDynamicQrCodeAllowedLimit>40</MaximumDynamicQrCodeAllowedLimit> <MaximumKeywordAllowedLimit>30</MaximumKeywordAllowedLimit> <MaximumMobilePageAllowedLimit>32</MaximumMobilePageAllowedLimit> <MaximumMultiQrCodeAllowedLimit>42</MaximumMultiQrCodeAllowedLimit> <MaximumOfferAllowedLimit>34</MaximumOfferAllowedLimit> <MaximumStaticQrCodeAllowedLimit>38</MaximumStaticQrCodeAllowedLimit> <MobileNumber>sample string 6</MobileNumber> <Name>sample string 5</Name> <NoMaximumAutomationLimit>true</NoMaximumAutomationLimit> <NoMaximumBatchQrCodeLimit>true</NoMaximumBatchQrCodeLimit> <NoMaximumContactLimit>true</NoMaximumContactLimit> <NoMaximumCreditLimit>true</NoMaximumCreditLimit> <NoMaximumDynamicQrCodeLimit>true</NoMaximumDynamicQrCodeLimit> <NoMaximumKeywordLimit>true</NoMaximumKeywordLimit> <NoMaximumMobilePageLimit>true</NoMaximumMobilePageLimit> <NoMaximumMultiQrCodeLimit>true</NoMaximumMultiQrCodeLimit> <NoMaximumOfferLimit>true</NoMaximumOfferLimit> <NoMaximumStaticQrCodeLimit>true</NoMaximumStaticQrCodeLimit> <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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.