POST | /products/demo/provision |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Description | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Company | form | TypeProvisionDemoCompanyModel | No | |
Contacts | form | List<TypeProvisionDemoContactModel> | No | |
Demo | form | List<TypeDemoModel> | No | |
SalesContact | form | string | No | |
RequesterIP | form | string | No | |
RequestCreated | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Address | form | string | No | |
City | form | string | No | |
State | form | string | No | |
PostalCode | form | string | No | |
Country | form | string | No | |
Telephone | form | string | No | |
form | string | No | ||
CompanyId | form | string | No | |
Notes | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | form | string | No | |
LastName | form | string | No | |
form | string | No | ||
Telephone | form | string | No | |
Roles | form | List<TypeContactRole> | No |
Name | Value | |
---|---|---|
Primary | 1 | |
Technical | 2 | |
Billing | 3 | |
Reseller | 4 | |
Sales | 5 | |
ContractSignatory | 6 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Type | form | TypeDemoType | No | |
Datacenter | form | string | No | |
Length | form | int | No | |
OrderNote | form | string | No |
Name | Value | |
---|---|---|
Acronis | 1 | |
AcronisSCS | 2 | |
Pvdc | 3 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /products/demo/provision HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
id: 0,
description: String,
company:
{
name: String,
address: String,
city: String,
state: String,
postalCode: String,
country: String,
telephone: String,
email: String,
companyId: String,
notes: String
},
contacts:
[
{
firstName: String,
lastName: String,
email: String,
telephone: String,
roles:
[
Primary
]
}
],
demo:
[
{
type: Acronis,
datacenter: String,
length: 0,
orderNote: String
}
],
salesContact: String,
requesterIP: String,
requestCreated: 0001-01-01
}