<back to all web services
OrderPriceRequest
The following routes are available for this service:| POST | /products/order/calculateprice | | |
|---|
OrderPriceRequest Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| customerId | body | string | No | |
| orderPriceReq | body | TypeCostOrderReq | No | |
TypeCostOrderReq Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Containers | form | List<TypeCostContainerReq> | No | |
TypeCostContainerReq Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | form | string | No | |
| Products | form | List<TypeCostProductReq> | No | |
TypeCostProductReq Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| ProductId | form | int | No | |
| ServiceId | form | int | No | |
| Quantity | form | decimal | No | |
| DatacenterCode | form | string | No | Allowable Values- ACD
- GMU
- SPA
- LAS
- DEV
- VCD
- AWS
- GCP
- UAT
- AZU
- CNW
- AUV
- ATL
- EXT
|
| IsSLA | form | bool | No | |
| SelfServiceId | form | int | No | |
| MaxQuantity | form | int | No | |
| increment | form | decimal | No | |
| ParentId | form | string | 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/calculateprice HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OrderPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services.DTO">
<customerId>String</customerId>
<orderPriceReq xmlns:d2p1="http://schemas.datacontract.org/2004/07/N3TEntities.Products">
<d2p1:Containers>
<d2p1:TypeCostContainerReq>
<d2p1:Id>String</d2p1:Id>
<d2p1:Products>
<d2p1:TypeCostProductReq>
<d2p1:DatacenterCode>String</d2p1:DatacenterCode>
<d2p1:IsSLA>false</d2p1:IsSLA>
<d2p1:MaxQuantity>0</d2p1:MaxQuantity>
<d2p1:ParentId>String</d2p1:ParentId>
<d2p1:ProductId>0</d2p1:ProductId>
<d2p1:Quantity>0</d2p1:Quantity>
<d2p1:SelfServiceId>0</d2p1:SelfServiceId>
<d2p1:ServiceId>0</d2p1:ServiceId>
<d2p1:increment>0</d2p1:increment>
</d2p1:TypeCostProductReq>
</d2p1:Products>
</d2p1:TypeCostContainerReq>
</d2p1:Containers>
</orderPriceReq>
</OrderPriceRequest>