POST api/signature/add
Method for adding a signature
Request Information
URI Parameters
None.
Body Parameters
SignaturePostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
Required |
|
| Type | string |
Required Max length: 2 |
|
| Name | string |
Required |
|
| ImageBase64 | string |
Required |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Type": "sample string 2",
"Name": "sample string 3",
"ImageBase64": "sample string 4"
}
application/xml, text/xml
Sample:
<SignaturePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Signature"> <Id>sample string 1</Id> <ImageBase64>sample string 4</ImageBase64> <Name>sample string 3</Name> <Type>sample string 2</Type> </SignaturePostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SignaturePostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of PostSignatureError |
None. |
|
| Success | 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:
<SignaturePostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Signature">
<Errors>
<PostSignatureError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</PostSignatureError>
<PostSignatureError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</PostSignatureError>
</Errors>
<Success>true</Success>
</SignaturePostResponse>