Exigo Web Services API v3.4.272

CreateOrderImport

Imports a new Order for an existing customer. Use this for import routines or other instances where you wish to supply all calculation data. It is advised to use CreateOrder unless you know the exact breakdown of all pricing, tax, shipping and volume info.

Note: This request can participate in a transaction. Learn more about transactions.

Input Properties

CreateOrderImportRequest
PropertyData TypeNotes
CustomerIDInt32Unique identifier for a customer entity.
FirstNameStringOptional.
LastNameStringOptional.
CompanyStringOptional.
PhoneStringOptional.
EmailStringOptional.
ShipMethodID Int32
Address1StringOptional.
Address2StringOptional.
CityStringOptional.
State StringOptional.
ZipStringOptional.
Country StringOptional.
CountyStringOptional.
NotesStringOptional.
WarehouseID Int32Unique location for orders.
CurrencyCode StringOptional.
ShippingStateTaxDecimal
ShippingFedTaxDecimal
ShippingCountyLocalTaxDecimal
ShippingCountyTaxDecimal
ShippingCityLocalTaxDecimal
ShippingCityTaxDecimal
ShippingDecimal
PriceType Int32Controls which price band to use.
OrderStatus OrderStatusType
OrderDateDateTime
Other11StringOptional.
Other12StringOptional.
Other13StringOptional.
Other14StringOptional.
Other15StringOptional.
Other16StringOptional.
Other17StringOptional.
Other18StringOptional.
Other19StringOptional.
Other20StringOptional.
OrderType OrderType
UseManualOrderIDBooleanOptional.
ManualOrderIDInt32Optional.
ReturnOrderIDInt32Optional. Return Order ID.
OrderDetailsOrderImportDetail[]
PartyIDInt32Optional.
OrderImportDetail
PropertyData TypeNotes
ParentItemCodeStringOptional.
ItemCode StringOptional.
DescriptionStringOptional.
QtyDecimal
WeightEachDecimal
CountyLocalTaxDecimal
CountyTaxDecimal
CityTaxDecimal
StateTaxDecimal
FedTaxDecimal
TaxablePriceEachDecimal
CVEachDecimal
BVEachDecimal
PriceEachDecimal
Other10EachDecimal
Other9EachDecimal
Other8EachDecimal
Other7EachDecimal
Other6EachDecimal
Other5EachDecimal
Other4EachDecimal
Other3EachDecimal
Other2EachDecimal
Other1EachDecimal

Output Properties

CreateOrderImportResponse
PropertyData TypeNotes
OrderIDInt32

