Other documents

GetOtherDocumentCall

Used to retrieve other documents.

Parameters

Parameter Description
ApiUserToken See authentication.
SbxUserToken See authenticaiton.
Results The maximum number of other documents in a single response; must be one of 50, 100, or 200.
PageNo The page number of the results. The first page is 1, and the last page will be calculated based on the response.
ModifiedSince Filters other documents by date. Time should be expressed compliant to ISO 8601.

Request

<?xml version="1.0" encoding="utf-8"?>
<Request xmlns="urn:sbx:apis:SbxBaseComponents">
    <RequesterCredentials>
        <ApiUserToken>Ifa7nyQsrnSmkWiLqexFxpHWQkczZDuC5DDeP4RHXbXdibTgjA</ApiUserToken>
        <SbxUserToken>6f9d5eb8bfedff96bfcaa3f24764e9b5</SbxUserToken>
    </RequesterCredentials>
    <GetOtherDocumentCall>
        <OtherDocumentFilter>
            <Results>100</Results>
            <PageNo>1</PageNo>
            <ModifiedSince>2001-01-01T00:00:10</ModifiedSince> <!-- Optional element -->
        </OtherDocumentFilter>
    </GetOtherDocumentCall>
</Request>

Response

<?xml version="1.0" encoding="utf-8"?>
<GetOtherDocumentCallResponse>
    <OtherDocuments count="2">
        <OtherDocument id="124532" envelopeCode="BYWFW2Y0" note="" createDate="06/13/2011" modifyDate="06/13/2011" name="Bank Statement 05/2011">
            <Images count="4">
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/1" index="1"/>
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/2" index="2"/>
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/3" index="3"/>
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/4" index="4"/>
            </Images>
        </OtherDocument>
        <OtherDocument id="124538" envelopeCode="BYWFW2Y0" note="" createDate="06/13/2011" modifyDate="06/13/2011" name="Investment Statement 05/2011">
            <Images count="2">
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124538/cfe7a8ffb3fa0eb96e9d9cfcd775aa90/1" index="1"/>
                <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124538/cfe7a8ffb3fa0eb96e9d9cfcd775aa90/2" index="2"/>
            </Images>
        </OtherDocument>
    </OtherDocuments>
</GetOtherDocumentCallResponse>

GetOtherDocumentInfoCall

Get information about a specific other document.

Parameters

Parameter Description
ApiUserToken See authentication.
SbxUserToken See authentication.
OtherDocumentId The id of the other document to retrieve. This is the same as the id attribute returned by GetOtherDocumentCall.

Request

<?xml version="1.0" encoding="utf-8"?>
<Request xmlns="urn:sbx:apis:SbxBaseComponents">
    <RequesterCredentials>
        <ApiUserToken>Ifa7nyQsrnSmkWiLqexFxpHWQkczZDuC5DDeP4RHXbXdibTgjA</ApiUserToken>
        <SbxUserToken>6f9d5eb8bfedff96bfcaa3f24764e9b5</SbxUserToken>
    </RequesterCredentials>
    <GetOtherDocumentInfoCall>
        <OtherDocumentFilter>
            <OtherDocumentId>124532</OtherDocumentId>
        </OtherDocumentFilter>
    </GetOtherDocumentInfoCall>
</Request>

Response

<?xml version="1.0" encoding="utf-8"?>
<GetOtherDocumentInfoCallResponse>
    <OtherDocument id="124532" envelopeCode="BYWFW2Y0" note="" createDate="06/13/2011" modifyDate="06/13/2011" name="Bank Statement 05/2011">
        <Images count="4">
            <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/1" index="1"/>
            <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/2" index="2"/>
            <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/3" index="3"/>
            <Image imgurl="https://app.shoeboxed.com/api/document/jpg/other-document/124532/fbf1aa28d58bec87206db315f70978ff/4" index="4"/>
        </Images>
    </OtherDocument>
</GetOtherDocumentInfoCallResponse>