<back to all web services
ProvisionOrderModel
The following routes are available for this service:| POST | /products/order/provision | | |
|---|
TypeProvisionOrderModel Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| CustomerId | form | string | No | |
| ContactId | form | Guid? | No | |
| ContactType | form | TypeContactType | No | |
| OrderName | form | string | No | |
| OrderNotes | form | List<string> | No | |
| Products | form | List<TypeProvisionProductModel> | No | |
TypeContactType Enum:| Name | Value | |
|---|
| Portal | 1 | |
| Keycloak | 2 | |
TypeProvisionProductModel Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| DatacenterCode | form | string | No | |
| ProductId | form | int | No | |
| ServiceId | form | int | No | |
| Quantity | form | decimal | No | |
| IsSLA | form | bool | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /products/order/provision HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProvisionOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services.DTO">
<ContactId xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">00000000-0000-0000-0000-000000000000</ContactId>
<ContactType xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">Portal</ContactType>
<CustomerId xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">String</CustomerId>
<OrderName xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">String</OrderName>
<OrderNotes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">
<d2p1:string>String</d2p1:string>
</OrderNotes>
<Products xmlns="http://schemas.datacontract.org/2004/07/N3TEntities.Products">
<TypeProvisionProductModel>
<DatacenterCode>String</DatacenterCode>
<IsSLA>false</IsSLA>
<ProductId>0</ProductId>
<Quantity>0</Quantity>
<ServiceId>0</ServiceId>
</TypeProvisionProductModel>
</Products>
</ProvisionOrderModel>