API_2_02
Click here for a complete list of operations.
Cobro_GET
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/api_2_02.asmx HTTP/1.1 Host: services.mytravelagency.app Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "Giav.Core.Business/Cobro_GET" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Cobro_GET xmlns="Giav.Core.Business"> <apikey>string</apikey> <id>int</id> </Cobro_GET> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Cobro_GETResponse xmlns="Giav.Core.Business"> <Cobro> <Id>int</Id> <IdFormaPago>int</IdFormaPago> <IdExpediente>int</IdExpediente> <IdCliente>int</IdCliente> <IdRelacionPasajeroReserva>int</IdRelacionPasajeroReserva> <IdUsuarioCreacion>int</IdUsuarioCreacion> <IdUsuarioModificacion>int</IdUsuarioModificacion> <idTraspaso>int</idTraspaso> <TipoOperacion xmlns="Giav.Core.Business.Cobro">Cobro or Reembolso</TipoOperacion> <Importe>double</Importe> <FechaCobro>dateTime</FechaCobro> <Concepto>string</Concepto> <Documento>string</Documento> <Pagador>string</Pagador> <NotasInternas>string</NotasInternas> <FechaCreacion>dateTime</FechaCreacion> <FechaModificacion>dateTime</FechaModificacion> <CompFactAutoCom>boolean</CompFactAutoCom> <DatosExternos xmlns="Giav.Core.Business.Cobro"> <CodigoOficina>string</CodigoOficina> <CodigoExpediente>string</CodigoExpediente> <CodContableOficina>string</CodContableOficina> <NombreCliente>string</NombreCliente> <CodCliente>string</CodCliente> <NombreClienteAlias>string</NombreClienteAlias> <NombreFormaPago>string</NombreFormaPago> <NombreUsuarioCreacion>string</NombreUsuarioCreacion> <Disponible>double</Disponible> <Compensado>double</Compensado> <Arqueado>boolean</Arqueado> <PasajeroNumReserva>string</PasajeroNumReserva> <PasajeroNombre>string</PasajeroNombre> <FormaPagoEsUatp>boolean</FormaPagoEsUatp> <AmountReconciliated>double</AmountReconciliated> <IdBankAccount>int</IdBankAccount> <IdBankAccountPrivateCode>int</IdBankAccountPrivateCode> <ExpedienteCerrado>boolean</ExpedienteCerrado> </DatosExternos> <idEntityStage>int</idEntityStage> <CustomDataValues> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> </CustomDataValues> </Cobro> </Cobro_GETResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/api_2_02.asmx HTTP/1.1 Host: services.mytravelagency.app Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Cobro_GET xmlns="Giav.Core.Business"> <apikey>string</apikey> <id>int</id> </Cobro_GET> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Cobro_GETResponse xmlns="Giav.Core.Business"> <Cobro> <Id>int</Id> <IdFormaPago>int</IdFormaPago> <IdExpediente>int</IdExpediente> <IdCliente>int</IdCliente> <IdRelacionPasajeroReserva>int</IdRelacionPasajeroReserva> <IdUsuarioCreacion>int</IdUsuarioCreacion> <IdUsuarioModificacion>int</IdUsuarioModificacion> <idTraspaso>int</idTraspaso> <TipoOperacion xmlns="Giav.Core.Business.Cobro">Cobro or Reembolso</TipoOperacion> <Importe>double</Importe> <FechaCobro>dateTime</FechaCobro> <Concepto>string</Concepto> <Documento>string</Documento> <Pagador>string</Pagador> <NotasInternas>string</NotasInternas> <FechaCreacion>dateTime</FechaCreacion> <FechaModificacion>dateTime</FechaModificacion> <CompFactAutoCom>boolean</CompFactAutoCom> <DatosExternos xmlns="Giav.Core.Business.Cobro"> <CodigoOficina>string</CodigoOficina> <CodigoExpediente>string</CodigoExpediente> <CodContableOficina>string</CodContableOficina> <NombreCliente>string</NombreCliente> <CodCliente>string</CodCliente> <NombreClienteAlias>string</NombreClienteAlias> <NombreFormaPago>string</NombreFormaPago> <NombreUsuarioCreacion>string</NombreUsuarioCreacion> <Disponible>double</Disponible> <Compensado>double</Compensado> <Arqueado>boolean</Arqueado> <PasajeroNumReserva>string</PasajeroNumReserva> <PasajeroNombre>string</PasajeroNombre> <FormaPagoEsUatp>boolean</FormaPagoEsUatp> <AmountReconciliated>double</AmountReconciliated> <IdBankAccount>int</IdBankAccount> <IdBankAccountPrivateCode>int</IdBankAccountPrivateCode> <ExpedienteCerrado>boolean</ExpedienteCerrado> </DatosExternos> <idEntityStage>int</idEntityStage> <CustomDataValues> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> </CustomDataValues> </Cobro> </Cobro_GETResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/api_2_02.asmx/Cobro_GET HTTP/1.1 Host: services.mytravelagency.app Content-Type: application/x-www-form-urlencoded Content-Length: length apikey=string&id=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Cobro xmlns="Giav.Core.Business"> <Id>int</Id> <IdFormaPago>int</IdFormaPago> <IdExpediente>int</IdExpediente> <IdCliente>int</IdCliente> <IdRelacionPasajeroReserva>int</IdRelacionPasajeroReserva> <IdUsuarioCreacion>int</IdUsuarioCreacion> <IdUsuarioModificacion>int</IdUsuarioModificacion> <idTraspaso>int</idTraspaso> <TipoOperacion xmlns="Giav.Core.Business.Cobro">Cobro or Reembolso</TipoOperacion> <Importe>double</Importe> <FechaCobro>dateTime</FechaCobro> <Concepto>string</Concepto> <Documento>string</Documento> <Pagador>string</Pagador> <NotasInternas>string</NotasInternas> <FechaCreacion>dateTime</FechaCreacion> <FechaModificacion>dateTime</FechaModificacion> <CompFactAutoCom>boolean</CompFactAutoCom> <DatosExternos xmlns="Giav.Core.Business.Cobro"> <CodigoOficina>string</CodigoOficina> <CodigoExpediente>string</CodigoExpediente> <CodContableOficina>string</CodContableOficina> <NombreCliente>string</NombreCliente> <CodCliente>string</CodCliente> <NombreClienteAlias>string</NombreClienteAlias> <NombreFormaPago>string</NombreFormaPago> <NombreUsuarioCreacion>string</NombreUsuarioCreacion> <Disponible>double</Disponible> <Compensado>double</Compensado> <Arqueado>boolean</Arqueado> <PasajeroNumReserva>string</PasajeroNumReserva> <PasajeroNombre>string</PasajeroNombre> <FormaPagoEsUatp>boolean</FormaPagoEsUatp> <AmountReconciliated>double</AmountReconciliated> <IdBankAccount>int</IdBankAccount> <IdBankAccountPrivateCode>int</IdBankAccountPrivateCode> <ExpedienteCerrado>boolean</ExpedienteCerrado> </DatosExternos> <idEntityStage>int</idEntityStage> <CustomDataValues> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> <CustomDataItem> <Key>int</Key> <Value>string</Value> </CustomDataItem> </CustomDataValues> </Cobro>