PUT api/Customer/PutAccount?orgId={orgId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orgId | globally unique identifier |
Required |
Body Parameters
AccountModelName | Description | Type | Additional information |
---|---|---|---|
CompanyName | string |
None. |
|
Subscription | AccountSubscriptionModel |
None. |
|
ZohoCustomerId | string |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
ContactNumber | string |
None. |
|
CountryName | string |
None. |
|
CountryCode | string |
None. |
|
Password | string |
None. |
|
JobRole | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyName": "sample string 1", "Subscription": { "Plan": "sample string 1", "PlanCode": "sample string 2", "ZohoId": "sample string 3", "From": "2024-11-21T08:54:34.1984092+00:00", "MainPlans": [ { "Cost": 1.0, "Quantity": 1, "From": "2024-11-21T08:54:34.1984092+00:00", "Expiry": "2024-11-21T08:54:34.1984092+00:00", "Description": "sample string 4", "AddonCode": "sample string 5", "Category": "sample string 6", "Plan": "sample string 7", "IsCustomDataSource": true }, { "Cost": 1.0, "Quantity": 1, "From": "2024-11-21T08:54:34.1984092+00:00", "Expiry": "2024-11-21T08:54:34.1984092+00:00", "Description": "sample string 4", "AddonCode": "sample string 5", "Category": "sample string 6", "Plan": "sample string 7", "IsCustomDataSource": true } ], "Addons": [ { "Cost": 1.0, "Quantity": 1, "From": "2024-11-21T08:54:34.1984092+00:00", "Expiry": "2024-11-21T08:54:34.1984092+00:00", "Description": "sample string 4", "AddonCode": "sample string 5", "Category": "sample string 6", "Plan": "sample string 7", "IsCustomDataSource": true }, { "Cost": 1.0, "Quantity": 1, "From": "2024-11-21T08:54:34.1984092+00:00", "Expiry": "2024-11-21T08:54:34.1984092+00:00", "Description": "sample string 4", "AddonCode": "sample string 5", "Category": "sample string 6", "Plan": "sample string 7", "IsCustomDataSource": true } ], "Support": { "Hours": 1, "Cost": 1.0, "From": "2024-11-21T08:54:34.1984092+00:00", "Expiry": "2024-11-21T08:54:34.1984092+00:00" }, "Additionals": [ { "Title": "sample string 1", "Description": "sample string 2", "Cost": 1.0, "From": "2024-11-21T08:54:34.1984092+00:00" }, { "Title": "sample string 1", "Description": "sample string 2", "Cost": 1.0, "From": "2024-11-21T08:54:34.1984092+00:00" } ], "Expiry": "2024-11-21T08:54:34.1984092+00:00", "HasPaid": true, "IsTrial": true, "Cost": 1.0 }, "ZohoCustomerId": "sample string 2", "FullName": "sample string 3", "Email": "sample string 4", "ContactNumber": "sample string 5", "CountryName": "sample string 6", "CountryCode": "sample string 7", "Password": "sample string 8", "JobRole": "sample string 9" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |