ECGridOS API v2
Click here for a complete list of operations.
ParcelOutBoxArchive
OutBox Archive List for the Session Network/Mailbox.
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 /v2.3/prod/ECGridOS.asmx HTTP/1.1 Host: ecgridos.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ecgridos.net/ParcelOutBoxArchive" <?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> <ParcelOutBoxArchive xmlns="http://ecgridos.net/"> <SessionID>string</SessionID> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <ECGridIDFrom>int</ECGridIDFrom> <ECGridIDTo>int</ECGridIDTo> <MailbagControlID>string</MailbagControlID> <PageNo>short</PageNo> <RecordsPerPage>short</RecordsPerPage> </ParcelOutBoxArchive> </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> <ParcelOutBoxArchiveResponse xmlns="http://ecgridos.net/"> <ParcelOutBoxArchiveResult> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo xsi:nil="true" /> <InterchangeIDInfo xsi:nil="true" /> </Interchanges> </ParcelIDInfo> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo xsi:nil="true" /> <InterchangeIDInfo xsi:nil="true" /> </Interchanges> </ParcelIDInfo> </ParcelOutBoxArchiveResult> </ParcelOutBoxArchiveResponse> </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 /v2.3/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> <ParcelOutBoxArchive xmlns="http://ecgridos.net/"> <SessionID>string</SessionID> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <ECGridIDFrom>int</ECGridIDFrom> <ECGridIDTo>int</ECGridIDTo> <MailbagControlID>string</MailbagControlID> <PageNo>short</PageNo> <RecordsPerPage>short</RecordsPerPage> </ParcelOutBoxArchive> </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> <ParcelOutBoxArchiveResponse xmlns="http://ecgridos.net/"> <ParcelOutBoxArchiveResult> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo xsi:nil="true" /> <InterchangeIDInfo xsi:nil="true" /> </Interchanges> </ParcelIDInfo> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo xsi:nil="true" /> <InterchangeIDInfo xsi:nil="true" /> </Interchanges> </ParcelIDInfo> </ParcelOutBoxArchiveResult> </ParcelOutBoxArchiveResponse> </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 /v2.3/prod/ECGridOS.asmx/ParcelOutBoxArchive?SessionID=string&BeginDate=string&EndDate=string&ECGridIDFrom=string&ECGridIDTo=string&MailbagControlID=string&PageNo=string&RecordsPerPage=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"?> <ArrayOfParcelIDInfo xmlns="http://ecgridos.net/"> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> </Interchanges> </ParcelIDInfo> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> </Interchanges> </ParcelIDInfo> </ArrayOfParcelIDInfo>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /v2.3/prod/ECGridOS.asmx/ParcelOutBoxArchive HTTP/1.1 Host: ecgridos.net Content-Type: application/x-www-form-urlencoded Content-Length: length SessionID=string&BeginDate=string&EndDate=string&ECGridIDFrom=string&ECGridIDTo=string&MailbagControlID=string&PageNo=string&RecordsPerPage=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfParcelIDInfo xmlns="http://ecgridos.net/"> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> </Interchanges> </ParcelIDInfo> <ParcelIDInfo> <ParcelID>long</ParcelID> <ParcelBytes>int</ParcelBytes> <ParcelDate>dateTime</ParcelDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkNameFrom>string</NetworkNameFrom> <MailboxIDFrom>int</MailboxIDFrom> <NetworkIDTo>int</NetworkIDTo> <NetworkNameTo>string</NetworkNameTo> <MailboxIDTo>int</MailboxIDTo> <FileName>string</FileName> <MailbagControlID>string</MailbagControlID> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <LocalStatus>short</LocalStatus> <Valid>Pending or Invalid or Valid or ValidPartialRouted or ValidNoneRouted</Valid> <Direction>OutBox or InBox</Direction> <Interchanges> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> <InterchangeIDInfo> <InterchangeID>long</InterchangeID> <InterchangeProcessDate>dateTime</InterchangeProcessDate> <NetworkIDFrom>int</NetworkIDFrom> <NetworkIDTo>int</NetworkIDTo> <Standard>X12 or EDIFACT or TRADACOMS or VDA or XML or TXT or PDF or Binary</Standard> <Bytes>int</Bytes> <InterchangeControlID>string</InterchangeControlID> <InterchangeDateTime>dateTime</InterchangeDateTime> <StatusDate>dateTime</StatusDate> <StatusCode>string</StatusCode> <StatusMessage>string</StatusMessage> <DocumentType>string</DocumentType> <Header>string</Header> <TPFrom d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TPTo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Parcels d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </InterchangeIDInfo> </Interchanges> </ParcelIDInfo> </ArrayOfParcelIDInfo>