POST api/SignTspPDF
Request Information
URI Parameters
None.
Body Parameters
SignTspPDFRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DniType | string |
None. |
|
| Dni | string |
None. |
|
| Pin | string |
None. |
|
| WithTsa | boolean |
None. |
|
| File | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"DniType": "sample string 1",
"Dni": "sample string 2",
"Pin": "sample string 3",
"WithTsa": true,
"File": "QEA="
}
application/xml, text/xml
Sample:
<SignTspPDFRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.Entidades.ViewModel"> <Dni>sample string 2</Dni> <DniType>sample string 1</DniType> <File>QEA=</File> <Pin>sample string 3</Pin> <WithTsa>true</WithTsa> </SignTspPDFRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
ResponseAgremmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 100,
"Message": "sample string 1",
"Response": {}
}
application/xml, text/xml
Sample:
<ResponseAgremmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.Entidades.ViewModel"> <Code>Continue</Code> <Message>sample string 1</Message> <Response /> </ResponseAgremmentModel>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.