POST api/save-origin-bill
Request Information
URI Parameters
None.
Body Parameters
GuardadoOrigen| Name | Description | Type | Additional information |
|---|---|---|---|
| idComprobante | integer |
None. |
|
| idOrigen | integer |
None. |
|
| idSubOrigen | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"idComprobante": 1,
"idOrigen": 2,
"idSubOrigen": 1
}
application/xml, text/xml
Sample:
<GuardadoOrigen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utils"> <idComprobante>1</idComprobante> <idOrigen>2</idOrigen> <idSubOrigen>1</idSubOrigen> </GuardadoOrigen>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Helpers"> <Data /> <Message>sample string 2</Message> <Success>true</Success> </GenericResponse>