SpecInvoicesService
Click here for a complete list of operations.
save_invoice_desc_n
Test
The test form is only available for requests from the local machine.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 /specinvoices/SpecInvoicesService.asmx HTTP/1.1 Host: webserv.rs.ge Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/save_invoice_desc_n" <?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> <save_invoice_desc_n xmlns="http://tempuri.org/"> <user_id>int</user_id> <id>int</id> <su>string</su> <sp>string</sp> <p_inv_id>int</p_inv_id> <p_goods>string</p_goods> <p_g_unit>string</p_g_unit> <p_g_number>decimal</p_g_number> <p_un_price>decimal</p_un_price> <p_drg_amount>decimal</p_drg_amount> <p_aqcizi_amount>decimal</p_aqcizi_amount> <p_user_id>int</p_user_id> <p_aqcizi_id>string</p_aqcizi_id> <p_aqcizi_rate>decimal</p_aqcizi_rate> <p_dgg_rate>decimal</p_dgg_rate> <p_g_number_alt>decimal</p_g_number_alt> <p_good_id>int</p_good_id> <p_drg_type>int</p_drg_type> </save_invoice_desc_n> </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> <save_invoice_desc_nResponse xmlns="http://tempuri.org/"> <save_invoice_desc_nResult>boolean</save_invoice_desc_nResult> <id>int</id> </save_invoice_desc_nResponse> </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 /specinvoices/SpecInvoicesService.asmx HTTP/1.1 Host: webserv.rs.ge 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> <save_invoice_desc_n xmlns="http://tempuri.org/"> <user_id>int</user_id> <id>int</id> <su>string</su> <sp>string</sp> <p_inv_id>int</p_inv_id> <p_goods>string</p_goods> <p_g_unit>string</p_g_unit> <p_g_number>decimal</p_g_number> <p_un_price>decimal</p_un_price> <p_drg_amount>decimal</p_drg_amount> <p_aqcizi_amount>decimal</p_aqcizi_amount> <p_user_id>int</p_user_id> <p_aqcizi_id>string</p_aqcizi_id> <p_aqcizi_rate>decimal</p_aqcizi_rate> <p_dgg_rate>decimal</p_dgg_rate> <p_g_number_alt>decimal</p_g_number_alt> <p_good_id>int</p_good_id> <p_drg_type>int</p_drg_type> </save_invoice_desc_n> </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> <save_invoice_desc_nResponse xmlns="http://tempuri.org/"> <save_invoice_desc_nResult>boolean</save_invoice_desc_nResult> <id>int</id> </save_invoice_desc_nResponse> </soap12:Body> </soap12:Envelope>