POST api/AccountApi/HistorialCopy
Request Information
URI Parameters
None.
Body Parameters
ComprobanteHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| ComprobanteId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ComprobanteId": 1
}
application/xml, text/xml
Sample:
<ComprobanteHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Ecommerce.Entities.Domain"> <ComprobanteId>1</ComprobanteId> </ComprobanteHistory>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HistorialCopy| Name | Description | Type | Additional information |
|---|---|---|---|
| ComprobanteId | integer |
None. |
|
| Errors | APIErrors |
None. |
Response Formats
application/json, text/json
Sample:
{
"ComprobanteId": 1,
"Errors": {
"HasErrors": true,
"ErrorList": [
{
"Message": "sample string 1",
"Source": "sample string 2"
},
{
"Message": "sample string 1",
"Source": "sample string 2"
}
]
}
}
application/xml, text/xml
Sample:
<HistorialCopy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Ecommerce.Entities.Domain">
<Errors>
<ErrorList>
<APIErrorMessage>
<Message>sample string 1</Message>
<Source>sample string 2</Source>
</APIErrorMessage>
<APIErrorMessage>
<Message>sample string 1</Message>
<Source>sample string 2</Source>
</APIErrorMessage>
</ErrorList>
<HasErrors>true</HasErrors>
</Errors>
<ComprobanteId>1</ComprobanteId>
</HistorialCopy>