Sertifi API Web Service
Method/testsite/Services/Gateway.asmx/RemoveDocument
Description
Remove a document from a file.
Request (RemoveDocumentSoapIn)

The request body is of type RemoveDocument.

Request Body Parameters

NameDescriptionData Type
pstr_APICodeThe API code of the site.  This can be found through your Sertifi web interface under Administration -> Account Settings.xml:string
pstr_FileIDThe id of the relevant file.xml:string
pstr_DocumentIDThe id of the relevant document.xml:string
pstr_DocumentID Element pstr_FileID Element pstr_APICode Element Sequence RemoveDocument Element
Response (RemoveDocumentSoapOut)

The response body is of type RemoveDocumentResponse.

Response Body Parameters

NameDescriptionData Type
RemoveDocumentResult"SUCCESS" or error message.xml:string
RemoveDocumentResult Element Sequence RemoveDocumentResponse Element
Example
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://apps.sertifi.net/services/">
   <soap:Header/>
   <soap:Body>
      <ser:RemoveDocument>
         <ser:pstr_APICode>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</ser:pstr_APICode>
         <ser:pstr_FileID>dpZaMtBrYvE=</ser:pstr_FileID>
         <ser:pstr_DocumentID>+7tvlFanzEU=</ser:pstr_DocumentID>
      </ser:RemoveDocument>
   </soap:Body>
</soap:Envelope>
Remarks
Common Errors include:
"ERROR: Invalid API Code"
"ERROR: File could not be accessed"
"ERROR: Document could not be accessed"
"ERROR: Cannot remove document in ... state."
See Also
All Operations Resource GroupSertifi API Web Service

 

 


© Sertifi, Inc., 2019 All Rights Reserved.

Send comments on this topic.