GetVolumes
Returns volume records for a current period in a periodtype.Input Properties
GetVolumesRequest
Output Properties
GetVolumesResponse
VolumeResponse
Http Request
GET https://yourcompany-api.exigo.com/3.0/commissions/volumes?periodType=1 &periodID=1 &customerID=1 &customerKey=1 Authorization: Basic base64Encoded
Http Response
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length{ "volumes": null, "result": null }
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: lifewave-api.exigo.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://api.exigo.com/GetVolumes" <?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> <GetVolumesRequest xmlns="http://api.exigo.com/"> <PeriodType>int</PeriodType> <PeriodID>int</PeriodID> <CustomerID>int</CustomerID> <CustomerKey>string</CustomerKey> </GetVolumesRequest> </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> <GetVolumesResult xmlns="http://api.exigo.com/"> <Volumes> <VolumeResponse> <CustomerID>int</CustomerID> <PeriodType>int</PeriodType> <PeriodID>int</PeriodID> <PeriodDescription>string</PeriodDescription> <Volume1>decimal</Volume1> <Volume2>decimal</Volume2> <Volume3>decimal</Volume3> <Volume4>decimal</Volume4> <Volume5>decimal</Volume5> <Volume6>decimal</Volume6> <Volume7>decimal</Volume7> <Volume8>decimal</Volume8> <Volume9>decimal</Volume9> <Volume10>decimal</Volume10> <Volume11>decimal</Volume11> <Volume12>decimal</Volume12> <Volume13>decimal</Volume13> <Volume14>decimal</Volume14> <Volume15>decimal</Volume15> <Volume16>decimal</Volume16> <Volume17>decimal</Volume17> <Volume18>decimal</Volume18> <Volume19>decimal</Volume19> <Volume20>decimal</Volume20> <Volume21>decimal</Volume21> <Volume22>decimal</Volume22> <Volume23>decimal</Volume23> <Volume24>decimal</Volume24> <Volume25>decimal</Volume25> <Volume26>decimal</Volume26> <Volume27>decimal</Volume27> <Volume28>decimal</Volume28> <Volume29>decimal</Volume29> <Volume30>decimal</Volume30> <Volume31>decimal</Volume31> <Volume32>decimal</Volume32> <Volume33>decimal</Volume33> <Volume34>decimal</Volume34> <Volume35>decimal</Volume35> <Volume36>decimal</Volume36> <Volume37>decimal</Volume37> <Volume38>decimal</Volume38> <Volume39>decimal</Volume39> <Volume40>decimal</Volume40> <Volume41>decimal</Volume41> <Volume42>decimal</Volume42> <Volume43>decimal</Volume43> <Volume44>decimal</Volume44> <Volume45>decimal</Volume45> <Volume46>decimal</Volume46> <Volume47>decimal</Volume47> <Volume48>decimal</Volume48> <Volume49>decimal</Volume49> <Volume50>decimal</Volume50> <Volume51>decimal</Volume51> <Volume52>decimal</Volume52> <Volume53>decimal</Volume53> <Volume54>decimal</Volume54> <Volume55>decimal</Volume55> <Volume56>decimal</Volume56> <Volume57>decimal</Volume57> <Volume58>decimal</Volume58> <Volume59>decimal</Volume59> <Volume60>decimal</Volume60> <Volume61>decimal</Volume61> <Volume62>decimal</Volume62> <Volume63>decimal</Volume63> <Volume64>decimal</Volume64> <Volume65>decimal</Volume65> <Volume66>decimal</Volume66> <Volume67>decimal</Volume67> <Volume68>decimal</Volume68> <Volume69>decimal</Volume69> <Volume70>decimal</Volume70> <Volume71>decimal</Volume71> <Volume72>decimal</Volume72> <Volume73>decimal</Volume73> <Volume74>decimal</Volume74> <Volume75>decimal</Volume75> <Volume76>decimal</Volume76> <Volume77>decimal</Volume77> <Volume78>decimal</Volume78> <Volume79>decimal</Volume79> <Volume80>decimal</Volume80> <Volume81>decimal</Volume81> <Volume82>decimal</Volume82> <Volume83>decimal</Volume83> <Volume84>decimal</Volume84> <Volume85>decimal</Volume85> <Volume86>decimal</Volume86> <Volume87>decimal</Volume87> <Volume88>decimal</Volume88> <Volume89>decimal</Volume89> <Volume90>decimal</Volume90> <Volume91>decimal</Volume91> <Volume92>decimal</Volume92> <Volume93>decimal</Volume93> <Volume94>decimal</Volume94> <Volume95>decimal</Volume95> <Volume96>decimal</Volume96> <Volume97>decimal</Volume97> <Volume98>decimal</Volume98> <Volume99>decimal</Volume99> <Volume100>decimal</Volume100> <RankID>int</RankID> <PaidRankID>int</PaidRankID> <Volume101>decimal</Volume101> <Volume102>decimal</Volume102> <Volume103>decimal</Volume103> <Volume104>decimal</Volume104> <Volume105>decimal</Volume105> <Volume106>decimal</Volume106> <Volume107>decimal</Volume107> <Volume108>decimal</Volume108> <Volume109>decimal</Volume109> <Volume110>decimal</Volume110> <Volume111>decimal</Volume111> <Volume112>decimal</Volume112> <Volume113>decimal</Volume113> <Volume114>decimal</Volume114> <Volume115>decimal</Volume115> <Volume116>decimal</Volume116> <Volume117>decimal</Volume117> <Volume118>decimal</Volume118> <Volume119>decimal</Volume119> <Volume120>decimal</Volume120> <Volume121>decimal</Volume121> <Volume122>decimal</Volume122> <Volume123>decimal</Volume123> <Volume124>decimal</Volume124> <Volume125>decimal</Volume125> <Volume126>decimal</Volume126> <Volume127>decimal</Volume127> <Volume128>decimal</Volume128> <Volume129>decimal</Volume129> <Volume130>decimal</Volume130> <Volume131>decimal</Volume131> <Volume132>decimal</Volume132> <Volume133>decimal</Volume133> <Volume134>decimal</Volume134> <Volume135>decimal</Volume135> <Volume136>decimal</Volume136> <Volume137>decimal</Volume137> <Volume138>decimal</Volume138> <Volume139>decimal</Volume139> <Volume140>decimal</Volume140> <Volume141>decimal</Volume141> <Volume142>decimal</Volume142> <Volume143>decimal</Volume143> <Volume144>decimal</Volume144> <Volume145>decimal</Volume145> <Volume146>decimal</Volume146> <Volume147>decimal</Volume147> <Volume148>decimal</Volume148> <Volume149>decimal</Volume149> <Volume150>decimal</Volume150> <Volume151>decimal</Volume151> <Volume152>decimal</Volume152> <Volume153>decimal</Volume153> <Volume154>decimal</Volume154> <Volume155>decimal</Volume155> <Volume156>decimal</Volume156> <Volume157>decimal</Volume157> <Volume158>decimal</Volume158> <Volume159>decimal</Volume159> <Volume160>decimal</Volume160> <Volume161>decimal</Volume161> <Volume162>decimal</Volume162> <Volume163>decimal</Volume163> <Volume164>decimal</Volume164> <Volume165>decimal</Volume165> <Volume166>decimal</Volume166> <Volume167>decimal</Volume167> <Volume168>decimal</Volume168> <Volume169>decimal</Volume169> <Volume170>decimal</Volume170> <Volume171>decimal</Volume171> <Volume172>decimal</Volume172> <Volume173>decimal</Volume173> <Volume174>decimal</Volume174> <Volume175>decimal</Volume175> <Volume176>decimal</Volume176> <Volume177>decimal</Volume177> <Volume178>decimal</Volume178> <Volume179>decimal</Volume179> <Volume180>decimal</Volume180> <Volume181>decimal</Volume181> <Volume182>decimal</Volume182> <Volume183>decimal</Volume183> <Volume184>decimal</Volume184> <Volume185>decimal</Volume185> <Volume186>decimal</Volume186> <Volume187>decimal</Volume187> <Volume188>decimal</Volume188> <Volume189>decimal</Volume189> <Volume190>decimal</Volume190> <Volume191>decimal</Volume191> <Volume192>decimal</Volume192> <Volume193>decimal</Volume193> <Volume194>decimal</Volume194> <Volume195>decimal</Volume195> <Volume196>decimal</Volume196> <Volume197>decimal</Volume197> <Volume198>decimal</Volume198> <Volume199>decimal</Volume199> <Volume200>decimal</Volume200> <CustomerKey>string</CustomerKey> </VolumeResponse> </Volumes> </GetVolumesResult> </soap:Body> </soap:Envelope>
C# Rest Client
Install Nuget package Exigo.Api.Client
try
{
//Create Api Client
var api = new ExigoApiClient("yourcmpany", "yourlogin", "yourpassword");
//Create Request
var req = new GetVolumesRequest();
req.PeriodType = 1; //Required.
req.PeriodID = 1; //Will default to current period.
req.CustomerID = 1;
req.CustomerKey = "1"; //Unique alpha numeric identifier for customer record. Exeption will occur if CustomerID & CustomerKey are provided.
//Send Request to Server and Get Response
var res = await api.GetVolumesAsync(req);
//Now examine the results:
foreach (var volume in res.Volumes)
{
Console.WriteLine("CustomerID: {0}", volume.CustomerID);
Console.WriteLine("PeriodType: {0}", volume.PeriodType);
Console.WriteLine("PeriodID: {0}", volume.PeriodID);
Console.WriteLine("PeriodDescription: {0}", volume.PeriodDescription);
Console.WriteLine("Volume1: {0}", volume.Volume1);
Console.WriteLine("Volume2: {0}", volume.Volume2);
Console.WriteLine("Volume3: {0}", volume.Volume3);
Console.WriteLine("Volume4: {0}", volume.Volume4);
Console.WriteLine("Volume5: {0}", volume.Volume5);
Console.WriteLine("Volume6: {0}", volume.Volume6);
Console.WriteLine("Volume7: {0}", volume.Volume7);
Console.WriteLine("Volume8: {0}", volume.Volume8);
Console.WriteLine("Volume9: {0}", volume.Volume9);
Console.WriteLine("Volume10: {0}", volume.Volume10);
Console.WriteLine("Volume11: {0}", volume.Volume11);
Console.WriteLine("Volume12: {0}", volume.Volume12);
Console.WriteLine("Volume13: {0}", volume.Volume13);
Console.WriteLine("Volume14: {0}", volume.Volume14);
Console.WriteLine("Volume15: {0}", volume.Volume15);
Console.WriteLine("Volume16: {0}", volume.Volume16);
Console.WriteLine("Volume17: {0}", volume.Volume17);
Console.WriteLine("Volume18: {0}", volume.Volume18);
Console.WriteLine("Volume19: {0}", volume.Volume19);
Console.WriteLine("Volume20: {0}", volume.Volume20);
Console.WriteLine("Volume21: {0}", volume.Volume21);
Console.WriteLine("Volume22: {0}", volume.Volume22);
Console.WriteLine("Volume23: {0}", volume.Volume23);
Console.WriteLine("Volume24: {0}", volume.Volume24);
Console.WriteLine("Volume25: {0}", volume.Volume25);
Console.WriteLine("Volume26: {0}", volume.Volume26);
Console.WriteLine("Volume27: {0}", volume.Volume27);
Console.WriteLine("Volume28: {0}", volume.Volume28);
Console.WriteLine("Volume29: {0}", volume.Volume29);
Console.WriteLine("Volume30: {0}", volume.Volume30);
Console.WriteLine("Volume31: {0}", volume.Volume31);
Console.WriteLine("Volume32: {0}", volume.Volume32);
Console.WriteLine("Volume33: {0}", volume.Volume33);
Console.WriteLine("Volume34: {0}", volume.Volume34);
Console.WriteLine("Volume35: {0}", volume.Volume35);
Console.WriteLine("Volume36: {0}", volume.Volume36);
Console.WriteLine("Volume37: {0}", volume.Volume37);
Console.WriteLine("Volume38: {0}", volume.Volume38);
Console.WriteLine("Volume39: {0}", volume.Volume39);
Console.WriteLine("Volume40: {0}", volume.Volume40);
Console.WriteLine("Volume41: {0}", volume.Volume41);
Console.WriteLine("Volume42: {0}", volume.Volume42);
Console.WriteLine("Volume43: {0}", volume.Volume43);
Console.WriteLine("Volume44: {0}", volume.Volume44);
Console.WriteLine("Volume45: {0}", volume.Volume45);
Console.WriteLine("Volume46: {0}", volume.Volume46);
Console.WriteLine("Volume47: {0}", volume.Volume47);
Console.WriteLine("Volume48: {0}", volume.Volume48);
Console.WriteLine("Volume49: {0}", volume.Volume49);
Console.WriteLine("Volume50: {0}", volume.Volume50);
Console.WriteLine("Volume51: {0}", volume.Volume51);
Console.WriteLine("Volume52: {0}", volume.Volume52);
Console.WriteLine("Volume53: {0}", volume.Volume53);
Console.WriteLine("Volume54: {0}", volume.Volume54);
Console.WriteLine("Volume55: {0}", volume.Volume55);
Console.WriteLine("Volume56: {0}", volume.Volume56);
Console.WriteLine("Volume57: {0}", volume.Volume57);
Console.WriteLine("Volume58: {0}", volume.Volume58);
Console.WriteLine("Volume59: {0}", volume.Volume59);
Console.WriteLine("Volume60: {0}", volume.Volume60);
Console.WriteLine("Volume61: {0}", volume.Volume61);
Console.WriteLine("Volume62: {0}", volume.Volume62);
Console.WriteLine("Volume63: {0}", volume.Volume63);
Console.WriteLine("Volume64: {0}", volume.Volume64);
Console.WriteLine("Volume65: {0}", volume.Volume65);
Console.WriteLine("Volume66: {0}", volume.Volume66);
Console.WriteLine("Volume67: {0}", volume.Volume67);
Console.WriteLine("Volume68: {0}", volume.Volume68);
Console.WriteLine("Volume69: {0}", volume.Volume69);
Console.WriteLine("Volume70: {0}", volume.Volume70);
Console.WriteLine("Volume71: {0}", volume.Volume71);
Console.WriteLine("Volume72: {0}", volume.Volume72);
Console.WriteLine("Volume73: {0}", volume.Volume73);
Console.WriteLine("Volume74: {0}", volume.Volume74);
Console.WriteLine("Volume75: {0}", volume.Volume75);
Console.WriteLine("Volume76: {0}", volume.Volume76);
Console.WriteLine("Volume77: {0}", volume.Volume77);
Console.WriteLine("Volume78: {0}", volume.Volume78);
Console.WriteLine("Volume79: {0}", volume.Volume79);
Console.WriteLine("Volume80: {0}", volume.Volume80);
Console.WriteLine("Volume81: {0}", volume.Volume81);
Console.WriteLine("Volume82: {0}", volume.Volume82);
Console.WriteLine("Volume83: {0}", volume.Volume83);
Console.WriteLine("Volume84: {0}", volume.Volume84);
Console.WriteLine("Volume85: {0}", volume.Volume85);
Console.WriteLine("Volume86: {0}", volume.Volume86);
Console.WriteLine("Volume87: {0}", volume.Volume87);
Console.WriteLine("Volume88: {0}", volume.Volume88);
Console.WriteLine("Volume89: {0}", volume.Volume89);
Console.WriteLine("Volume90: {0}", volume.Volume90);
Console.WriteLine("Volume91: {0}", volume.Volume91);
Console.WriteLine("Volume92: {0}", volume.Volume92);
Console.WriteLine("Volume93: {0}", volume.Volume93);
Console.WriteLine("Volume94: {0}", volume.Volume94);
Console.WriteLine("Volume95: {0}", volume.Volume95);
Console.WriteLine("Volume96: {0}", volume.Volume96);
Console.WriteLine("Volume97: {0}", volume.Volume97);
Console.WriteLine("Volume98: {0}", volume.Volume98);
Console.WriteLine("Volume99: {0}", volume.Volume99);
Console.WriteLine("Volume100: {0}", volume.Volume100);
Console.WriteLine("RankID: {0}", volume.RankID);
Console.WriteLine("PaidRankID: {0}", volume.PaidRankID);
Console.WriteLine("Volume101: {0}", volume.Volume101);
Console.WriteLine("Volume102: {0}", volume.Volume102);
Console.WriteLine("Volume103: {0}", volume.Volume103);
Console.WriteLine("Volume104: {0}", volume.Volume104);
Console.WriteLine("Volume105: {0}", volume.Volume105);
Console.WriteLine("Volume106: {0}", volume.Volume106);
Console.WriteLine("Volume107: {0}", volume.Volume107);
Console.WriteLine("Volume108: {0}", volume.Volume108);
Console.WriteLine("Volume109: {0}", volume.Volume109);
Console.WriteLine("Volume110: {0}", volume.Volume110);
Console.WriteLine("Volume111: {0}", volume.Volume111);
Console.WriteLine("Volume112: {0}", volume.Volume112);
Console.WriteLine("Volume113: {0}", volume.Volume113);
Console.WriteLine("Volume114: {0}", volume.Volume114);
Console.WriteLine("Volume115: {0}", volume.Volume115);
Console.WriteLine("Volume116: {0}", volume.Volume116);
Console.WriteLine("Volume117: {0}", volume.Volume117);
Console.WriteLine("Volume118: {0}", volume.Volume118);
Console.WriteLine("Volume119: {0}", volume.Volume119);
Console.WriteLine("Volume120: {0}", volume.Volume120);
Console.WriteLine("Volume121: {0}", volume.Volume121);
Console.WriteLine("Volume122: {0}", volume.Volume122);
Console.WriteLine("Volume123: {0}", volume.Volume123);
Console.WriteLine("Volume124: {0}", volume.Volume124);
Console.WriteLine("Volume125: {0}", volume.Volume125);
Console.WriteLine("Volume126: {0}", volume.Volume126);
Console.WriteLine("Volume127: {0}", volume.Volume127);
Console.WriteLine("Volume128: {0}", volume.Volume128);
Console.WriteLine("Volume129: {0}", volume.Volume129);
Console.WriteLine("Volume130: {0}", volume.Volume130);
Console.WriteLine("Volume131: {0}", volume.Volume131);
Console.WriteLine("Volume132: {0}", volume.Volume132);
Console.WriteLine("Volume133: {0}", volume.Volume133);
Console.WriteLine("Volume134: {0}", volume.Volume134);
Console.WriteLine("Volume135: {0}", volume.Volume135);
Console.WriteLine("Volume136: {0}", volume.Volume136);
Console.WriteLine("Volume137: {0}", volume.Volume137);
Console.WriteLine("Volume138: {0}", volume.Volume138);
Console.WriteLine("Volume139: {0}", volume.Volume139);
Console.WriteLine("Volume140: {0}", volume.Volume140);
Console.WriteLine("Volume141: {0}", volume.Volume141);
Console.WriteLine("Volume142: {0}", volume.Volume142);
Console.WriteLine("Volume143: {0}", volume.Volume143);
Console.WriteLine("Volume144: {0}", volume.Volume144);
Console.WriteLine("Volume145: {0}", volume.Volume145);
Console.WriteLine("Volume146: {0}", volume.Volume146);
Console.WriteLine("Volume147: {0}", volume.Volume147);
Console.WriteLine("Volume148: {0}", volume.Volume148);
Console.WriteLine("Volume149: {0}", volume.Volume149);
Console.WriteLine("Volume150: {0}", volume.Volume150);
Console.WriteLine("Volume151: {0}", volume.Volume151);
Console.WriteLine("Volume152: {0}", volume.Volume152);
Console.WriteLine("Volume153: {0}", volume.Volume153);
Console.WriteLine("Volume154: {0}", volume.Volume154);
Console.WriteLine("Volume155: {0}", volume.Volume155);
Console.WriteLine("Volume156: {0}", volume.Volume156);
Console.WriteLine("Volume157: {0}", volume.Volume157);
Console.WriteLine("Volume158: {0}", volume.Volume158);
Console.WriteLine("Volume159: {0}", volume.Volume159);
Console.WriteLine("Volume160: {0}", volume.Volume160);
Console.WriteLine("Volume161: {0}", volume.Volume161);
Console.WriteLine("Volume162: {0}", volume.Volume162);
Console.WriteLine("Volume163: {0}", volume.Volume163);
Console.WriteLine("Volume164: {0}", volume.Volume164);
Console.WriteLine("Volume165: {0}", volume.Volume165);
Console.WriteLine("Volume166: {0}", volume.Volume166);
Console.WriteLine("Volume167: {0}", volume.Volume167);
Console.WriteLine("Volume168: {0}", volume.Volume168);
Console.WriteLine("Volume169: {0}", volume.Volume169);
Console.WriteLine("Volume170: {0}", volume.Volume170);
Console.WriteLine("Volume171: {0}", volume.Volume171);
Console.WriteLine("Volume172: {0}", volume.Volume172);
Console.WriteLine("Volume173: {0}", volume.Volume173);
Console.WriteLine("Volume174: {0}", volume.Volume174);
Console.WriteLine("Volume175: {0}", volume.Volume175);
Console.WriteLine("Volume176: {0}", volume.Volume176);
Console.WriteLine("Volume177: {0}", volume.Volume177);
Console.WriteLine("Volume178: {0}", volume.Volume178);
Console.WriteLine("Volume179: {0}", volume.Volume179);
Console.WriteLine("Volume180: {0}", volume.Volume180);
Console.WriteLine("Volume181: {0}", volume.Volume181);
Console.WriteLine("Volume182: {0}", volume.Volume182);
Console.WriteLine("Volume183: {0}", volume.Volume183);
Console.WriteLine("Volume184: {0}", volume.Volume184);
Console.WriteLine("Volume185: {0}", volume.Volume185);
Console.WriteLine("Volume186: {0}", volume.Volume186);
Console.WriteLine("Volume187: {0}", volume.Volume187);
Console.WriteLine("Volume188: {0}", volume.Volume188);
Console.WriteLine("Volume189: {0}", volume.Volume189);
Console.WriteLine("Volume190: {0}", volume.Volume190);
Console.WriteLine("Volume191: {0}", volume.Volume191);
Console.WriteLine("Volume192: {0}", volume.Volume192);
Console.WriteLine("Volume193: {0}", volume.Volume193);
Console.WriteLine("Volume194: {0}", volume.Volume194);
Console.WriteLine("Volume195: {0}", volume.Volume195);
Console.WriteLine("Volume196: {0}", volume.Volume196);
Console.WriteLine("Volume197: {0}", volume.Volume197);
Console.WriteLine("Volume198: {0}", volume.Volume198);
Console.WriteLine("Volume199: {0}", volume.Volume199);
Console.WriteLine("Volume200: {0}", volume.Volume200);
Console.WriteLine("CustomerKey: {0}", volume.CustomerKey);
}
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message);
}
C# Soap Client
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
GetVolumesRequest req = new GetVolumesRequest();
req.PeriodType = 1; //Required.
req.PeriodID = 1; //Will default to current period.
req.CustomerID = 1;
req.CustomerKey = "1"; //Unique alpha numeric identifier for customer record. Exeption will occur if CustomerID & CustomerKey are provided.
//Send Request to Server and Get Response
GetVolumesResponse res = api.GetVolumes(req);
//Now examine the results:
foreach (VolumeResponse volume in res.Volumes)
{
Console.WriteLine("CustomerID: {0}", volume.CustomerID);
Console.WriteLine("PeriodType: {0}", volume.PeriodType);
Console.WriteLine("PeriodID: {0}", volume.PeriodID);
Console.WriteLine("PeriodDescription: {0}", volume.PeriodDescription);
Console.WriteLine("Volume1: {0}", volume.Volume1);
Console.WriteLine("Volume2: {0}", volume.Volume2);
Console.WriteLine("Volume3: {0}", volume.Volume3);
Console.WriteLine("Volume4: {0}", volume.Volume4);
Console.WriteLine("Volume5: {0}", volume.Volume5);
Console.WriteLine("Volume6: {0}", volume.Volume6);
Console.WriteLine("Volume7: {0}", volume.Volume7);
Console.WriteLine("Volume8: {0}", volume.Volume8);
Console.WriteLine("Volume9: {0}", volume.Volume9);
Console.WriteLine("Volume10: {0}", volume.Volume10);
Console.WriteLine("Volume11: {0}", volume.Volume11);
Console.WriteLine("Volume12: {0}", volume.Volume12);
Console.WriteLine("Volume13: {0}", volume.Volume13);
Console.WriteLine("Volume14: {0}", volume.Volume14);
Console.WriteLine("Volume15: {0}", volume.Volume15);
Console.WriteLine("Volume16: {0}", volume.Volume16);
Console.WriteLine("Volume17: {0}", volume.Volume17);
Console.WriteLine("Volume18: {0}", volume.Volume18);
Console.WriteLine("Volume19: {0}", volume.Volume19);
Console.WriteLine("Volume20: {0}", volume.Volume20);
Console.WriteLine("Volume21: {0}", volume.Volume21);
Console.WriteLine("Volume22: {0}", volume.Volume22);
Console.WriteLine("Volume23: {0}", volume.Volume23);
Console.WriteLine("Volume24: {0}", volume.Volume24);
Console.WriteLine("Volume25: {0}", volume.Volume25);
Console.WriteLine("Volume26: {0}", volume.Volume26);
Console.WriteLine("Volume27: {0}", volume.Volume27);
Console.WriteLine("Volume28: {0}", volume.Volume28);
Console.WriteLine("Volume29: {0}", volume.Volume29);
Console.WriteLine("Volume30: {0}", volume.Volume30);
Console.WriteLine("Volume31: {0}", volume.Volume31);
Console.WriteLine("Volume32: {0}", volume.Volume32);
Console.WriteLine("Volume33: {0}", volume.Volume33);
Console.WriteLine("Volume34: {0}", volume.Volume34);
Console.WriteLine("Volume35: {0}", volume.Volume35);
Console.WriteLine("Volume36: {0}", volume.Volume36);
Console.WriteLine("Volume37: {0}", volume.Volume37);
Console.WriteLine("Volume38: {0}", volume.Volume38);
Console.WriteLine("Volume39: {0}", volume.Volume39);
Console.WriteLine("Volume40: {0}", volume.Volume40);
Console.WriteLine("Volume41: {0}", volume.Volume41);
Console.WriteLine("Volume42: {0}", volume.Volume42);
Console.WriteLine("Volume43: {0}", volume.Volume43);
Console.WriteLine("Volume44: {0}", volume.Volume44);
Console.WriteLine("Volume45: {0}", volume.Volume45);
Console.WriteLine("Volume46: {0}", volume.Volume46);
Console.WriteLine("Volume47: {0}", volume.Volume47);
Console.WriteLine("Volume48: {0}", volume.Volume48);
Console.WriteLine("Volume49: {0}", volume.Volume49);
Console.WriteLine("Volume50: {0}", volume.Volume50);
Console.WriteLine("Volume51: {0}", volume.Volume51);
Console.WriteLine("Volume52: {0}", volume.Volume52);
Console.WriteLine("Volume53: {0}", volume.Volume53);
Console.WriteLine("Volume54: {0}", volume.Volume54);
Console.WriteLine("Volume55: {0}", volume.Volume55);
Console.WriteLine("Volume56: {0}", volume.Volume56);
Console.WriteLine("Volume57: {0}", volume.Volume57);
Console.WriteLine("Volume58: {0}", volume.Volume58);
Console.WriteLine("Volume59: {0}", volume.Volume59);
Console.WriteLine("Volume60: {0}", volume.Volume60);
Console.WriteLine("Volume61: {0}", volume.Volume61);
Console.WriteLine("Volume62: {0}", volume.Volume62);
Console.WriteLine("Volume63: {0}", volume.Volume63);
Console.WriteLine("Volume64: {0}", volume.Volume64);
Console.WriteLine("Volume65: {0}", volume.Volume65);
Console.WriteLine("Volume66: {0}", volume.Volume66);
Console.WriteLine("Volume67: {0}", volume.Volume67);
Console.WriteLine("Volume68: {0}", volume.Volume68);
Console.WriteLine("Volume69: {0}", volume.Volume69);
Console.WriteLine("Volume70: {0}", volume.Volume70);
Console.WriteLine("Volume71: {0}", volume.Volume71);
Console.WriteLine("Volume72: {0}", volume.Volume72);
Console.WriteLine("Volume73: {0}", volume.Volume73);
Console.WriteLine("Volume74: {0}", volume.Volume74);
Console.WriteLine("Volume75: {0}", volume.Volume75);
Console.WriteLine("Volume76: {0}", volume.Volume76);
Console.WriteLine("Volume77: {0}", volume.Volume77);
Console.WriteLine("Volume78: {0}", volume.Volume78);
Console.WriteLine("Volume79: {0}", volume.Volume79);
Console.WriteLine("Volume80: {0}", volume.Volume80);
Console.WriteLine("Volume81: {0}", volume.Volume81);
Console.WriteLine("Volume82: {0}", volume.Volume82);
Console.WriteLine("Volume83: {0}", volume.Volume83);
Console.WriteLine("Volume84: {0}", volume.Volume84);
Console.WriteLine("Volume85: {0}", volume.Volume85);
Console.WriteLine("Volume86: {0}", volume.Volume86);
Console.WriteLine("Volume87: {0}", volume.Volume87);
Console.WriteLine("Volume88: {0}", volume.Volume88);
Console.WriteLine("Volume89: {0}", volume.Volume89);
Console.WriteLine("Volume90: {0}", volume.Volume90);
Console.WriteLine("Volume91: {0}", volume.Volume91);
Console.WriteLine("Volume92: {0}", volume.Volume92);
Console.WriteLine("Volume93: {0}", volume.Volume93);
Console.WriteLine("Volume94: {0}", volume.Volume94);
Console.WriteLine("Volume95: {0}", volume.Volume95);
Console.WriteLine("Volume96: {0}", volume.Volume96);
Console.WriteLine("Volume97: {0}", volume.Volume97);
Console.WriteLine("Volume98: {0}", volume.Volume98);
Console.WriteLine("Volume99: {0}", volume.Volume99);
Console.WriteLine("Volume100: {0}", volume.Volume100);
Console.WriteLine("RankID: {0}", volume.RankID);
Console.WriteLine("PaidRankID: {0}", volume.PaidRankID);
Console.WriteLine("Volume101: {0}", volume.Volume101);
Console.WriteLine("Volume102: {0}", volume.Volume102);
Console.WriteLine("Volume103: {0}", volume.Volume103);
Console.WriteLine("Volume104: {0}", volume.Volume104);
Console.WriteLine("Volume105: {0}", volume.Volume105);
Console.WriteLine("Volume106: {0}", volume.Volume106);
Console.WriteLine("Volume107: {0}", volume.Volume107);
Console.WriteLine("Volume108: {0}", volume.Volume108);
Console.WriteLine("Volume109: {0}", volume.Volume109);
Console.WriteLine("Volume110: {0}", volume.Volume110);
Console.WriteLine("Volume111: {0}", volume.Volume111);
Console.WriteLine("Volume112: {0}", volume.Volume112);
Console.WriteLine("Volume113: {0}", volume.Volume113);
Console.WriteLine("Volume114: {0}", volume.Volume114);
Console.WriteLine("Volume115: {0}", volume.Volume115);
Console.WriteLine("Volume116: {0}", volume.Volume116);
Console.WriteLine("Volume117: {0}", volume.Volume117);
Console.WriteLine("Volume118: {0}", volume.Volume118);
Console.WriteLine("Volume119: {0}", volume.Volume119);
Console.WriteLine("Volume120: {0}", volume.Volume120);
Console.WriteLine("Volume121: {0}", volume.Volume121);
Console.WriteLine("Volume122: {0}", volume.Volume122);
Console.WriteLine("Volume123: {0}", volume.Volume123);
Console.WriteLine("Volume124: {0}", volume.Volume124);
Console.WriteLine("Volume125: {0}", volume.Volume125);
Console.WriteLine("Volume126: {0}", volume.Volume126);
Console.WriteLine("Volume127: {0}", volume.Volume127);
Console.WriteLine("Volume128: {0}", volume.Volume128);
Console.WriteLine("Volume129: {0}", volume.Volume129);
Console.WriteLine("Volume130: {0}", volume.Volume130);
Console.WriteLine("Volume131: {0}", volume.Volume131);
Console.WriteLine("Volume132: {0}", volume.Volume132);
Console.WriteLine("Volume133: {0}", volume.Volume133);
Console.WriteLine("Volume134: {0}", volume.Volume134);
Console.WriteLine("Volume135: {0}", volume.Volume135);
Console.WriteLine("Volume136: {0}", volume.Volume136);
Console.WriteLine("Volume137: {0}", volume.Volume137);
Console.WriteLine("Volume138: {0}", volume.Volume138);
Console.WriteLine("Volume139: {0}", volume.Volume139);
Console.WriteLine("Volume140: {0}", volume.Volume140);
Console.WriteLine("Volume141: {0}", volume.Volume141);
Console.WriteLine("Volume142: {0}", volume.Volume142);
Console.WriteLine("Volume143: {0}", volume.Volume143);
Console.WriteLine("Volume144: {0}", volume.Volume144);
Console.WriteLine("Volume145: {0}", volume.Volume145);
Console.WriteLine("Volume146: {0}", volume.Volume146);
Console.WriteLine("Volume147: {0}", volume.Volume147);
Console.WriteLine("Volume148: {0}", volume.Volume148);
Console.WriteLine("Volume149: {0}", volume.Volume149);
Console.WriteLine("Volume150: {0}", volume.Volume150);
Console.WriteLine("Volume151: {0}", volume.Volume151);
Console.WriteLine("Volume152: {0}", volume.Volume152);
Console.WriteLine("Volume153: {0}", volume.Volume153);
Console.WriteLine("Volume154: {0}", volume.Volume154);
Console.WriteLine("Volume155: {0}", volume.Volume155);
Console.WriteLine("Volume156: {0}", volume.Volume156);
Console.WriteLine("Volume157: {0}", volume.Volume157);
Console.WriteLine("Volume158: {0}", volume.Volume158);
Console.WriteLine("Volume159: {0}", volume.Volume159);
Console.WriteLine("Volume160: {0}", volume.Volume160);
Console.WriteLine("Volume161: {0}", volume.Volume161);
Console.WriteLine("Volume162: {0}", volume.Volume162);
Console.WriteLine("Volume163: {0}", volume.Volume163);
Console.WriteLine("Volume164: {0}", volume.Volume164);
Console.WriteLine("Volume165: {0}", volume.Volume165);
Console.WriteLine("Volume166: {0}", volume.Volume166);
Console.WriteLine("Volume167: {0}", volume.Volume167);
Console.WriteLine("Volume168: {0}", volume.Volume168);
Console.WriteLine("Volume169: {0}", volume.Volume169);
Console.WriteLine("Volume170: {0}", volume.Volume170);
Console.WriteLine("Volume171: {0}", volume.Volume171);
Console.WriteLine("Volume172: {0}", volume.Volume172);
Console.WriteLine("Volume173: {0}", volume.Volume173);
Console.WriteLine("Volume174: {0}", volume.Volume174);
Console.WriteLine("Volume175: {0}", volume.Volume175);
Console.WriteLine("Volume176: {0}", volume.Volume176);
Console.WriteLine("Volume177: {0}", volume.Volume177);
Console.WriteLine("Volume178: {0}", volume.Volume178);
Console.WriteLine("Volume179: {0}", volume.Volume179);
Console.WriteLine("Volume180: {0}", volume.Volume180);
Console.WriteLine("Volume181: {0}", volume.Volume181);
Console.WriteLine("Volume182: {0}", volume.Volume182);
Console.WriteLine("Volume183: {0}", volume.Volume183);
Console.WriteLine("Volume184: {0}", volume.Volume184);
Console.WriteLine("Volume185: {0}", volume.Volume185);
Console.WriteLine("Volume186: {0}", volume.Volume186);
Console.WriteLine("Volume187: {0}", volume.Volume187);
Console.WriteLine("Volume188: {0}", volume.Volume188);
Console.WriteLine("Volume189: {0}", volume.Volume189);
Console.WriteLine("Volume190: {0}", volume.Volume190);
Console.WriteLine("Volume191: {0}", volume.Volume191);
Console.WriteLine("Volume192: {0}", volume.Volume192);
Console.WriteLine("Volume193: {0}", volume.Volume193);
Console.WriteLine("Volume194: {0}", volume.Volume194);
Console.WriteLine("Volume195: {0}", volume.Volume195);
Console.WriteLine("Volume196: {0}", volume.Volume196);
Console.WriteLine("Volume197: {0}", volume.Volume197);
Console.WriteLine("Volume198: {0}", volume.Volume198);
Console.WriteLine("Volume199: {0}", volume.Volume199);
Console.WriteLine("Volume200: {0}", volume.Volume200);
Console.WriteLine("CustomerKey: {0}", volume.CustomerKey);
}
}
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 GetVolumesRequest()
req.PeriodType = 1
req.PeriodID = 1
req.CustomerID = 1
req.CustomerKey = "1"
'Send Request to Server and Get Response
Dim res As GetVolumesResponse = api.GetVolumes(req)
'Now examine the results:
For Each volume As VolumeResponse In res.Volumes
Console.WriteLine("CustomerID: {0}", volume.CustomerID)
Console.WriteLine("PeriodType: {0}", volume.PeriodType)
Console.WriteLine("PeriodID: {0}", volume.PeriodID)
Console.WriteLine("PeriodDescription: {0}", volume.PeriodDescription)
Console.WriteLine("Volume1: {0}", volume.Volume1)
Console.WriteLine("Volume2: {0}", volume.Volume2)
Console.WriteLine("Volume3: {0}", volume.Volume3)
Console.WriteLine("Volume4: {0}", volume.Volume4)
Console.WriteLine("Volume5: {0}", volume.Volume5)
Console.WriteLine("Volume6: {0}", volume.Volume6)
Console.WriteLine("Volume7: {0}", volume.Volume7)
Console.WriteLine("Volume8: {0}", volume.Volume8)
Console.WriteLine("Volume9: {0}", volume.Volume9)
Console.WriteLine("Volume10: {0}", volume.Volume10)
Console.WriteLine("Volume11: {0}", volume.Volume11)
Console.WriteLine("Volume12: {0}", volume.Volume12)
Console.WriteLine("Volume13: {0}", volume.Volume13)
Console.WriteLine("Volume14: {0}", volume.Volume14)
Console.WriteLine("Volume15: {0}", volume.Volume15)
Console.WriteLine("Volume16: {0}", volume.Volume16)
Console.WriteLine("Volume17: {0}", volume.Volume17)
Console.WriteLine("Volume18: {0}", volume.Volume18)
Console.WriteLine("Volume19: {0}", volume.Volume19)
Console.WriteLine("Volume20: {0}", volume.Volume20)
Console.WriteLine("Volume21: {0}", volume.Volume21)
Console.WriteLine("Volume22: {0}", volume.Volume22)
Console.WriteLine("Volume23: {0}", volume.Volume23)
Console.WriteLine("Volume24: {0}", volume.Volume24)
Console.WriteLine("Volume25: {0}", volume.Volume25)
Console.WriteLine("Volume26: {0}", volume.Volume26)
Console.WriteLine("Volume27: {0}", volume.Volume27)
Console.WriteLine("Volume28: {0}", volume.Volume28)
Console.WriteLine("Volume29: {0}", volume.Volume29)
Console.WriteLine("Volume30: {0}", volume.Volume30)
Console.WriteLine("Volume31: {0}", volume.Volume31)
Console.WriteLine("Volume32: {0}", volume.Volume32)
Console.WriteLine("Volume33: {0}", volume.Volume33)
Console.WriteLine("Volume34: {0}", volume.Volume34)
Console.WriteLine("Volume35: {0}", volume.Volume35)
Console.WriteLine("Volume36: {0}", volume.Volume36)
Console.WriteLine("Volume37: {0}", volume.Volume37)
Console.WriteLine("Volume38: {0}", volume.Volume38)
Console.WriteLine("Volume39: {0}", volume.Volume39)
Console.WriteLine("Volume40: {0}", volume.Volume40)
Console.WriteLine("Volume41: {0}", volume.Volume41)
Console.WriteLine("Volume42: {0}", volume.Volume42)
Console.WriteLine("Volume43: {0}", volume.Volume43)
Console.WriteLine("Volume44: {0}", volume.Volume44)
Console.WriteLine("Volume45: {0}", volume.Volume45)
Console.WriteLine("Volume46: {0}", volume.Volume46)
Console.WriteLine("Volume47: {0}", volume.Volume47)
Console.WriteLine("Volume48: {0}", volume.Volume48)
Console.WriteLine("Volume49: {0}", volume.Volume49)
Console.WriteLine("Volume50: {0}", volume.Volume50)
Console.WriteLine("Volume51: {0}", volume.Volume51)
Console.WriteLine("Volume52: {0}", volume.Volume52)
Console.WriteLine("Volume53: {0}", volume.Volume53)
Console.WriteLine("Volume54: {0}", volume.Volume54)
Console.WriteLine("Volume55: {0}", volume.Volume55)
Console.WriteLine("Volume56: {0}", volume.Volume56)
Console.WriteLine("Volume57: {0}", volume.Volume57)
Console.WriteLine("Volume58: {0}", volume.Volume58)
Console.WriteLine("Volume59: {0}", volume.Volume59)
Console.WriteLine("Volume60: {0}", volume.Volume60)
Console.WriteLine("Volume61: {0}", volume.Volume61)
Console.WriteLine("Volume62: {0}", volume.Volume62)
Console.WriteLine("Volume63: {0}", volume.Volume63)
Console.WriteLine("Volume64: {0}", volume.Volume64)
Console.WriteLine("Volume65: {0}", volume.Volume65)
Console.WriteLine("Volume66: {0}", volume.Volume66)
Console.WriteLine("Volume67: {0}", volume.Volume67)
Console.WriteLine("Volume68: {0}", volume.Volume68)
Console.WriteLine("Volume69: {0}", volume.Volume69)
Console.WriteLine("Volume70: {0}", volume.Volume70)
Console.WriteLine("Volume71: {0}", volume.Volume71)
Console.WriteLine("Volume72: {0}", volume.Volume72)
Console.WriteLine("Volume73: {0}", volume.Volume73)
Console.WriteLine("Volume74: {0}", volume.Volume74)
Console.WriteLine("Volume75: {0}", volume.Volume75)
Console.WriteLine("Volume76: {0}", volume.Volume76)
Console.WriteLine("Volume77: {0}", volume.Volume77)
Console.WriteLine("Volume78: {0}", volume.Volume78)
Console.WriteLine("Volume79: {0}", volume.Volume79)
Console.WriteLine("Volume80: {0}", volume.Volume80)
Console.WriteLine("Volume81: {0}", volume.Volume81)
Console.WriteLine("Volume82: {0}", volume.Volume82)
Console.WriteLine("Volume83: {0}", volume.Volume83)
Console.WriteLine("Volume84: {0}", volume.Volume84)
Console.WriteLine("Volume85: {0}", volume.Volume85)
Console.WriteLine("Volume86: {0}", volume.Volume86)
Console.WriteLine("Volume87: {0}", volume.Volume87)
Console.WriteLine("Volume88: {0}", volume.Volume88)
Console.WriteLine("Volume89: {0}", volume.Volume89)
Console.WriteLine("Volume90: {0}", volume.Volume90)
Console.WriteLine("Volume91: {0}", volume.Volume91)
Console.WriteLine("Volume92: {0}", volume.Volume92)
Console.WriteLine("Volume93: {0}", volume.Volume93)
Console.WriteLine("Volume94: {0}", volume.Volume94)
Console.WriteLine("Volume95: {0}", volume.Volume95)
Console.WriteLine("Volume96: {0}", volume.Volume96)
Console.WriteLine("Volume97: {0}", volume.Volume97)
Console.WriteLine("Volume98: {0}", volume.Volume98)
Console.WriteLine("Volume99: {0}", volume.Volume99)
Console.WriteLine("Volume100: {0}", volume.Volume100)
Console.WriteLine("RankID: {0}", volume.RankID)
Console.WriteLine("PaidRankID: {0}", volume.PaidRankID)
Console.WriteLine("Volume101: {0}", volume.Volume101)
Console.WriteLine("Volume102: {0}", volume.Volume102)
Console.WriteLine("Volume103: {0}", volume.Volume103)
Console.WriteLine("Volume104: {0}", volume.Volume104)
Console.WriteLine("Volume105: {0}", volume.Volume105)
Console.WriteLine("Volume106: {0}", volume.Volume106)
Console.WriteLine("Volume107: {0}", volume.Volume107)
Console.WriteLine("Volume108: {0}", volume.Volume108)
Console.WriteLine("Volume109: {0}", volume.Volume109)
Console.WriteLine("Volume110: {0}", volume.Volume110)
Console.WriteLine("Volume111: {0}", volume.Volume111)
Console.WriteLine("Volume112: {0}", volume.Volume112)
Console.WriteLine("Volume113: {0}", volume.Volume113)
Console.WriteLine("Volume114: {0}", volume.Volume114)
Console.WriteLine("Volume115: {0}", volume.Volume115)
Console.WriteLine("Volume116: {0}", volume.Volume116)
Console.WriteLine("Volume117: {0}", volume.Volume117)
Console.WriteLine("Volume118: {0}", volume.Volume118)
Console.WriteLine("Volume119: {0}", volume.Volume119)
Console.WriteLine("Volume120: {0}", volume.Volume120)
Console.WriteLine("Volume121: {0}", volume.Volume121)
Console.WriteLine("Volume122: {0}", volume.Volume122)
Console.WriteLine("Volume123: {0}", volume.Volume123)
Console.WriteLine("Volume124: {0}", volume.Volume124)
Console.WriteLine("Volume125: {0}", volume.Volume125)
Console.WriteLine("Volume126: {0}", volume.Volume126)
Console.WriteLine("Volume127: {0}", volume.Volume127)
Console.WriteLine("Volume128: {0}", volume.Volume128)
Console.WriteLine("Volume129: {0}", volume.Volume129)
Console.WriteLine("Volume130: {0}", volume.Volume130)
Console.WriteLine("Volume131: {0}", volume.Volume131)
Console.WriteLine("Volume132: {0}", volume.Volume132)
Console.WriteLine("Volume133: {0}", volume.Volume133)
Console.WriteLine("Volume134: {0}", volume.Volume134)
Console.WriteLine("Volume135: {0}", volume.Volume135)
Console.WriteLine("Volume136: {0}", volume.Volume136)
Console.WriteLine("Volume137: {0}", volume.Volume137)
Console.WriteLine("Volume138: {0}", volume.Volume138)
Console.WriteLine("Volume139: {0}", volume.Volume139)
Console.WriteLine("Volume140: {0}", volume.Volume140)
Console.WriteLine("Volume141: {0}", volume.Volume141)
Console.WriteLine("Volume142: {0}", volume.Volume142)
Console.WriteLine("Volume143: {0}", volume.Volume143)
Console.WriteLine("Volume144: {0}", volume.Volume144)
Console.WriteLine("Volume145: {0}", volume.Volume145)
Console.WriteLine("Volume146: {0}", volume.Volume146)
Console.WriteLine("Volume147: {0}", volume.Volume147)
Console.WriteLine("Volume148: {0}", volume.Volume148)
Console.WriteLine("Volume149: {0}", volume.Volume149)
Console.WriteLine("Volume150: {0}", volume.Volume150)
Console.WriteLine("Volume151: {0}", volume.Volume151)
Console.WriteLine("Volume152: {0}", volume.Volume152)
Console.WriteLine("Volume153: {0}", volume.Volume153)
Console.WriteLine("Volume154: {0}", volume.Volume154)
Console.WriteLine("Volume155: {0}", volume.Volume155)
Console.WriteLine("Volume156: {0}", volume.Volume156)
Console.WriteLine("Volume157: {0}", volume.Volume157)
Console.WriteLine("Volume158: {0}", volume.Volume158)
Console.WriteLine("Volume159: {0}", volume.Volume159)
Console.WriteLine("Volume160: {0}", volume.Volume160)
Console.WriteLine("Volume161: {0}", volume.Volume161)
Console.WriteLine("Volume162: {0}", volume.Volume162)
Console.WriteLine("Volume163: {0}", volume.Volume163)
Console.WriteLine("Volume164: {0}", volume.Volume164)
Console.WriteLine("Volume165: {0}", volume.Volume165)
Console.WriteLine("Volume166: {0}", volume.Volume166)
Console.WriteLine("Volume167: {0}", volume.Volume167)
Console.WriteLine("Volume168: {0}", volume.Volume168)
Console.WriteLine("Volume169: {0}", volume.Volume169)
Console.WriteLine("Volume170: {0}", volume.Volume170)
Console.WriteLine("Volume171: {0}", volume.Volume171)
Console.WriteLine("Volume172: {0}", volume.Volume172)
Console.WriteLine("Volume173: {0}", volume.Volume173)
Console.WriteLine("Volume174: {0}", volume.Volume174)
Console.WriteLine("Volume175: {0}", volume.Volume175)
Console.WriteLine("Volume176: {0}", volume.Volume176)
Console.WriteLine("Volume177: {0}", volume.Volume177)
Console.WriteLine("Volume178: {0}", volume.Volume178)
Console.WriteLine("Volume179: {0}", volume.Volume179)
Console.WriteLine("Volume180: {0}", volume.Volume180)
Console.WriteLine("Volume181: {0}", volume.Volume181)
Console.WriteLine("Volume182: {0}", volume.Volume182)
Console.WriteLine("Volume183: {0}", volume.Volume183)
Console.WriteLine("Volume184: {0}", volume.Volume184)
Console.WriteLine("Volume185: {0}", volume.Volume185)
Console.WriteLine("Volume186: {0}", volume.Volume186)
Console.WriteLine("Volume187: {0}", volume.Volume187)
Console.WriteLine("Volume188: {0}", volume.Volume188)
Console.WriteLine("Volume189: {0}", volume.Volume189)
Console.WriteLine("Volume190: {0}", volume.Volume190)
Console.WriteLine("Volume191: {0}", volume.Volume191)
Console.WriteLine("Volume192: {0}", volume.Volume192)
Console.WriteLine("Volume193: {0}", volume.Volume193)
Console.WriteLine("Volume194: {0}", volume.Volume194)
Console.WriteLine("Volume195: {0}", volume.Volume195)
Console.WriteLine("Volume196: {0}", volume.Volume196)
Console.WriteLine("Volume197: {0}", volume.Volume197)
Console.WriteLine("Volume198: {0}", volume.Volume198)
Console.WriteLine("Volume199: {0}", volume.Volume199)
Console.WriteLine("Volume200: {0}", volume.Volume200)
Console.WriteLine("CustomerKey: {0}", volume.CustomerKey)
Next
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->PeriodType = 1;
$req->PeriodID = 1;
$req->CustomerID = 1;
$req->CustomerKey = "1";
//Send Request to Server and Get Response
$res = $api.GetVolumes($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
GetVolumesRequest req = new GetVolumesRequest();
req.setPeriodType(1);
req.setPeriodID(1);
req.setCustomerID(1);
req.setCustomerKey("1");
//Send Request to Server and Get Response
GetVolumesResponse res = api.getExigoApiSoap().getVolumes(req, auth);
//Now examine the results:
}
catch (Exception ex)
{
System.out.println("Error: " + ex.getMessage());
}
CSV
HTTP Get Request:
https://lifewave-api.exigo.com/3.0/csv/?method=GetVolumes
&ApiLoginName=String
&ApiPassword=String
&ApiCompany=String
&PeriodType=Int32
&PeriodID=Nullable`1
&CustomerID=Nullable`1
&CustomerKey=String
Response Fields
CustomerID,PeriodType,PeriodID,PeriodDescription,Volume1,Volume2,Volume3,Volume4,Volume5,Volume6,Volume7,Volume8,Volume9,Volume10,Volume11,Volume12,Volume13,Volume14,Volume15,Volume16,Volume17,Volume18,Volume19,Volume20,Volume21,Volume22,Volume23,Volume24,Volume25,Volume26,Volume27,Volume28,Volume29,Volume30,Volume31,Volume32,Volume33,Volume34,Volume35,Volume36,Volume37,Volume38,Volume39,Volume40,Volume41,Volume42,Volume43,Volume44,Volume45,Volume46,Volume47,Volume48,Volume49,Volume50,Volume51,Volume52,Volume53,Volume54,Volume55,Volume56,Volume57,Volume58,Volume59,Volume60,Volume61,Volume62,Volume63,Volume64,Volume65,Volume66,Volume67,Volume68,Volume69,Volume70,Volume71,Volume72,Volume73,Volume74,Volume75,Volume76,Volume77,Volume78,Volume79,Volume80,Volume81,Volume82,Volume83,Volume84,Volume85,Volume86,Volume87,Volume88,Volume89,Volume90,Volume91,Volume92,Volume93,Volume94,Volume95,Volume96,Volume97,Volume98,Volume99,Volume100,RankID,PaidRankID,Volume101,Volume102,Volume103,Volume104,Volume105,Volume106,Volume107,Volume108,Volume109,Volume110,Volume111,Volume112,Volume113,Volume114,Volume115,Volume116,Volume117,Volume118,Volume119,Volume120,Volume121,Volume122,Volume123,Volume124,Volume125,Volume126,Volume127,Volume128,Volume129,Volume130,Volume131,Volume132,Volume133,Volume134,Volume135,Volume136,Volume137,Volume138,Volume139,Volume140,Volume141,Volume142,Volume143,Volume144,Volume145,Volume146,Volume147,Volume148,Volume149,Volume150,Volume151,Volume152,Volume153,Volume154,Volume155,Volume156,Volume157,Volume158,Volume159,Volume160,Volume161,Volume162,Volume163,Volume164,Volume165,Volume166,Volume167,Volume168,Volume169,Volume170,Volume171,Volume172,Volume173,Volume174,Volume175,Volume176,Volume177,Volume178,Volume179,Volume180,Volume181,Volume182,Volume183,Volume184,Volume185,Volume186,Volume187,Volume188,Volume189,Volume190,Volume191,Volume192,Volume193,Volume194,Volume195,Volume196,Volume197,Volume198,Volume199,Volume200,CustomerKey
Int32,Int32,Int32,String,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Int32,Int32,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,Decimal,String