Register a Partner’s Customer
Register a Partner’s Customer for IBM® Storage Protect for Cloud.
To register a partner’s customer to IBM Storage Protect for
Cloud, follow the instructions below:
- Get the available data centers. For details, refer to Get Data Centers.
- Provide information of a partner’s customer account that signs up for IBM Storage Protect for Cloud. For details, refer to Provide Information of a Sign-up Account.
Provide Information of a Sign-up Account
Provides information of a partner’s customer account that signs up for IBM Storage Protect for Cloud.
Examples
var partnerContext = PublicApi.GetParnterContext("https://api.sp4c.storage-defender.ibm.com", "partnername", "partnerpassword");
var dataCenters = partnerContext.PartnerService.GetDataCenters();
var customerResgisterResult = partnerContext.PartnerService.AddCustomer(new CustomerRegistrationInfoModel()
{
UserName = "testuser@testdomain.com",
Password = "******",
DataCenter = dataCenters[0].Id,
DataCenterName = dataCenters[0].Name,
CountryCode = Country.US.ToString(),
CountryOrRegion = Country.US.ToString(),
FirstName = "FirstName",
LastName = "LastName",
Industry = ((int)IndustryInfo.InformationTechnology).ToString(),
Title = ((int)CustomerTitle.Developer).ToString(),
Organization = "testcompany",
Telephone = "123456789",
State = "",
});
Request Information
Represents the request to register a partner’s customer.
| Element | Description | Type | Required |
|---|---|---|---|
| DataCenter | Sets the data center ID. | Globally unique identifier | Yes |
| DataCenterName | Sets the data center name. | String | Yes |
| FirstName | Sets the user’s first name. | String | Yes |
| LastName | Sets the user’s last name. | String | Yes |
| UserName | Sets the user’s corporate email address. | String | Yes |
| Password | Sets the user’s password. | String | No |
| Organization | Sets the customer’s organization name. | String | Yes |
| Title | Sets the user’s title in their organization. |
Valid values: 1 (for “C-Level”) 2 (for “General Manager/VP”) 3 (for “Director”) 4 (for “Manager”) 5 (for “Team Lead”) 6 (for “Specialist/Analyst/Consultant”) 7 (for “Architect”) 8 (for “Engineer”) 9 (for “Developer”) 10 (for “Administrator”) 11 (for “Other”) |
Yes |
| Industry | Sets the industry for the customer’s organization. |
Int Valid values: 1 (for “Consumer”) 2 (for “Education”) 3 (for “Energy”) 4 (for “Financial”) 5 (for “Government”) 6 (for “Health Care”) 7 (for “Industrial”) 8 (for “Information Technology”) 9 (for “Not for Profit”) 10 (for “Services”) 11 (for “Other”) |
Yes |
| CountryCode | Sets the two letter country code for the user, such as “US” for the United States and “JP” for Japan. | String | Yes |
| State | Sets the state for the user from the United States. | String | No |
| Telephone | Sets the user’s telephone number. | String | Yes |