ECGridOS API v3
Click here for a complete list of operations.
InvoiceList
PENDING List Invoices for Date Range
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /v3.2/prod/ECGridOS.asmx HTTP/1.1 Host: ecgridos.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ecgridos.net/InvoiceList" <?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> <InvoiceList xmlns="http://ecgridos.net/"> <SessionID>string</SessionID> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <ContractID>int</ContractID> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> </InvoiceList> </soap:Body> </soap:Envelope>
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> <InvoiceListResponse xmlns="http://ecgridos.net/"> <InvoiceListResult> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> </InvoiceListResult> </InvoiceListResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /v3.2/prod/ECGridOS.asmx HTTP/1.1 Host: ecgridos.net Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InvoiceList xmlns="http://ecgridos.net/"> <SessionID>string</SessionID> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <ContractID>int</ContractID> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> </InvoiceList> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InvoiceListResponse xmlns="http://ecgridos.net/"> <InvoiceListResult> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> </InvoiceListResult> </InvoiceListResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /v3.2/prod/ECGridOS.asmx/InvoiceList?SessionID=string&BeginDate=string&EndDate=string&ContractID=string&Status=string HTTP/1.1 Host: ecgridos.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfInvoice xmlns="http://ecgridos.net/"> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> </LineItems> </Invoice> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> </LineItems> </Invoice> </ArrayOfInvoice>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /v3.2/prod/ECGridOS.asmx/InvoiceList HTTP/1.1 Host: ecgridos.net Content-Type: application/x-www-form-urlencoded Content-Length: length SessionID=string&BeginDate=string&EndDate=string&ContractID=string&Status=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfInvoice xmlns="http://ecgridos.net/"> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> </LineItems> </Invoice> <Invoice> <InvoiceID>int</InvoiceID> <InvoiceNumber>string</InvoiceNumber> <Date>dateTime</Date> <ContractID>int</ContractID> <TotalAmount>decimal</TotalAmount> <PONumber>string</PONumber> <Notice>string</Notice> <SpecialNotice>string</SpecialNotice> <Message>string</Message> <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status> <StatusDate>dateTime</StatusDate> <DateDue>dateTime</DateDue> <PricelistDescription>string</PricelistDescription> <Terms>string</Terms> <BillTo>string</BillTo> <BillToAddress>string</BillToAddress> <SendTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </SendTo> <CopiesTo> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </CopiesTo> <Sender> <UserID>int</UserID> <LoginName>string</LoginName> <RecoveryQuestion>string</RecoveryQuestion> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> <EMail>string</EMail> <Phone>string</Phone> <CellPhone>string</CellPhone> <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier> <TimeZoneOffset>short</TimeZoneOffset> <NetworkID>int</NetworkID> <MailboxID>int</MailboxID> <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel> <Created>dateTime</Created> <Modified>dateTime</Modified> <LastLogin>dateTime</LastLogin> <Status>Development or Active or Preproduction or Suspended or Terminated</Status> <LockedOut>boolean</LockedOut> <OpenSessions>short</OpenSessions> </Sender> <LineItems> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> <LineItem> <LineItemNumber>short</LineItemNumber> <LineDate>dateTime</LineDate> <PriceListID>int</PriceListID> <PriceListDescription>string</PriceListDescription> <SystemObject>System or User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject> <SystemID>int</SystemID> <SystemName>string</SystemName> <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level> <LevelName>string</LevelName> <Model>Simple or Tiered or Stacked</Model> <Schedule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Actual>decimal</Actual> <QuantityBilled>decimal</QuantityBilled> <Taxable>boolean</Taxable> <Amount>decimal</Amount> </LineItem> </LineItems> </Invoice> </ArrayOfInvoice>