SOAP Request

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /3.0/ExigoApi.asmx HTTP/1.1
Host: api.exigo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.exigo.com/CreateOrderImport"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ApiAuthentication xmlns="http://api.exigo.com/"> <LoginName>string</LoginName> <Password>string</Password> <Company>string</Company> <Identity>string</Identity> <RequestTimeUtc>dateTime</RequestTimeUtc> <Signature>string</Signature> </ApiAuthentication> </soap:Header> <soap:Body> <CreateOrderImportRequest xmlns="http://api.exigo.com/"> <CustomerID>int</CustomerID> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <Phone>string</Phone> <Email>string</Email> <ShipMethodID>int</ShipMethodID> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <County>string</County> <Notes>string</Notes> <WarehouseID>int</WarehouseID> <CurrencyCode>string</CurrencyCode> <ShippingStateTax>decimal</ShippingStateTax> <ShippingFedTax>decimal</ShippingFedTax> <ShippingCountyLocalTax>decimal</ShippingCountyLocalTax> <ShippingCountyTax>decimal</ShippingCountyTax> <ShippingCityLocalTax>decimal</ShippingCityLocalTax> <ShippingCityTax>decimal</ShippingCityTax> <Shipping>decimal</Shipping> <PriceType>int</PriceType> <OrderStatus>Incomplete or Pending or CCDeclined or ACHDeclined or Canceled or CCPending or ACHPending or Accepted or Printed or Shipped or PendingInventory</OrderStatus> <OrderDate>dateTime</OrderDate> <Other11>string</Other11> <Other12>string</Other12> <Other13>string</Other13> <Other14>string</Other14> <Other15>string</Other15> <Other16>string</Other16> <Other17>string</Other17> <Other18>string</Other18> <Other19>string</Other19> <Other20>string</Other20> <OrderType>Default or CustomerService or ShoppingCart or WebWizard or AutoOrder or Import or BackOrder or ReplacementOrder or ReturnOrder or WebAutoOrder or TicketSystem or APIOrder or BackOrderParent or ChildOrder or Other1 or Other2 or Other3 or Other4</OrderType> <UseManualOrderID>boolean</UseManualOrderID> <ManualOrderID>int</ManualOrderID> <ReturnOrderID>int</ReturnOrderID> <OrderDetails> <OrderImportDetail> <ParentItemCode>string</ParentItemCode> <ItemCode>string</ItemCode> <Description>string</Description> <Qty>decimal</Qty> <WeightEach>decimal</WeightEach> <CountyLocalTax>decimal</CountyLocalTax> <CountyTax>decimal</CountyTax> <CityTax>decimal</CityTax> <StateTax>decimal</StateTax> <FedTax>decimal</FedTax> <TaxablePriceEach>decimal</TaxablePriceEach> <CVEach>decimal</CVEach> <BVEach>decimal</BVEach> <PriceEach>decimal</PriceEach> <Other10Each>decimal</Other10Each> <Other9Each>decimal</Other9Each> <Other8Each>decimal</Other8Each> <Other7Each>decimal</Other7Each> <Other6Each>decimal</Other6Each> <Other5Each>decimal</Other5Each> <Other4Each>decimal</Other4Each> <Other3Each>decimal</Other3Each> <Other2Each>decimal</Other2Each> <Other1Each>decimal</Other1Each> </OrderImportDetail> </OrderDetails> <PartyID>int</PartyID> </CreateOrderImportRequest> </soap:Body> </soap:Envelope>

SOAP Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CreateOrderImportResult xmlns="http://api.exigo.com/"> <OrderID>int</OrderID> </CreateOrderImportResult> </soap:Body> </soap:Envelope>

C#

try

