PUT api/Customer/PutAccount?orgId={orgId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgId

globally unique identifier

Required

Body Parameters

AccountModel
NameDescriptionTypeAdditional information
CompanyName

string

None.

Subscription

AccountSubscriptionModel

None.

FullName

string

None.

Email

string

None.

ContactNumber

string

None.

CountryName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "Subscription": {
    "Plan": "sample string 1",
    "From": "2022-09-25T02:26:04.1977844+00:00",
    "MainPlans": [
      {
        "Cost": 1.0,
        "Quantity": 1,
        "From": "2022-09-25T02:26:04.1977844+00:00",
        "Expiry": "2022-09-25T02:26:04.1977844+00:00",
        "Category": "sample string 4",
        "Plan": "sample string 5",
        "IsCustomDataSource": true
      },
      {
        "Cost": 1.0,
        "Quantity": 1,
        "From": "2022-09-25T02:26:04.1977844+00:00",
        "Expiry": "2022-09-25T02:26:04.1977844+00:00",
        "Category": "sample string 4",
        "Plan": "sample string 5",
        "IsCustomDataSource": true
      }
    ],
    "Addons": [
      {
        "Cost": 1.0,
        "Quantity": 1,
        "From": "2022-09-25T02:26:04.1977844+00:00",
        "Expiry": "2022-09-25T02:26:04.1977844+00:00",
        "Category": "sample string 4",
        "Plan": "sample string 5",
        "IsCustomDataSource": true
      },
      {
        "Cost": 1.0,
        "Quantity": 1,
        "From": "2022-09-25T02:26:04.1977844+00:00",
        "Expiry": "2022-09-25T02:26:04.1977844+00:00",
        "Category": "sample string 4",
        "Plan": "sample string 5",
        "IsCustomDataSource": true
      }
    ],
    "Support": {
      "Hours": 1,
      "Cost": 1.0,
      "From": "2022-09-25T02:26:04.1977844+00:00",
      "Expiry": "2022-09-25T02:26:04.1977844+00:00"
    },
    "Additionals": [
      {
        "Title": "sample string 1",
        "Description": "sample string 2",
        "Cost": 1.0,
        "From": "2022-09-25T02:26:04.1977844+00:00"
      },
      {
        "Title": "sample string 1",
        "Description": "sample string 2",
        "Cost": 1.0,
        "From": "2022-09-25T02:26:04.1977844+00:00"
      }
    ],
    "Expiry": "2022-09-25T02:26:04.1977844+00:00",
    "HasPaid": true,
    "IsTrial": true,
    "Cost": 1.0
  },
  "FullName": "sample string 2",
  "Email": "sample string 3",
  "ContactNumber": "sample string 4",
  "CountryName": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.