This request returns a list of Trade Statements with links to the PDF document for retrieval. The Trade statements can be searched for by Trade or Trade Contact, All trade statements that match the criteria given will be returned in a list of Statements. The number of statements returned can be limited by setting the Max Statements this will get the newest X statements for the criteria given.
The structure of the XML will be:
The structure of the XML will be:
<GetTradeStatementsRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
<AgentReference>1234</AgentReference>
</LoginDetails>
<LoginType>Trade</LoginType>
<MaxStatements>10</MaxStatements>
<WebsitePassword>test</WebsitePassword>
</PostCodeLookupRequest>
<GetTradeStatementsResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<Statements>
<Statement>
<Name>Statement 54</Name>
<WebLink>http://test.ivector.co.uk/PDFS/Statement_54.pdf</WebLink>
<CreatedDate>2014-07-07T00:00:00</CreatedDate>
<StatementStatus>Sent</StatementStatus>
</Statement>
<Statement>
<Name>Statement 28</Name>
<WebLink>http://test.ivector.co.uk/PDFS/Statement_28.pdf</WebLink>
<CreatedDate>2014-06-30T00:00:00</CreatedDate>
<StatementStatus>Cancelled</StatementStatus>
</Statement>
<Statement>
<Name>Statement 19</Name>
<WebLink>http://test.ivector.co.uk/PDFS/Statement_19.pdf</WebLink>
<CreatedDate>2014-05-19T00:00:00</CreatedDate>
<StatementStatus>Cancelled</StatementStatus>
</Statement>
</Statements>
</GetTradeStatementsResponse>