Exemplo n.º 1
0
 /// <summary>
 /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/update">Invoices Update</a> Method
 /// </summary>
 public static void Update(string apiKey, string accountName, int invoiceId, InvoiceDto inputData)
 {
     Rest_Update(apiKey, accountName, invoiceId, inputData.XmlSerializeToString());
 }
Exemplo n.º 2
0
            /// <summary>
            /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/create">Invoices Create</a> Method
            /// </summary>
            public static InvoiceDto Create(string apiKey, string accountName, InvoiceDto inputData)
            {
                HttpResponseInfo result = Rest_Create(apiKey, accountName, inputData.XmlSerializeToString());

                return(result.Text.DeserializeXml <InvoiceDto>());
            }