Method | /testsite/Services/Gateway.asmx/GetDocumentsStatus |
Sertifi API Web Service > All Operations Resource Group : /testsite/Services/Gateway.asmx/GetDocumentsStatus (Method) |
The request body is of type GetDocumentsStatus.
Name | Description | Data Type |
---|---|---|
pstr_APICode | The API code of the site. This can be found through your Sertifi web interface under Administration -> Account Settings. | xml:string |
pstr_StartDate | The date to start the search. | xml:string |
pstr_EndDate | The date to end the search. | xml:string |
pstr_Status | The status of the documents searched for. | xml:string |
pstr_Signers | A comma, space, or semicolon seperated list of email addresses related to the documents searched for. | xml:string |
The response body is of type GetDocumentsStatusResponse.
Name | Description | Data Type |
---|---|---|
GetDocumentsStatusResult | xml data or error message. | xml:string |
Sample Call:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://apps.sertifi.net/services/">
<soap:Header/>
<soap:Body>
<ser:GetDocumentsStatus>
<ser:pstr_APICode>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</ser:pstr_APICode>
<ser:pstr_StartDate>2014/5/1</ser:pstr_StartDate>
<ser:pstr_EndDate>2014/5/25</ser:pstr_EndDate>
<ser:pstr_Status>signed</ser:pstr_Status>
<!--Optional:-->
<ser:pstr_Signers></ser:pstr_Signers>
</ser:GetDocumentsStatus>
</soap:Body>
</soap:Envelope>
Sample Response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetDocumentsStatusResponse xmlns="http://apps.sertifi.net/services/">
<GetDocumentsStatusResult><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<CurrentStatus>
<StartDate>2014/5/1</StartDate>
<EndDate>2014/5/25</EndDate>
<Document>
<FileID>6ohWqLSG424=</FileID>
<DocumentID>TieMLwLwLpE=</DocumentID>
<Name>checkboxes!</Name>
<Status>Signed</Status>
<DateCreated>5/20/2014 2:40:58 PM</DateCreated>
<DateSigned>5/20/2014 2:43:41 PM</DateSigned>
</Document>
<Document>
<FileID>4k2374h5ilU=</FileID>
<DocumentID>wOQ8EjI0Zj4=</DocumentID>
<Name>checkboxes!</Name>
<Status>Signed</Status>
<DateCreated>5/1/2014 1:10:31 PM</DateCreated>
<DateSigned>5/1/2014 1:25:49 PM</DateSigned>
</Document>
</CurrentStatus>]]></GetDocumentsStatusResult>
</GetDocumentsStatusResponse>
</soap:Body>
</soap:Envelope>
Common Errors include:
"ERROR: Invalid API Code"
"ERROR: pstr_StartDate is invalid."
"ERROR: pstr_EndDate is invalid."
"ERROR: Status cant be empty or null."
"ERROR: pstr_Status is invalid."
"ERROR: pstr_Signers is invalid: ..."
Document statuses:
Unsigned
Signed
Converting to Pdf
Partially signed
Signed and archived
Declined
Expired
Conversion Failed
Undefined (Could mean 'a fax is Awaiting Verification' or 'document is signed but signer revoked it as not a valid signature')