{

    //Create Main API Context Object

    ExigoApi api = new ExigoApi();

 

    //Create Authentication Header

    ApiAuthentication auth = new ApiAuthentication();

    auth.LoginName = "yourLoginName";

    auth.Password = "yourPassword";

    auth.Company = "yourCompany";

    api.ApiAuthenticationValue = auth;

 

    //Create Request

    CreateOrderImportRequest req = new CreateOrderImportRequest();

 

    req.CustomerID = 1;             //Unique identifier for a customer entity.

    req.FirstName = "1";

    req.LastName = "1";

    req.Company = "1";

    req.Phone = "1";

    req.Email = "1";

    req.ShipMethodID = 1;

    req.Address1 = "1";

    req.Address2 = "1";

    req.City = "1";

    req.Zip = "1";

    req.County = "1";

    req.Notes = "1";

    req.WarehouseID = 1;            //Unique location for orders

    req.CurrencyCode = "usd";

    req.ShippingStateTax = 1;

    req.ShippingFedTax = 1;

    req.ShippingCountyLocalTax = 1;

    req.ShippingCountyTax = 1;

    req.ShippingCityLocalTax = 1;

    req.ShippingCityTax = 1;

    req.Shipping = 1;

    req.PriceType = 1;              //Controls which price band to use

    req.OrderStatus = OrderStatusType.Incomplete;

    req.OrderDate = DateTime.Today;

    req.Other11 = "1";

    req.Other12 = "1";

    req.Other13 = "1";

    req.Other14 = "1";

    req.Other15 = "1";

    req.Other16 = "1";

    req.Other17 = "1";

    req.Other18 = "1";

    req.Other19 = "1";

    req.Other20 = "1";

    req.OrderType = OrderType.Default;

 

    //Add OrderDetails

    List<OrderImportDetail> orderdetails = new List<OrderImportDetail>();

 

    OrderImportDetail orderDetail1 = new OrderImportDetail();

    orderDetail1.ParentItemCode = "1";

    orderDetail1.ItemCode = "1";

    orderDetail1.Description = "1";

    orderDetail1.Qty = 1;

    orderDetail1.WeightEach = 1;

    orderDetail1.CountyLocalTax = 1;

    orderDetail1.CountyTax = 1;

    orderDetail1.CityTax = 1;

    orderDetail1.StateTax = 1;

    orderDetail1.FedTax = 1;

    orderDetail1.TaxablePriceEach = 1;

    orderDetail1.CVEach = 1;

    orderDetail1.BVEach = 1;

    orderDetail1.PriceEach = 1;

    orderDetail1.Other10Each = 1;

    orderDetail1.Other9Each = 1;

    orderDetail1.Other8Each = 1;

    orderDetail1.Other7Each = 1;

    orderDetail1.Other6Each = 1;

    orderDetail1.Other5Each = 1;

    orderDetail1.Other4Each = 1;

    orderDetail1.Other3Each = 1;

    orderDetail1.Other2Each = 1;

    orderDetail1.Other1Each = 1;

    orderdetails.Add(orderDetail1);

 

    OrderImportDetail orderDetail2 = new OrderImportDetail();

    orderDetail2.ParentItemCode = "2";

    orderDetail2.ItemCode = "2";

    orderDetail2.Description = "2";

    orderDetail2.Qty = 2;

    orderDetail2.WeightEach = 2;

    orderDetail2.CountyLocalTax = 2;

    orderDetail2.CountyTax = 2;

    orderDetail2.CityTax = 2;

    orderDetail2.StateTax = 2;

    orderDetail2.FedTax = 2;

    orderDetail2.TaxablePriceEach = 2;

    orderDetail2.CVEach = 2;

    orderDetail2.BVEach = 2;

    orderDetail2.PriceEach = 2;

    orderDetail2.Other10Each = 2;

    orderDetail2.Other9Each = 2;

    orderDetail2.Other8Each = 2;

    orderDetail2.Other7Each = 2;

    orderDetail2.Other6Each = 2;

    orderDetail2.Other5Each = 2;

    orderDetail2.Other4Each = 2;

    orderDetail2.Other3Each = 2;

    orderDetail2.Other2Each = 2;

    orderDetail2.Other1Each = 2;

    orderdetails.Add(orderDetail2);

 

    //Now attach the list to the request

    req.OrderDetails = orderdetails.ToArray();

    req.PartyID = 1;

 

    //Send Request to Server and Get Response

    CreateOrderImportResponse res = api.CreateOrderImport(req);

 

    //Now examine the results:

    Console.WriteLine("OrderID: {0}", res.OrderID);

}

catch (Exception ex)

{

    Console.WriteLine("Error: " + ex.Message);

}

VB.Net

