POST Advanced/UpsertDVD
Inserta un nuevo registro en la tabla dvd, verifica que exista la clave.
Request Information
URI Parameters
None.
Body Parameters
Objeto dvd a insertar.
Collection of SintiaAdvanceDVD| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| DespachoId | integer |
None. |
|
| CDVDDOC | string |
None. |
|
| IDVD | string |
None. |
|
| LDVDREFDOC | string |
None. |
|
| NART | string |
None. |
|
| CDVDPRSDOC | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"DespachoId": 2,
"CDVDDOC": "sample string 3",
"IDVD": "sample string 4",
"LDVDREFDOC": "sample string 5",
"NART": "sample string 6",
"CDVDPRSDOC": "sample string 7"
},
{
"ID": 1,
"DespachoId": 2,
"CDVDDOC": "sample string 3",
"IDVD": "sample string 4",
"LDVDREFDOC": "sample string 5",
"NART": "sample string 6",
"CDVDPRSDOC": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfSintiaAdvanceDVD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alpha.AutomatizadorMaria.Modelo.View">
<SintiaAdvanceDVD>
<CDVDDOC>sample string 3</CDVDDOC>
<CDVDPRSDOC>sample string 7</CDVDPRSDOC>
<DespachoId>2</DespachoId>
<ID>1</ID>
<IDVD>sample string 4</IDVD>
<LDVDREFDOC>sample string 5</LDVDREFDOC>
<NART>sample string 6</NART>
</SintiaAdvanceDVD>
<SintiaAdvanceDVD>
<CDVDDOC>sample string 3</CDVDDOC>
<CDVDPRSDOC>sample string 7</CDVDPRSDOC>
<DespachoId>2</DespachoId>
<ID>1</ID>
<IDVD>sample string 4</IDVD>
<LDVDREFDOC>sample string 5</LDVDREFDOC>
<NART>sample string 6</NART>
</SintiaAdvanceDVD>
</ArrayOfSintiaAdvanceDVD>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Respuesta HTTP con el código de estado OK y los detalles del despacho en caso de éxito. En caso de error, retorna una respuesta HTTP con el código de estado interno del servidor y detalles del error.
SintiaAdvanceResultados| Name | Description | Type | Additional information |
|---|---|---|---|
| Exito | boolean |
None. |
|
| Descripcion | string |
None. |
|
| Resultados | Collection of SintiaAdvanceResultado |
None. |
Response Formats
application/json, text/json
Sample:
{
"Resultados": null,
"Exito": true,
"Descripcion": "sample string 2"
}
application/xml, text/xml
Sample:
<SintiaAdvanceResultados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alpha.AutomatizadorMaria.Modelo.View"> <Descripcion>sample string 2</Descripcion> <Exito>true</Exito> <Resultados i:nil="true" /> </SintiaAdvanceResultados>