BokaMera.API.Host

<back to all web services

EAccountingArticleQuery

The following routes are available for this service:
GET/eaccounting/articles
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class EAccountingArticleQuery : ICompany
{
    override var CompanyId:UUID? = null
}

open class EAccountingArticleQueryResponse : BaseArticleDto()
{
    open var UnitId:String? = null
    open var CodingId:String? = null
    open var VatRate:String? = null
    open var VatRatePercent:String? = null
    open var CurrencySign:String? = null
}

open class BaseArticleDto
{
    open var ArticleId:UUID? = null
    open var ArticlePrice:BigDecimal? = null
    open var ArticleName:String? = null
    open var CreatedDate:Date? = null
}

Kotlin EAccountingArticleQuery DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /eaccounting/articles HTTP/1.1 
Host: api.bookmore.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"UnitId":"String","CodingId":"String","VatRate":"String","VatRatePercent":"String","CurrencySign":"String","ArticlePrice":0,"ArticleName":"String"}