Try

    'Create Main API Context Object

    Dim api as new ExigoApi()

 

    'Create Authentication Header

    Dim auth as new ApiAuthentication()

    auth.LoginName = "yourLoginName"

    auth.Password = "yourPassword"

    auth.Company = "yourCompany"

    api.ApiAuthenticationValue = auth

 

    'Create Request

    Dim req as new CreateOrderImportRequest()

 

    req.CustomerID = 1

    req.FirstName = "1"

    req.LastName = "1"

    req.Company = "1"

    req.Phone = "1"

    req.Email = "1"

    req.ShipMethodID = 1

    req.Address1 = "1"

    req.Address2 = "1"

    req.City = "1"

    req.Zip = "1"

    req.County = "1"

    req.Notes = "1"

    req.WarehouseID = 1

    req.CurrencyCode = "usd"

    req.ShippingStateTax = 1

    req.ShippingFedTax = 1

    req.ShippingCountyLocalTax = 1

    req.ShippingCountyTax = 1

    req.ShippingCityLocalTax = 1

    req.ShippingCityTax = 1

    req.Shipping = 1

    req.PriceType = 1

    req.OrderStatus = OrderStatusType.Incomplete

    req.OrderDate = DateTime.Today

    req.Other11 = "1"

    req.Other12 = "1"

    req.Other13 = "1"

    req.Other14 = "1"

    req.Other15 = "1"

    req.Other16 = "1"

    req.Other17 = "1"

    req.Other18 = "1"

    req.Other19 = "1"

    req.Other20 = "1"

    req.OrderType = OrderType.Default

 

    'Add OrderDetails

    Dim orderdetails As New List(Of OrderImportDetail)()

 

    Dim orderDetail1 as new OrderImportDetail()

    orderDetail1.ParentItemCode = "1"

    orderDetail1.ItemCode = "1"

    orderDetail1.Description = "1"

    orderDetail1.Qty = 1

    orderDetail1.WeightEach = 1

    orderDetail1.CountyLocalTax = 1

    orderDetail1.CountyTax = 1

    orderDetail1.CityTax = 1

    orderDetail1.StateTax = 1

    orderDetail1.FedTax = 1

    orderDetail1.TaxablePriceEach = 1

    orderDetail1.CVEach = 1

    orderDetail1.BVEach = 1

    orderDetail1.PriceEach = 1

    orderDetail1.Other10Each = 1

    orderDetail1.Other9Each = 1

    orderDetail1.Other8Each = 1

    orderDetail1.Other7Each = 1

    orderDetail1.Other6Each = 1

    orderDetail1.Other5Each = 1

    orderDetail1.Other4Each = 1

    orderDetail1.Other3Each = 1

    orderDetail1.Other2Each = 1

    orderDetail1.Other1Each = 1

    orderdetails.Add(orderDetail1)

 

    Dim orderDetail2 as new OrderImportDetail()

    orderDetail2.ParentItemCode = "2"

    orderDetail2.ItemCode = "2"

    orderDetail2.Description = "2"

    orderDetail2.Qty = 2

    orderDetail2.WeightEach = 2

    orderDetail2.CountyLocalTax = 2

    orderDetail2.CountyTax = 2

    orderDetail2.CityTax = 2

    orderDetail2.StateTax = 2

    orderDetail2.FedTax = 2

    orderDetail2.TaxablePriceEach = 2

    orderDetail2.CVEach = 2

    orderDetail2.BVEach = 2

    orderDetail2.PriceEach = 2

    orderDetail2.Other10Each = 2

    orderDetail2.Other9Each = 2

    orderDetail2.Other8Each = 2

    orderDetail2.Other7Each = 2

    orderDetail2.Other6Each = 2

    orderDetail2.Other5Each = 2

    orderDetail2.Other4Each = 2

    orderDetail2.Other3Each = 2

    orderDetail2.Other2Each = 2

    orderDetail2.Other1Each = 2

    orderdetails.Add(orderDetail2)

 

    'Now attach the list to the request

    req.OrderDetails = orderdetails.ToArray()

    req.PartyID = 1

 

    'Send Request to Server and Get Response

    Dim res As CreateOrderImportResponse = api.CreateOrderImport(req)

 

    'Now examine the results:

    Console.WriteLine("OrderID: {0}", res.OrderID)

Catch ex As Exception

    Console.WriteLine("Error: " & ex.Message)

End Try

PHP

Note: PHP is not officially supported.

<?php

try

