Net3 API Interface for Customer Portal

<back to all web services

ProvisionCustomerModel

Requires Authentication
The following routes are available for this service:
POST/provisioning/customerProvision New Customer in OnBoarding and Logins
ProvisionClient Parameters:
NameParameterData TypeRequiredDescription
CustomerformTypeCustomerInfoNo
AddressesformList<TypeCustomerAddress>No
ContactsformList<TypeProvisionDemoContactModel>No
CreatedByformTypeCreatedByNo
SalesContactformstringNo
RequesterIPformstringNo
RequestCreatedformDateTimeNo
TypeCustomerInfo Parameters:
NameParameterData TypeRequiredDescription
CustomerIdformstringNo
CustomerNameformstringNo
StreetAddressformstringNo
CityStateZipformstringNo
PhoneformstringNo
ExtensionformstringNo
EmailformstringNo
LocalIdformlongNo
ServiceLevelIdformintNo
isResellerformboolNo
ParentCompanyIdformstringNo
N3TLogins_CompanyIdformGuidNo
LastUpdateDateformDateTime?No
TypeCustomerStatusIdformintNo
TypePricingTierIdformintNo
TypeCustomerAddress Parameters:
NameParameterData TypeRequiredDescription
StreetformstringNo
CityformstringNo
StateformstringNo
PostalCodeformstringNo
TelephoneformstringNo
ExtensionformstringNo
EmailformstringNo
NotesformstringNo
PrimaryformboolNo
TypeProvisionDemoContactModel Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
EmailformstringNo
TelephoneformstringNo
RolesformList<TypeContactRole>No
TypeContactRole Enum:
NameValue
Primary1
Technical2
Billing3
Reseller4
Sales5
ContractSignatory6
TypeCreatedBy Parameters:
NameParameterData TypeRequiredDescription
EmailformstringNo
FirstNameformstringNo
LastNameformstringNo
UsernameformstringNo
UserIdformGuidNo
CompanyIdformGuidNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /provisioning/customer HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	customer: 
	{
		customerId: String,
		customerName: String,
		streetAddress: String,
		cityStateZip: String,
		phone: String,
		extension: String,
		email: String,
		localId: 0,
		serviceLevelId: 0,
		isReseller: False,
		parentCompanyId: String,
		n3TLogins_CompanyId: 00000000000000000000000000000000,
		lastUpdateDate: 0001-01-01,
		typeCustomerStatusId: 0,
		typePricingTierId: 0
	},
	addresses: 
	[
		{
			street: String,
			city: String,
			state: String,
			postalCode: String,
			telephone: String,
			extension: String,
			email: String,
			notes: String,
			primary: False
		}
	],
	contacts: 
	[
		{
			firstName: String,
			lastName: String,
			email: String,
			telephone: String,
			roles: 
			[
				Primary
			]
		}
	],
	createdBy: 
	{
		email: String,
		firstName: String,
		lastName: String,
		username: String,
		userId: 00000000000000000000000000000000,
		companyId: 00000000000000000000000000000000
	},
	salesContact: String,
	requesterIP: String,
	requestCreated: 0001-01-01
}