DELETE api/signature/delete/{id}/{type}
Method that deleted a signature
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identifier for the signature |
string |
Required |
| type |
Type: "CI" = Customer Invoice, "CD" = Customer Delivery Note, "CA" = Customer Advice Note, "CJ" = Customer Job Sheet, "SI" = Supplier Invoice |
string |
Required |
Body Parameters
None.
Remarks
None.
Example
//Deletes the invoice signature with Id EG12345679
http://localhost/api/signature/delete/EG12345679/I
Response Information
Resource Description
DeleteSignatureResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors |
List of errors when deleting signature |
Collection of DeleteSignatureError |
None. |
| Success |
Returns true if signature is deleted |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
}
],
"Success": true
}
application/xml, text/xml
Sample:
<DeleteSignatureResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Signature">
<Errors>
<DeleteSignatureError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</DeleteSignatureError>
<DeleteSignatureError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</DeleteSignatureError>
</Errors>
<Success>true</Success>
</DeleteSignatureResponse>