POST admin/MyAccount/UpdatePlanWithContract
Request Information
URI Parameters
None.
Body Parameters
UpdatePlanName | Description | Type | Additional information |
---|---|---|---|
PlanId | integer |
None. |
|
PlanTypeId | PlanType |
None. |
|
ContractCode | string |
None. |
|
PriceToBeCharged | decimal number |
None. |
|
AdditionalInfo | ContractAdditionalInfo |
None. |
|
CoupenCode | string |
None. |
|
Discount | decimal number |
None. |
|
DiscountApplicable | string |
None. |
|
ClientInfo | Client |
None. |
|
StartDate | date |
None. |
|
IsChangePlanRequest | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PlanId": 1, "PlanTypeId": 0, "ContractCode": "sample string 2", "PriceToBeCharged": 3.0, "AdditionalInfo": { "ContractContents": [ { "ContentId": 1, "SectionInitials": "sample string 2", "Content": "sample string 3", "SignedDate": "sample string 4" }, { "ContentId": 1, "SectionInitials": "sample string 2", "Content": "sample string 3", "SignedDate": "sample string 4" } ], "SignedContractUrl": "sample string 1" }, "CoupenCode": "sample string 4", "Discount": 5.0, "DiscountApplicable": "sample string 6", "ClientInfo": { "ClientId": 1, "Name": "sample string 2", "TimeZone": "sample string 3", "Culture": "sample string 4", "ApiKey": "sample string 5", "Currency": "sample string 6", "ShortName": "sample string 7", "OrganizationType": "sample string 8", "ContactFirstName": "sample string 9", "ContactMiddleName": "sample string 10", "ContactLastName": "sample string 11", "ContactPhone": "sample string 12", "ContactEmail": "sample string 13", "ContactTitle": "sample string 14", "Address": { "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "AddressLine4": "sample string 4", "City": "sample string 5", "County": "sample string 6", "StateRegionProvince": "sample string 7", "PostalCode": "sample string 8", "Plus4Code": "sample string 9", "Country": "sample string 10" }, "BillingAddress": { "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "AddressLine4": "sample string 4", "City": "sample string 5", "County": "sample string 6", "StateRegionProvince": "sample string 7", "PostalCode": "sample string 8", "Plus4Code": "sample string 9", "Country": "sample string 10" }, "ConnectionString": "sample string 15", "Logo": "sample string 16", "Website": "sample string 17", "SubscriberId": "sample string 18", "ProviderId": 19, "FirstTime": true, "ProductUrl": "sample string 21", "CategoryId": 1, "ParentClientId": 1, "Description": "sample string 22", "CountryCode": "sample string 23", "CountryPhoneCode": "sample string 24", "EmailDomain": "sample string 25" }, "StartDate": "2025/04/03 19:10:17", "IsChangePlanRequest": true }
application/xml, text/xml
Sample:
<UpdatePlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Account.DTO.Library.Plan"> <AdditionalInfo> <ContractContents> <SignedContractInfo> <Content>sample string 3</Content> <ContentId>1</ContentId> <SectionInitials>sample string 2</SectionInitials> <SignedDate>sample string 4</SignedDate> </SignedContractInfo> <SignedContractInfo> <Content>sample string 3</Content> <ContentId>1</ContentId> <SectionInitials>sample string 2</SectionInitials> <SignedDate>sample string 4</SignedDate> </SignedContractInfo> </ContractContents> <SignedContractUrl>sample string 1</SignedContractUrl> </AdditionalInfo> <ClientInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Account.DTO.Library.MyAccount"> <d2p1:Address> <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2> <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3> <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4> <d2p1:City>sample string 5</d2p1:City> <d2p1:Country>sample string 10</d2p1:Country> <d2p1:County>sample string 6</d2p1:County> <d2p1:Plus4Code>sample string 9</d2p1:Plus4Code> <d2p1:PostalCode>sample string 8</d2p1:PostalCode> <d2p1:StateRegionProvince>sample string 7</d2p1:StateRegionProvince> </d2p1:Address> <d2p1:ApiKey>sample string 5</d2p1:ApiKey> <d2p1:BillingAddress> <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2> <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3> <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4> <d2p1:City>sample string 5</d2p1:City> <d2p1:Country>sample string 10</d2p1:Country> <d2p1:County>sample string 6</d2p1:County> <d2p1:Plus4Code>sample string 9</d2p1:Plus4Code> <d2p1:PostalCode>sample string 8</d2p1:PostalCode> <d2p1:StateRegionProvince>sample string 7</d2p1:StateRegionProvince> </d2p1:BillingAddress> <d2p1:CategoryId>NPE</d2p1:CategoryId> <d2p1:ClientId>1</d2p1:ClientId> <d2p1:ConnectionString>sample string 15</d2p1:ConnectionString> <d2p1:ContactEmail>sample string 13</d2p1:ContactEmail> <d2p1:ContactFirstName>sample string 9</d2p1:ContactFirstName> <d2p1:ContactLastName>sample string 11</d2p1:ContactLastName> <d2p1:ContactMiddleName>sample string 10</d2p1:ContactMiddleName> <d2p1:ContactPhone>sample string 12</d2p1:ContactPhone> <d2p1:ContactTitle>sample string 14</d2p1:ContactTitle> <d2p1:CountryCode>sample string 23</d2p1:CountryCode> <d2p1:CountryPhoneCode>sample string 24</d2p1:CountryPhoneCode> <d2p1:Culture>sample string 4</d2p1:Culture> <d2p1:Currency>sample string 6</d2p1:Currency> <d2p1:Description>sample string 22</d2p1:Description> <d2p1:EmailDomain>sample string 25</d2p1:EmailDomain> <d2p1:FirstTime>true</d2p1:FirstTime> <d2p1:Logo>sample string 16</d2p1:Logo> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:OrganizationType>sample string 8</d2p1:OrganizationType> <d2p1:ParentClientId>1</d2p1:ParentClientId> <d2p1:ProductUrl>sample string 21</d2p1:ProductUrl> <d2p1:ProviderId>19</d2p1:ProviderId> <d2p1:ShortName>sample string 7</d2p1:ShortName> <d2p1:SubscriberId>sample string 18</d2p1:SubscriberId> <d2p1:TimeZone>sample string 3</d2p1:TimeZone> <d2p1:Website>sample string 17</d2p1:Website> </ClientInfo> <ContractCode>sample string 2</ContractCode> <CoupenCode>sample string 4</CoupenCode> <Discount>5</Discount> <DiscountApplicable>sample string 6</DiscountApplicable> <IsChangePlanRequest>true</IsChangePlanRequest> <PlanId>1</PlanId> <PlanTypeId>Metered</PlanTypeId> <PriceToBeCharged>3</PriceToBeCharged> <StartDate>2025-04-03T19:10:17.2753234+00:00</StartDate> </UpdatePlan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ITypedResponseOfNullableOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Result | boolean |
None. |
|
Category | string |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.