{

    //Setup the SoapClient and Authentication

    $api = new SoapClient("http://api.exigo.com/3.0/ExigoApi.asmx?WSDL");

    $ns = "http://api.exigo.com/";

    $auth = array()

    $auth["LoginName"] = new SoapVar("yourLoginName",XSD_STRING,null,null,null,$ns);

    $auth["Password"] = new SoapVar("yourPassword",XSD_STRING,null,null,null,$ns);

    $auth["Company"] = new SoapVar("yourCompany",XSD_STRING,null,null,null,$ns);

    $headerBody = new SoapVar($auth, SOAP_ENC_OBJECT);

    $header = new SoapHeader($ns, 'ApiAuthentication', $headerBody);

    $api->__setSoapHeaders(array($header));

 

    //Create Request

 

    $req->CustomerID = 1;

    $req->FirstName = "1";

    $req->LastName = "1";

    $req->Company = "1";

    $req->Phone = "1";

    $req->Email = "1";

    $req->ShipMethodID = 1;

    $req->Address1 = "1";

    $req->Address2 = "1";

    $req->City = "1";

    $req->Zip = "1";

    $req->County = "1";

    $req->Notes = "1";

    $req->WarehouseID = 1;

    $req->CurrencyCode = "usd";

    $req->ShippingStateTax = 1;

    $req->ShippingFedTax = 1;

    $req->ShippingCountyLocalTax = 1;

    $req->ShippingCountyTax = 1;

    $req->ShippingCityLocalTax = 1;

    $req->ShippingCityTax = 1;

    $req->Shipping = 1;

    $req->PriceType = 1;

    $req->OrderStatus = 1;

    $req->OrderDate = 1;

    $req->Other11 = "1";

    $req->Other12 = "1";

    $req->Other13 = "1";

    $req->Other14 = "1";

    $req->Other15 = "1";

    $req->Other16 = "1";

    $req->Other17 = "1";

    $req->Other18 = "1";

    $req->Other19 = "1";

    $req->Other20 = "1";

    $req->OrderType = 1;

 

    //Add OrderDetails

 

    $orderDetail1->ParentItemCode = "1";

    $orderDetail1->ItemCode = "1";

    $orderDetail1->Description = "1";

    $orderDetail1->Qty = 1;

    $orderDetail1->WeightEach = 1;

    $orderDetail1->CountyLocalTax = 1;

    $orderDetail1->CountyTax = 1;

    $orderDetail1->CityTax = 1;

    $orderDetail1->StateTax = 1;

    $orderDetail1->FedTax = 1;

    $orderDetail1->TaxablePriceEach = 1;

    $orderDetail1->CVEach = 1;

    $orderDetail1->BVEach = 1;

    $orderDetail1->PriceEach = 1;

    $orderDetail1->Other10Each = 1;

    $orderDetail1->Other9Each = 1;

    $orderDetail1->Other8Each = 1;

    $orderDetail1->Other7Each = 1;

    $orderDetail1->Other6Each = 1;

    $orderDetail1->Other5Each = 1;

    $orderDetail1->Other4Each = 1;

    $orderDetail1->Other3Each = 1;

    $orderDetail1->Other2Each = 1;

    $orderDetail1->Other1Each = 1;

 

    $orderDetail2->ParentItemCode = "2";

    $orderDetail2->ItemCode = "2";

    $orderDetail2->Description = "2";

    $orderDetail2->Qty = 2;

    $orderDetail2->WeightEach = 2;

    $orderDetail2->CountyLocalTax = 2;

    $orderDetail2->CountyTax = 2;

    $orderDetail2->CityTax = 2;

    $orderDetail2->StateTax = 2;

    $orderDetail2->FedTax = 2;

    $orderDetail2->TaxablePriceEach = 2;

    $orderDetail2->CVEach = 2;

    $orderDetail2->BVEach = 2;

    $orderDetail2->PriceEach = 2;

    $orderDetail2->Other10Each = 2;

    $orderDetail2->Other9Each = 2;

    $orderDetail2->Other8Each = 2;

    $orderDetail2->Other7Each = 2;

    $orderDetail2->Other6Each = 2;

    $orderDetail2->Other5Each = 2;

    $orderDetail2->Other4Each = 2;

    $orderDetail2->Other3Each = 2;

    $orderDetail2->Other2Each = 2;

    $orderDetail2->Other1Each = 2;

 

    //Now attach the list to the request

    req.OrderDetails = array(orderDetail1,orderDetail2);

    $req->PartyID = 1;

 

    //Send Request to Server and Get Response

    $res = $api.CreateOrderImport($req);

 

    //Now examine the results:

}

catch (SoapFault $ex)

{

    echo "Error: ", $ex->getMessage();

}

?>

Java

Note: Java is not officially supported.

try

