POST api/Legacy/DeleteDocument
Delete document from Signet
Request Information
URI Parameters
None.
Body Parameters
DocumentRequestName | Description | Type | Additional information |
---|---|---|---|
docId | string |
None. |
|
username | string |
None. |
|
password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "docId": "sample string 1", "username": "sample string 2", "password": "sample string 3" }
application/xml, text/xml
Sample:
<DocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy"> <password xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 3</password> <username xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 2</username> <docId>sample string 1</docId> </DocumentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeleteDocumentResponseName | Description | Type | Additional information |
---|---|---|---|
DeleteDocumentResult | boolean |
None. |
|
outStatus | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "DeleteDocumentResult": true, "outStatus": { "StatusCode": "00", "Message": "sample string 2", "Result": 0 } }
application/xml, text/xml
Sample:
<DeleteDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy"> <outStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Advania.Model.Common" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2"> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:Result>Success</d2p1:Result> <d2p1:StatusCode>00</d2p1:StatusCode> </outStatus> <DeleteDocumentResult>true</DeleteDocumentResult> </DeleteDocumentResponse>