API_2_02
Click here for a complete list of operations.
GastoGestion_POST
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/GastoGestion_POST" <?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> <GastoGestion_POST xmlns="Giav.Core.Business"> <apikey>string</apikey> <descripcion>string</descripcion> <tipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</tipoServicio> <tarifa1>double</tarifa1> <tarifa2>double</tarifa2> <tarifa3>double</tarifa3> <tarifa4>double</tarifa4> <tarifa1EsPorc>boolean</tarifa1EsPorc> <tarifa2EsPorc>boolean</tarifa2EsPorc> <tarifa3EsPorc>boolean</tarifa3EsPorc> <tarifa4EsPorc>boolean</tarifa4EsPorc> </GastoGestion_POST> </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> <GastoGestion_POSTResponse xmlns="Giav.Core.Business"> <GastoGestion_POSTResult>int</GastoGestion_POSTResult> </GastoGestion_POSTResponse> </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> <GastoGestion_POST xmlns="Giav.Core.Business"> <apikey>string</apikey> <descripcion>string</descripcion> <tipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</tipoServicio> <tarifa1>double</tarifa1> <tarifa2>double</tarifa2> <tarifa3>double</tarifa3> <tarifa4>double</tarifa4> <tarifa1EsPorc>boolean</tarifa1EsPorc> <tarifa2EsPorc>boolean</tarifa2EsPorc> <tarifa3EsPorc>boolean</tarifa3EsPorc> <tarifa4EsPorc>boolean</tarifa4EsPorc> </GastoGestion_POST> </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> <GastoGestion_POSTResponse xmlns="Giav.Core.Business"> <GastoGestion_POSTResult>int</GastoGestion_POSTResult> </GastoGestion_POSTResponse> </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/GastoGestion_POST HTTP/1.1 Host: services.mytravelagency.app Content-Type: application/x-www-form-urlencoded Content-Length: length apikey=string&descripcion=string&tipoServicio=string&tarifa1=string&tarifa2=string&tarifa3=string&tarifa4=string&tarifa1EsPorc=string&tarifa2EsPorc=string&tarifa3EsPorc=string&tarifa4EsPorc=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="Giav.Core.Business">int</int>