{

    //Create Main API Context Object

    ExigoApi api = new ExigoApi();

 

    //Create Authentication Header

    ApiAuthentication auth = new ApiAuthentication();

    auth.setLoginName("yourLoginName");

    auth.setPassword("yourPassword");

    auth.setCompany("yourCompany");

    api.setApiAuthenticationValue(auth);

 

    //Create Request

    CreateOrderImportRequest req = new CreateOrderImportRequest();

 

    req.setCustomerID(1);

    req.setFirstName("1");

    req.setLastName("1");

    req.setCompany("1");

    req.setPhone("1");

    req.setEmail("1");

    req.setShipMethodID(1);

    req.setAddress1("1");

    req.setAddress2("1");

    req.setCity("1");

    req.setZip("1");

    req.setCounty("1");

    req.setNotes("1");

    req.setWarehouseID(1);

    req.setCurrencyCode("usd");

    req.setShippingStateTax(1);

    req.setShippingFedTax(1);

    req.setShippingCountyLocalTax(1);

    req.setShippingCountyTax(1);

    req.setShippingCityLocalTax(1);

    req.setShippingCityTax(1);

    req.setShipping(1);

    req.setPriceType(1);

    req.setOrderStatus(1);

    req.setOrderDate(1);

    req.setOther11("1");

    req.setOther12("1");

    req.setOther13("1");

    req.setOther14("1");

    req.setOther15("1");

    req.setOther16("1");

    req.setOther17("1");

    req.setOther18("1");

    req.setOther19("1");

    req.setOther20("1");

    req.setOrderType(1);

 

    //Add OrderDetails

    ArrayOfOrderImportDetail orderdetails = new ArrayOfOrderImportDetail();

 

    OrderImportDetail orderDetail1 = new OrderImportDetail();

    orderDetail1.setParentItemCode("1");

    orderDetail1.setItemCode("1");

    orderDetail1.setDescription("1");

    orderDetail1.setQty(1);

    orderDetail1.setWeightEach(1);

    orderDetail1.setCountyLocalTax(1);

    orderDetail1.setCountyTax(1);

    orderDetail1.setCityTax(1);

    orderDetail1.setStateTax(1);

    orderDetail1.setFedTax(1);

    orderDetail1.setTaxablePriceEach(1);

    orderDetail1.setCVEach(1);

    orderDetail1.setBVEach(1);

    orderDetail1.setPriceEach(1);

    orderDetail1.setOther10Each(1);

    orderDetail1.setOther9Each(1);

    orderDetail1.setOther8Each(1);

    orderDetail1.setOther7Each(1);

    orderDetail1.setOther6Each(1);

    orderDetail1.setOther5Each(1);

    orderDetail1.setOther4Each(1);

    orderDetail1.setOther3Each(1);

    orderDetail1.setOther2Each(1);

    orderDetail1.setOther1Each(1);

    orderdetails.Add(orderDetail1);

 

    OrderImportDetail orderDetail2 = new OrderImportDetail();

    orderDetail2.setParentItemCode("2");

    orderDetail2.setItemCode("2");

    orderDetail2.setDescription("2");

    orderDetail2.setQty(2);

    orderDetail2.setWeightEach(2);

    orderDetail2.setCountyLocalTax(2);

    orderDetail2.setCountyTax(2);

    orderDetail2.setCityTax(2);

    orderDetail2.setStateTax(2);

    orderDetail2.setFedTax(2);

    orderDetail2.setTaxablePriceEach(2);

    orderDetail2.setCVEach(2);

    orderDetail2.setBVEach(2);

    orderDetail2.setPriceEach(2);

    orderDetail2.setOther10Each(2);

    orderDetail2.setOther9Each(2);

    orderDetail2.setOther8Each(2);

    orderDetail2.setOther7Each(2);

    orderDetail2.setOther6Each(2);

    orderDetail2.setOther5Each(2);

    orderDetail2.setOther4Each(2);

    orderDetail2.setOther3Each(2);

    orderDetail2.setOther2Each(2);

    orderDetail2.setOther1Each(2);

    orderdetails.Add(orderDetail2);

 

    //Now attach the list to the request

    req.setOrderDetails(orderdetails);

    req.setPartyID(1);

 

    //Send Request to Server and Get Response

    CreateOrderImportResponse res = api.getExigoApiSoap().createOrderImport(req, auth);

 

    //Now examine the results:

}

catch (Exception ex)

{

    System.out.println("Error: " + ex.getMessage());

}

CSV

This method does not support csv output.