POST api/update-pedidos-solo-sap
Request Information
URI Parameters
None.
Body Parameters
RequestActualizacion| Name | Description | Type | Additional information |
|---|---|---|---|
| IdComprobante | integer |
None. |
|
| IdPedidoSap | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdComprobante": 1,
"IdPedidoSap": [
1,
2
]
}
application/xml, text/xml
Sample:
<RequestActualizacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Presidente.Models.Model">
<IdComprobante>1</IdComprobante>
<IdPedidoSap xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</IdPedidoSap>
</RequestActualizacion>
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>